new_naweigete/crmeb/public/admin/dist/system_static/js/chunk-612375e0.5b4955a8.js
2025-03-13 09:24:48 +08:00

1 line
16 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-612375e0"],{"4e82":function(t,e,n){var r=n("23e7"),o=n("e330"),u=n("59ed"),c=n("7b0b"),a=n("07fa"),i=n("083a"),s=n("577e"),l=n("d039"),d=n("addb"),f=n("a640"),m=n("3f7e"),h=n("99f4"),g=n("1212"),p=n("ea83"),b=[],v=o(b.sort),j=o(b.push),O=(n=l((function(){b.sort(void 0)})),o=l((function(){b.sort(null)})),f=f("sort"),!l((function(){if(g)return g<70;if(!(m&&3<m)){if(h)return!0;if(p)return p<603;for(var t,e,n,r="",o=65;o<76;o++){switch(t=String.fromCharCode(o),o){case 66:case 69:case 70:case 72:e=3;break;case 68:case 71:e=4;break;default:e=2}for(n=0;n<47;n++)b.push({k:t+n,v:e})}for(b.sort((function(t,e){return e.v-t.v})),n=0;n<b.length;n++)t=b[n].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}})));r({target:"Array",proto:!0,forced:n||!o||!f||!O},{sort:function(t){void 0!==t&&u(t);var e=c(this);if(O)return void 0===t?v(e):v(e,t);for(var n,r,o=[],l=a(e),f=0;f<l;f++)f in e&&j(o,e[f]);for(d(o,(r=t,function(t,e){return void 0===e?-1:void 0===t?1:void 0!==r?+r(t,e)||0:s(t)>s(e)?1:-1})),n=a(o),f=0;f<n;)e[f]=o[f++];for(;f<l;)i(e,f++);return e}})},5115:function(t,e,n){n("7387")},7387:function(t,e,n){},"90e7":function(t,e,n){n.d(e,"u",(function(){return u})),n.d(e,"k",(function(){return c})),n.d(e,"tb",(function(){return a})),n.d(e,"sb",(function(){return i})),n.d(e,"j",(function(){return s})),n.d(e,"db",(function(){return l})),n.d(e,"xb",(function(){return d})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return m})),n.d(e,"T",(function(){return h})),n.d(e,"cb",(function(){return g})),n.d(e,"ib",(function(){return p})),n.d(e,"A",(function(){return b})),n.d(e,"m",(function(){return v})),n.d(e,"eb",(function(){return j})),n.d(e,"n",(function(){return O})),n.d(e,"hb",(function(){return _})),n.d(e,"gb",(function(){return w})),n.d(e,"fb",(function(){return y})),n.d(e,"jb",(function(){return k})),n.d(e,"lb",(function(){return x})),n.d(e,"Q",(function(){return F})),n.d(e,"mb",(function(){return $})),n.d(e,"r",(function(){return S})),n.d(e,"p",(function(){return E})),n.d(e,"q",(function(){return L})),n.d(e,"s",(function(){return T})),n.d(e,"t",(function(){return C})),n.d(e,"W",(function(){return G})),n.d(e,"X",(function(){return W})),n.d(e,"U",(function(){return D})),n.d(e,"V",(function(){return A})),n.d(e,"P",(function(){return I})),n.d(e,"z",(function(){return P})),n.d(e,"D",(function(){return U})),n.d(e,"C",(function(){return q})),n.d(e,"w",(function(){return B})),n.d(e,"E",(function(){return J})),n.d(e,"y",(function(){return M})),n.d(e,"B",(function(){return z})),n.d(e,"x",(function(){return H})),n.d(e,"v",(function(){return K})),n.d(e,"O",(function(){return N})),n.d(e,"h",(function(){return Q})),n.d(e,"e",(function(){return R})),n.d(e,"f",(function(){return V})),n.d(e,"ub",(function(){return X})),n.d(e,"vb",(function(){return Y})),n.d(e,"wb",(function(){return Z})),n.d(e,"kb",(function(){return tt})),n.d(e,"g",(function(){return et})),n.d(e,"nb",(function(){return nt})),n.d(e,"qb",(function(){return rt})),n.d(e,"a",(function(){return ot})),n.d(e,"b",(function(){return ut})),n.d(e,"ob",(function(){return ct})),n.d(e,"rb",(function(){return at})),n.d(e,"pb",(function(){return it})),n.d(e,"l",(function(){return st})),n.d(e,"R",(function(){return lt})),n.d(e,"S",(function(){return dt})),n.d(e,"Y",(function(){return ft})),n.d(e,"M",(function(){return mt})),n.d(e,"L",(function(){return ht})),n.d(e,"G",(function(){return gt})),n.d(e,"F",(function(){return pt})),n.d(e,"H",(function(){return bt})),n.d(e,"K",(function(){return vt})),n.d(e,"J",(function(){return jt})),n.d(e,"N",(function(){return Ot})),n.d(e,"I",(function(){return _t})),n.d(e,"i",(function(){return wt})),n.d(e,"bb",(function(){return yt})),n.d(e,"ab",(function(){return kt})),n.d(e,"o",(function(){return xt})),n.d(e,"Z",(function(){return Ft})),n("99af");var r=n("6b6c"),o=n("c276");function u(t){return Object(r.a)({url:"setting/config/header_basics",method:"get",params:t})}function c(t,e){return Object(r.a)({url:e,method:"get",params:t})}function a(t){return Object(r.a)({url:t.url,method:"get",params:t.data})}function i(){return Object(r.a)({url:"notify/sms/temp/create",method:"get"})}function s(t){return Object(r.a)({url:"serve/login",method:"post",data:t})}function l(t){return Object(r.a)({url:"serve/modify",method:"post",data:t})}function d(t){return Object(r.a)({url:"serve/update_phone",method:"post",data:t})}function f(t){return Object(r.a)({url:"serve/captcha",method:"post",data:t})}function m(t){return Object(r.a)({url:"serve/checkCode",method:"post",data:t})}function h(t){return Object(r.a)({url:"serve/register",method:"post",data:t})}function g(){return Object(r.a)({url:"serve/info",method:"get"})}function p(t){return Object(r.a)({url:"serve/sms/sign",method:"PUT",data:t})}function b(t){return Object(r.a)({url:"app/wechat/kefu/login/".concat(t),method:"get"})}function v(){return Object(r.a)({url:"serve/export_all",method:"get"})}function j(){return Object(r.a)({url:"serve/open",method:"get"})}function O(t){return Object(r.a)({url:"serve/export_temp",method:"get",params:t})}function _(t){return Object(r.a)({url:"serve/record",method:"get",params:t})}function w(t){return Object(r.a)({url:"serve/open",method:"get",params:t})}function y(t){return Object(r.a)({url:"serve/opn_express",method:"post",data:t})}function k(t){return Object(r.a)({url:"serve/sms/open",method:"get",params:t})}function x(t){return Object(r.a)({url:"serve/meal_list",method:"get",params:t})}function F(t){return Object(r.a)({url:"serve/pay_meal",method:"post",data:t})}function $(t){return Object(r.a)({url:"notify/sms/record",method:"get",params:t})}function S(t){return Object(r.a)({url:"freight/express",method:"get",params:t})}function E(){return Object(r.a)({url:"/freight/express/create",method:"get"})}function L(t){return Object(r.a)({url:"freight/express/".concat(t,"/edit"),method:"get"})}function T(t){return Object(r.a)({url:"freight/express/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function C(){return Object(r.a)({url:"freight/express/sync_express",method:"get"})}function G(t){return Object(r.a)({url:"setting/role",method:"GET",params:t})}function W(t){return Object(r.a)({url:"setting/role/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function D(t){return Object(r.a)({url:"setting/role/".concat(t.id),method:"post",data:t})}function A(t){return Object(r.a)({url:"setting/role/".concat(t,"/edit"),method:"get"})}function I(){return Object(r.a)({url:"setting/role/create",method:"get"})}function P(t){return Object(r.a)({url:"app/wechat/kefu",method:"get",params:t})}function U(t){return Object(r.a)({url:"app/wechat/kefu/create",method:"get",params:t})}function q(){return Object(r.a)({url:"app/wechat/kefu/add",method:"get"})}function B(t){return Object(r.a)({url:"app/wechat/kefu",method:"post",data:t})}function J(t){return Object(r.a)({url:"app/wechat/kefu/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function M(t){return Object(r.a)({url:"app/wechat/kefu/".concat(t,"/edit"),method:"GET"})}function z(t,e){return Object(r.a)({url:"app/wechat/kefu/record/".concat(e),method:"GET",params:t})}function H(t){return Object(r.a)({url:"app/wechat/kefu/chat_list",method:"GET",params:t})}function K(){return Object(r.a)({url:"notify/sms/is_login",method:"GET"})}function N(){return Object(r.a)({url:"notify/sms/logout",method:"GET"})}function Q(t){return Object(r.a)({url:"setting/city/list/".concat(t),method:"get"})}function R(t){return Object(r.a)({url:"setting/city/add/".concat(t),method:"get"})}function V(t){return Object(r.a)({url:"setting/city/".concat(t,"/edit"),method:"get"})}function X(t){return Object(r.a)({url:"setting/shipping_templates/list",method:"get",params:t})}function Y(t){return Object(r.a)({url:"setting/shipping_templates/city_list",method:"get"})}function Z(t,e){return Object(r.a)({url:"setting/shipping_templates/save/".concat(t),method:"post",data:e})}function tt(t){return Object(r.a)({url:"setting/shipping_templates/".concat(t,"/edit"),method:"get"})}function et(){return Object(r.a)({url:"setting/city/clean_cache",method:"get"})}function nt(){return Object(r.a)({url:"system/config/storage/config",method:"get"})}function rt(t){return Object(r.a)({url:"system/config/storage/config",method:"post",data:t})}function ot(t){return Object(r.a)({url:"system/config/storage/form/".concat(t),method:"get"})}function ut(t){return Object(r.a)({url:"system/config/storage/create/".concat(t),method:"get"})}function ct(t){return Object(r.a)({url:"system/config/storage",method:"get",params:t})}function at(t){return Object(r.a)({url:"system/config/storage/synch/".concat(t),method:"put"})}function it(t){return Object(r.a)({url:"system/config/storage/status/".concat(t),method:"put"})}function st(t){return Object(r.a)({url:"system/config/storage/domain/".concat(t),method:"get"})}function lt(){return Object(r.a)({url:"setting/config_list/31",method:"get"})}function dt(t){return Object(r.a)({url:"setting/config/save_basics",method:"post",data:t})}function ft(t){return Object(r.a)({url:"system/config/storage/save_type/".concat(t),method:"get"})}function mt(t){return Object(r.a)({url:"setting/lang_type/list",method:"get",params:t})}function ht(t){return Object(r.a)({url:"setting/lang_type/form/".concat(t),method:"get"})}function gt(t){return Object(r.a)({url:"setting/lang_code/list",method:"get",params:t})}function pt(t){return Object(r.a)({url:"setting/lang_code/info",method:"get",params:t})}function bt(t){return Object(r.a)({url:"setting/lang_code/save",method:"post",data:t})}function vt(t){return Object(r.a)({url:"setting/lang_country/list",method:"get",params:t})}function jt(t){return Object(r.a)({url:"setting/lang_country/form/".concat(t),method:"get"})}function Ot(t,e){return Object(r.a)({url:"setting/lang_type/status/".concat(t,"/").concat(e),method:"put"})}function _t(t){return Object(r.a)({url:"setting/lang_code/translate",method:"post",data:t})}function wt(t){return Object(r.a)({url:"system/crud",method:"post",data:t})}function yt(t){return Object(r.a)({url:"file/scan_upload/qrcode?pid=".concat(t),method:"get"})}function kt(t){return Object(r.a)({url:"file/scan_upload/image/".concat(t),method:"get"})}function xt(t){return Object(r.a)({url:"file/upload",method:"post",headers:{"Authori-zation":"Bearer "+Object(o.c)("token"),"content-type":"multipart/form-data;Bearer "+Object(o.c)("token")},data:t})}function Ft(t){return Object(r.a)({url:"image/scan_upload",method:"post",headers:{"content-type":"multipart/form-data;"},data:t})}},"9a71":function(t,e,n){n.r(e),n("4e82"),n("b0c0");var r=n("c7eb"),o=n("1da1"),u=n("5530"),c=(n("a434"),n("2f62")),a=n("90e7");u={name:"user_level",data:function(){return{grid:{xl:7,lg:7,md:12,sm:24,xs:24},loading:!1,columns1:[{title:"ID",key:"id",width:80},{title:"物流公司名称",key:"name",minWidth:100},{title:"编码",key:"code",minWidth:120},{title:"排序",key:"sort",sortable:!0,minWidth:100},{title:"是否显示",slot:"is_shows",minWidth:120},{title:"操作",slot:"action",fixed:"right",minWidth:120}],levelFrom:{keyword:"",is_show:"",page:1,limit:20},levelLists:[],total:0,FromData:null}},created:function(){this.getList()},computed:Object(u.a)(Object(u.a)({},Object(c.c)("media",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:"80px"},labelPosition:function(){return this.isMobile?"top":"right"}}),methods:{del:function(t,e,n){var r=this;e={title:e,num:n,url:"freight/express/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){r.$message.success(t.msg),r.levelLists.splice(n,1)})).catch((function(t){r.$message.error(t.msg)}))},onchangeIsShow:function(t){var e=this;t={id:t.id,status:t.is_show};Object(a.s)(t).then((()=>{var t=Object(o.a)(Object(r.a)().mark((function t(n){return Object(r.a)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.$message.success(n.msg);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}})()).catch((function(t){e.$message.error(t.msg)}))},getList:function(){var t=this;this.loading=!0,Object(a.r)(this.levelFrom).then((()=>{var e=Object(o.a)(Object(r.a)().mark((function e(n){var o;return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=n.data,t.levelLists=o.list,t.total=o.count,t.loading=!1;case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.loading=!1,t.$message.error(e.msg)}))},add:function(){var t=this;this.$modalForm(Object(a.p)()).then((function(){return t.getList()}))},edit:function(t){var e=this;this.$modalForm(Object(a.q)(t.id)).then((function(){return e.getList()}))},userSearchs:function(){this.levelFrom.page=1,this.getList()},syncExpress:function(){var t=this;Object(a.t)().then((()=>{var e=Object(o.a)(Object(r.a)().mark((function e(n){return Object(r.a)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$message.success(n.msg),t.getList();case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}})()).catch((function(e){t.$message.error(e.msg)}))}}},n("5115"),c=n("2877"),n=Object(c.a)(u,(function(){var t=this,e=t._self._c;return e("div",[e("el-card",{staticClass:"ivu-mb-16",attrs:{bordered:!1,shadow:"never","body-style":{padding:0}}},[e("div",{staticClass:"padding-add"},[e("el-form",{ref:"levelFrom",attrs:{model:t.levelFrom,"label-width":t.labelWidth,"label-position":"right",inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[e("el-form-item",{attrs:{label:"是否显示:"}},[e("el-select",{staticClass:"form_content_width",attrs:{placeholder:"请选择",clearable:""},on:{change:t.userSearchs},model:{value:t.levelFrom.is_show,callback:function(e){t.$set(t.levelFrom,"is_show",e)},expression:"levelFrom.is_show"}},[e("el-option",{attrs:{value:"",label:"全部"}}),e("el-option",{attrs:{value:"1",label:"显示"}}),e("el-option",{attrs:{value:"0",label:"不显示"}})],1)],1),e("el-form-item",{attrs:{label:"搜索:","label-for":"keyword"}},[e("el-input",{attrs:{placeholder:"请输入物流公司名称或者编码"},model:{value:t.levelFrom.keyword,callback:function(e){t.$set(t.levelFrom,"keyword",e)},expression:"levelFrom.keyword"}})],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("查询")])],1)],1)],1)]),e("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[e("el-button",{attrs:{type:"primary"},on:{click:t.syncExpress}},[t._v("同步物流公司")]),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],ref:"table",staticClass:"mt14",attrs:{data:t.levelLists,"no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"}},[e("el-table-column",{attrs:{label:"ID",width:"80"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.id))])]}}])}),e("el-table-column",{attrs:{label:"物流公司名称","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.name))])]}}])}),e("el-table-column",{attrs:{label:"编码","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.code))])]}}])}),e("el-table-column",{attrs:{label:"排序","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.sort))])]}}])}),e("el-table-column",{attrs:{label:"是否显示","min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("el-switch",{attrs:{"active-value":1,"inactive-value":0,value:n.row.is_show,size:"large"},on:{change:function(e){return t.onchangeIsShow(n.row)}},model:{value:n.row.is_show,callback:function(e){t.$set(n.row,"is_show",e)},expression:"scope.row.is_show"}})]}}])}),e("el-table-column",{attrs:{label:"操作",fixed:"right",width:"80"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("a",{on:{click:function(e){return t.edit(n.row)}}},[t._v("编辑")])]}}])})],1),e("div",{staticClass:"acea-row row-right page"},[t.total?e("pagination",{attrs:{total:t.total,page:t.levelFrom.page,limit:t.levelFrom.limit},on:{"update:page":function(e){return t.$set(t.levelFrom,"page",e)},"update:limit":function(e){return t.$set(t.levelFrom,"limit",e)},pagination:t.getList}}):t._e()],1)],1)],1)}),[],!1,null,"22f1bfe6",null);e.default=n.exports}}]);