徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
45 KiB

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-438727a6"],{"0cd0":function(t,e,r){},"0d56":function(t,e,r){"use strict";r("f49f")},"0fae":function(t,e,r){},"36af":function(t,e,r){},5334:function(t,e,r){"use strict";r("0fae");var n=r("2f62"),i=r("90e7");function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){s(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function s(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=a(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==a(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u={name:"city",props:{type:{type:Number,default:0},selectArr:{type:Array,default:[]}},data:function(){return{iSselect:!1,addressModal:!1,cityList:[],activeCity:-1,loading:!1}},computed:c(c({},Object(n.e)("admin/layout",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:120},labelPosition:function(){return this.isMobile?"top":"right"}}),methods:{enter:function(t){this.activeCity=t},leave:function(){this.activeCity=null},getCityList:function(){var t=this;this.loading=!0,Object(i.yb)().then((function(e){t.loading=!1,e.data.forEach((function(e,r,n){e.isShow=!0,e.children.forEach((function(e,r){e.isShow=!0,t.selectArr.length>0&&t.selectArr.forEach((function(t,r){t.children.forEach((function(t,r){e.city_id==t.city_id&&(e.isShow=!1)}))}))}))})),e.data.forEach((function(t,e,r){var n=0,i=0;t.children.forEach((function(t,e){t.isShow?i++:n++})),n==t.children.length&&(t.isShow=!1),t.childNum=i})),t.cityList=e.data}))},allCheckbox:function(){var t=this,e=this.iSselect;t.cityList.forEach((function(r,n){t.$set(t.cityList[n],"checked",e),e?t.$set(t.cityList[n],"count",t.cityList[n].children.length):t.$set(t.cityList[n],"count",0),t.cityList[n].children.forEach((function(r,i){t.$set(t.cityList[n].children[i],"checked",e)}))}))},empty:function(){var t=this;t.cityList.forEach((function(e,r){t.$set(t.cityList[r],"checked",!1),t.cityList[r].children.forEach((function(e,n){t.$set(t.cityList[r].children[n],"checked",!1)})),t.$set(t.cityList[r],"count",0)})),this.iSselect=!1},checkedClick:function(t){var e=this;e.cityList[t].checked?(e.$set(e.cityList[t],"count",e.cityList[t].childNum),e.cityList[t].children.forEach((function(r,n){e.$set(e.cityList[t].children[n],"checked",!0)}))):(e.$set(e.cityList[t],"count",0),e.$set(e.cityList[t],"checked",!1),e.cityList[t].children.forEach((function(r,n){e.$set(e.cityList[t].children[n],"checked",!1)})),e.iSselect=!1)},primary:function(t,e){var r=!1,n=0;this.cityList[t].children.forEach((function(t,e){t.checked&&(r=!0,n++)})),this.$set(this.cityList[t],"count",n),this.$set(this.cityList[t],"checked",r)},confirm:function(){var t=this,e=[];if(t.cityList.forEach((function(r,n){var i={};r.checked&&(i={name:r.name,city_id:r.city_id,children:[]}),t.cityList[n].children.forEach((function(t,e){t.checked&&i.children.push({city_id:t.city_id})})),void 0!==i.city_id&&e.push(i)})),0===e.length)return t.$Message.error("至少选择一个省份或者城市");this.$emit("selectCity",e,this.type),t.addressModal=!1,this.cityList=[]},close:function(){this.addressModal=!1,this.cityList=[]}},mounted:function(){}},l=(r("0d56"),r("2877"));function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var a=e&&e.prototype instanceof g?e:g,o=Object.create(a.prototype),c=new P(n||[]);return i(o,"_invoke",{value:S(t,r,c)}),o}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",m="suspendedYield",y="executing",b="completed",v={};function g(){}function _(){}function w(){}var j={};u(j,o,(function(){return this}));var k=Object.getPrototypeOf,O=k&&k(k(T([])));O&&O!==r&&n.call(O,o)&&(j=O);var x=w.prototype=g.prototype=Object.create(j);function L(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){function r(i,a,o,c){var s=d(t[i],t,a);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==f(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,o,c)}),(function(t){r("throw",t,o,c)})):e.resolve(l).then((function(t){u.value=t,o(u)}),(function(t){return r("throw",t,o,c)}))}c(s.arg)}var a;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return a=a?a.then(i,i):i()}})}function S(e,r,n){var i=h;return function(a,o){if(i===y)throw Error("Generator is already running");if(i===b){if("throw"===a)throw o;return{value:t,done:!0}}for(n.method=a,n.arg=o;;){var c=n.delegate;if(c){var s=E(c,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===h)throw i=b,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=y;var u=d(e,r,n);if("normal"===u.type){if(i=n.done?b:m,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i=b,n.method="throw",n.arg=u.arg)}}}function E(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,E(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=d(i,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,v;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function $(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function D(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach($,this),this.reset(!0)}function T(e){if(e||""===e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(f(e)+" is not iterable")}return _.prototype=w,i(x,"constructor",{value:w,configurable:!0}),i(w,"constructor",{value:_,configurable:!0}),_.displayName=u(w,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,u(t,s,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},L(C.prototype),u(C.prototype,c,(function(){return this})),e.AsyncIterator=C,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new C(l(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},L(x),u(x,s,"Generator"),u(x,o,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=T,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(D),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return c.type="throw",c.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],c=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=n.call(o,"catchLoc"),u=n.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),D(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;D(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function d(t){return function(t){if(Array.isArray(t))return h(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function m(t,e,r,n,i,a,o){try{var c=t[a](o),s=c.value}catch(t){return void r(t)}c.done?e(s):Promise.resolve(s).then(n,i)}function y(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var a=t.apply(e,r);function o(t){m(a,n,i,o,c,"next",t)}function c(t){m(a,n,i,o,c,"throw",t)}o(void 0)}))}}Object(l.a)(u,(function(){var t=this,e=t._self._c;return e("div",[e("Modal",{staticClass:"modal",attrs:{title:"选择可配送区域",width:"50%",mask:!0},model:{value:t.addressModal,callback:function(e){t.addressModal=e},expression:"addressModal"}},[e("Row",{attrs:{gutter:24,type:"flex"}},[e("Col",{staticClass:"item",attrs:{xl:24,lg:24,md:24,sm:24,xs:24}},[e("div",{staticClass:"acea-row row-right row-middle"},[e("Checkbox",{on:{"on-change":t.allCheckbox},model:{value:t.iSselect,callback:function(e){t.iSselect=e},expression:"iSselect"}},[t._v("全选")]),e("div",{staticClass:"empty",on:{click:t.empty}},[t._v("清空")])],1)])],1),e("Row",{attrs:{gutter:24,type:"flex",loading:t.loading}},t._l(t.cityList,(function(r,n){return r.isShow?e("Col",{key:n,staticClass:"item",attrs:{xl:6,lg:6,md:6,sm:8,xs:6}},[e("div",{on:{mouseenter:function(e){return t.enter(n)},mouseleave:function(e){return t.leave()}}},[e("Checkbox",{attrs:{label:r.name},on:{"on-change":function(e){return t.checkedClick(n)}},model:{value:r.checked,callback:function(e){t.$set(r,"checked",e)},expression:"item.checked"}},[t._v(t._s(r.name))]),e("span",{staticClass:"red"},[t._v("("+t._s((r.count||0)+"/"+r.childNum)+")")]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.activeCity===n,expression:"activeCity===index"}],staticClass:"city"},[e("div",{staticClass:"checkBox"},[e("div",{staticClass:"arrow"}),e("div",t._l(r.children,(function(r,i){return e("Checkbox",{directives:[{name:"show",rawName:"v-show",value:r.isShow,expression:"city.isShow"}],key:i,staticClass:"itemn",attrs:{label:r.name},on:{"on-change":function(e){return t.primary(n,i)}},model:{value:r.checked,callback:function(e){t.$set(r,"checked",e)},expression:"city.checked"}},[t._v(t._s(r.name))])})),1)])])],1)]):t._e()})),1),e("div",{attrs:{slot:"footer"},slot:"footer"},[e("Button",{on:{click:t.close}},[t._v("取消")]),e("Button",{attrs:{type:"primary"},on:{click:t.confirm}},[t._v("确定")])],1),t.loading?e("Spin",{attrs:{size:"large",fix:""}}):t._e()],1)],1)}),[],!1,null,"045af22c",null).exports;var b={props:{value:{type:Array,default:function(){return[]}},separator:{type:String,default:"/"},placeholder:{type:String,default:"请选择"},width:{type:String,default:"400px"},filterable:Boolean,clearable:Boolean,disabled:Boolean,props:{type:Object,default:function(){return{}}},suggestionsPopperClass:{type:String,default:"suggestions-popper-class"},searchWidth:{type:String},searchEmptyText:{type:String,default:"暂无数据"}},data:function(){return{isSearchEmpty:!1,keyword:"",options:[],current:[],labelObject:{label:[],value:[]},labelArray:[],currentProps:{multiple:this.props.multiple,checkStrictly:this.props.checkStrictly,value:this.props.value,label:this.props.label,leaf:this.props.leaf,lazy:!0,lazyLoad:this.lazyLoad}}},computed:{placeholderVisible:function(){return!this.current||0==this.current.length}},watch:{current:function(){this.getLabelArray()},value:function(t){this.current=t},keyword:function(){this.isSearchEmpty=!1}},created:function(){this.initOptions()},methods:{isChecked:function(t){return this.props.multiple?this.current.findIndex((function(e){return e.join()==t.join()}))>-1?"el-link el-link--primary":"":t.join()==this.current.join()?"el-link el-link--primary":""},querySearch:function(t,e){var r=this;this.props.lazySearch(t,(function(t){e(t),t&&t.length||(r.isSearchEmpty=!0)}))},handleSelect:function(t){var e=this;this.props.multiple?-1==this.current.findIndex((function(r){return r.join()==t[e.props.value].join()}))&&(this.$refs.panel.clearCheckedNodes(),this.current.push(t[this.props.value]),this.$emit("change",this.current)):null!=this.current&&t[this.props.value].join()===this.current.join()||(this.$refs.panel.activePath=[],this.current=t[this.props.value],this.$emit("change",this.current)),this.keyword=""},initOptions:function(){var t=y(p().mark((function t(){var e=this;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.props.lazyLoad(0,(function(t){e.$set(e,"options",t),e.props.multiple?e.current=d(e.value):e.current=e.value}));case 1:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),getLabelArray:function(){var t=y(p().mark((function t(){var e,r,n,i=this;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.props.multiple){t.next=16;break}e=[],r=0;case 3:if(!(r<this.current.length)){t.next=11;break}return t.next=6,this.getObject(this.current[r]);case 6:n=t.sent,e.push(n);case 8:r++,t.next=3;break;case 11:this.labelArray=e,this.$emit("input",this.current),this.disabled||this.$nextTick((function(){i.$refs.popover.updatePopper()})),t.next=20;break;case 16:return t.next=18,this.getObject(this.current||[]);case 18:this.labelObject=t.sent,this.$emit("input",this.current);case 20:case"end":return t.stop()}}),t,this)})));return function(){return t.apply(this,arguments)}}(),getObject:function(){var t=y(p().mark((function t(e){var r,n,i,a,o=this;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:t.prev=0,r=this.options,n=[],i=p().mark((function t(i){var a,c;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!((a=r.findIndex((function(t){return t[o.props.value]==e[i]})))<0)){t.next=3;break}return t.abrupt("return",1);case 3:if(n.push(r[a][o.props.label]),!(i<e.length-1)||r[a].children.length){t.next=15;break}return c=new Promise((function(t){o.props.lazyLoad(e[i],(function(e){t(e)}))})),t.t0=o,t.t1=r[a],t.next=10,c;case 10:t.t2=t.sent,t.t0.$set.call(t.t0,t.t1,"children",t.t2),r=r[a].children,t.next=16;break;case 15:r=r[a].children;case 16:case"end":return t.stop()}}),t)})),a=0;case 5:if(!(a<e.length)){t.next=12;break}return t.delegateYield(i(a),"t0",7);case 7:if(!t.t0){t.next=9;break}return t.abrupt("continue",9);case 9:a++,t.next=5;break;case 12:return t.abrupt("return",{value:e,label:n});case 15:return t.prev=15,t.t1=t.catch(0),this.current=[],t.abrupt("return",{value:[],label:[]});case 19:case"end":return t.stop()}}),t,this,[[0,15]])})));return function(e){return t.apply(this,arguments)}}(),lazyLoad:function(){var t=y(p().mark((function t(e,r){var n,i=this;return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=this.current,this.props.multiple&&(n=d(this.current)),e.root||e.data[this.props.leaf]?r():e.data.children&&e.data.children.length?(this.props.multiple&&(this.current=n),r()):this.props.lazyLoad(e.value,(function(t){e.data.children=t,i.props.multiple&&(i.current=n),r(t)}));case 3:case"end":return t.stop()}}),t,this)})));return function(e,r){return t.apply(this,arguments)}}(),handleClose:function(t){var e=this.current.findIndex((function(e){return e.join()==t.value.join()}));e>-1&&(this.$refs.panel.clearCheckedNodes(),this.current.splice(e,1),this.$emit("change",this.current))},clearBtnClick:function(){this.$refs.panel.clearCheckedNodes(),this.current=[],this.$emit("change",this.current)},change:function(){this.$emit("change",this.current)}}};function v(t){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t){return function(t){if(Array.isArray(t))return _(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return _(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach((function(e){k(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function k(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=v(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=v(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==v(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r("53bc");var O={},x={name:"freightTemplate",components:{LazyCascader:Object(l.a)(b,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"lazy-cascader",style:{width:t.width}},[t.disabled?e("div",{staticClass:"el-input__inner lazy-cascader-input lazy-cascader-input-disabled"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.placeholderVisible,expression:"placeholderVisible"}],staticClass:"lazy-cascader-placeholder"},[t._v("\n "+t._s(t.placeholder)+"\n ")]),t.props.multiple?e("div",{staticClass:"lazy-cascader-tags"},t._l(t.labelArray,(function(r,n){return e("el-tag",{key:n,staticClass:"lazy-cascader-tag",attrs:{type:"info","disable-transitions":"",closable:""}},[e("span",[t._v(" "+t._s(r.label.join(t.separator)))])])})),1):e("div",{staticClass:"lazy-cascader-label"},[e("el-tooltip",{attrs:{placement:"top-start",content:t.labelObject.label.join(t.separator)}},[e("span",[t._v(t._s(t.labelObject.label.join(t.separator)))])])],1)]):e("el-popover",{ref:"popover",attrs:{trigger:"click",placement:"bottom-start"}},[e("div",{staticClass:"lazy-cascader-search"},[t.filterable?e("el-autocomplete",{staticClass:"inline-input",style:{width:t.searchWidth||"100%"},attrs:{"popper-class":t.suggestionsPopperClass,"prefix-icon":"el-icon-search",label:"name","fetch-suggestions":t.querySearch,"trigger-on-focus":!1,placeholder:"请输入"},on:{select:t.handleSelect,blur:function(e){t.isSearchEmpty=!1}},scopedSlots:t._u([{key:"default",fn:function(r){var n=r.item;return[e("div",{staticClass:"name",class:t.isChecked(n[t.props.value])},[t._v("\n "+t._s(n[t.props.label].join(t.separator))+"\n ")])]}}],null,!1,3481993904),model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isSearchEmpty,expression:"isSearchEmpty"}],staticClass:"empty"},[t._v(t._s(t.searchEmptyText))])],1),e("div",{staticClass:"lazy-cascader-panel"},[e("el-cascader-panel",{ref:"panel",attrs:{options:t.options,props:t.currentProps},on:{change:t.change},model:{value:t.current,callback:function(e){t.current=e},expression:"current"}})],1),e("div",{staticClass:"el-input__inner lazy-cascader-input",class:t.disabled?"lazy-cascader-input-disabled":"",attrs:{slot:"reference"},slot:"reference"},[e("span",{directives:[{name:"show",rawName:"v-show",value:t.placeholderVisible,expression:"placeholderVisible"}],staticClass:"lazy-cascader-placeholder"},[t._v("\n "+t._s(t.placeholder)+"\n ")]),t.props.multiple?e("div",{staticClass:"lazy-cascader-tags"},t._l(t.labelArray,(function(r,n){return e("el-tag",{key:n,staticClass:"lazy-cascader-tag",attrs:{type:"info",size:"small","disable-transitions":"",closable:""},on:{close:function(e){return t.handleClose(r)}}},[e("span",[t._v(" "+t._s(r.label.join(t.separator)))])])})),1):e("div",{staticClass:"lazy-cascader-label"},[e("el-tooltip",{attrs:{placement:"top-start",content:t.labelObject.label.join(t.separator)}},[e("span",[t._v(t._s(t.labelObject.label.join(t.separator)))])])],1),t.clearable&&t.current.length>0?e("span",{staticClass:"lazy-cascader-clear",on:{click:function(e){return e.stopPropagation(),t.clearBtnClick.apply(null,arguments)}}},[e("i",{staticClass:"el-icon-close"})]):t._e()])])],1)}),[],!1,null,null,null).exports},props:{merchantType:{type:Number,default:0}},data:function(){var t=this;return{props:{children:"children",label:"label",value:"value",multiple:!0,lazy:!0,lazyLoad:this.lazyLoad,checkStrictly:!0},isTemplate:!1,columns:[{title:"可配送区域",slot:"regionName",minWidth:200},{title:"首件",key:"first",minWidth:70,render:function(e,r){return e("Input",{props:{type:"number",value:t.templateList[r.index].first},on:{"on-change":function(e){t.templateList[r.index].first=e.target.value}}})}},{title:"运费(元)",key:"price",minWidth:70,render:function(e,r){return e("Input",{props:{type:"number",value:t.templateList[r.index].first_price},on:{"on-change":function(e){t.templateList[r.index].first_price=e.target.value}}})}},{title:"续件",key:"continue",minWidth:70,render:function(e,r){return e("Input",{props:{type:"number",value:t.templateList[r.index].continue},on:{"on-change":function(e){t.templateList[r.index].continue=e.target.value}}})}},{title:"续费(元)",key:"continue_price",minWidth:70,render:function(e,r){return e("Input",{props:{type:"number",value:t.templateList[r.index].continue_price},on:{"on-change":function(e){t.templateList[r.index].continue_price=e.target.value}}})}},{title:"操作",slot:"action",minWidth:70}],columns2:[{title:"选择地区",slot:"placeName",minWidth:250},{title:"包邮件数",key:"number",minWidth:100,render:function(e,r){return e("Input",{props:{type:"number",value:t.appointList[r.index].number},on:{"on-change":function(e){t.appointList[r.index].number=e.target.value}}})}},{title:"包邮金额(元)",key:"price",minWidth:100,render:function(e,r){return e("Input",{props:{type:"number",value:t.appointList[r.index].price},on:{"on-change":function(e){t.appointList[r.index].price=e.target.value}}})}},{title:"操作",slot:"action",minWidth:100}],columns3:[{title:"选择地区",slot:"placeName",minWidth:250},{title:"操作",slot:"action",minWidth:100}],templateList:[{first:1,first_price:0,continue:1,continue_price:0,city_ids:[[0]]}],appointList:[],noDeliveryList:[],formData:{type:1,sort:0,name:"",appoint_check:0,no_delivery_check:0},id:0}},computed:j(j({},Object(n.e)("admin/layout",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:120},labelPosition:function(){return this.isMobile?"top":"right"}}),mounted:function(){},methods:{lazyLoad:function(t,e){var r=this;if(O[t])O[t]().then((function(t){e(g(t.data))}));else{var n=Object(i.g)({pid:t});O[t]=function(){return n},n.then((function(r){r.data.forEach((function(t){t.leaf=!t.hasOwnProperty("children")})),O[t]=function(){return new Promise((function(t){setTimeout((function(){return t(r)}),300)}))},e(r.data)})).catch((function(t){r.$message.error(t.message)}))}},onChange:function(t){},editFrom:function(t){var e=this;this.id=t,Object(i.Z)(t).then((function(t){var r=t.data.formData;e.templateList=t.data.templateList,e.appointList=t.data.appointList,e.noDeliveryList=t.data.noDeliveryList,e.formData={type:r.type,sort:r.sort,name:r.name,appoint_check:r.appoint_check,no_delivery_check:r.no_delivery_check},e.headerType()}))},selectCity:function(t){switch(t){case 1:this.templateList.push({first:1,first_price:0,continue:1,continue_price:0,city_ids:[]});break;case 2:this.appointList.push({placeName:"",number:0,price:0,city_ids:[]});break;case 3:this.noDeliveryList.push({placeName:"",city_ids:[]})}},addCity:function(t){this.type=t,this.selectCity(t)},changeRadio:function(){this.headerType()},headerType:function(){2===this.formData.type?(this.columns[1].title="首重量(KG)",this.columns[3].title="续重量(KG)",this.columns2[1].title="包邮重量(KG)"):3===this.formData.type?(this.columns[1].title="首体积(m³)",this.columns[3].title="续体积(m³)",this.columns2[1].title="包邮体积(m³)"):(this.columns[1].title="首件",this.columns[3].title="续件",this.columns2[1].title="包邮件数")},handleSubmit:function(){var t=this;if(!this.formData.name.trim().length)return this.$Message.error("请填写模板名称");if(!this.templateList.length)return this.$Message.error("请设置配送区域");for(var e=0;e<this.templateList.length;e++){if(this.templateList[e].first<=0)return this.$Message.error("首件/重量/体积应大于0");if(this.templateList[e].first_price<0)return this.$Message.error("运费应大于等于0");if(this.templateList[e].continue<=0)return this.$Message.error("续件/重量/体积应大于0");if(this.templateList[e].continue_price<0)return this.$Message.error("续费应大于等于0")}if(1===this.formData.appoint_check)for(var r=0;r<this.appointList.length;r++){if(this.appointList[r].number<=0)return this.$Message.error("包邮件数应大于0");if(this.appointList[r].price<0)return this.$Message.error("包邮金额应大于等于0")}var n={no_delivery_info:this.noDeliveryList,appoint_info:this.appointList,region_info:this.templateList,sort:this.formData.sort,type:this.formData.type,name:this.formData.name,appoint:this.formData.appoint_check,no_delivery:this.formData.no_delivery_check};Object(i.zb)(this.id,n).then((function(e){t.isTemplate=!1,t.$parent.getList(),t.formData={type:1,sort:0,name:"",appoint_check:0,no_delivery_check:0},t.appointList=[],t.noDeliveryList=[],t.templateList=[{first:1,first_price:0,continue:1,continue_price:0,city_ids:[[0]]}],t.$Message.success(e.msg)}))},delCity:function(t,e,r,n){var i=this,a={title:e,num:r,url:"setting/shipping_templates/del/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(a).then((function(t){i.$Message.success(t.msg),1===n?i.templateList.splice(r,1):2==n?i.appointList.splice(r,1):i.noDeliveryList.splice(r,1)})).catch((function(t){i.$Message.error(t.msg)}))},cancel:function(){this.formData={type:1,sort:0,name:"",appoint_check:0,no_delivery_check:0},this.noDeliveryList=[],this.appointList=[],this.templateList=[{first:0,first_price:0,continue:0,continue_price:0,city_ids:[[0]]}]}}},L=(r("a85b"),Object(l.a)(x,(function(){var t=this,e=t._self._c;return e("div",[e("Modal",{attrs:{title:"运费模版",width:"70%",if:"isTemplate"},on:{"on-cancel":t.cancel},model:{value:t.isTemplate,callback:function(e){t.isTemplate=e},expression:"isTemplate"}},[e("div",{staticClass:"Modals"},[e("Form",{ref:"formData",staticClass:"form",attrs:{"label-width":t.labelWidth,"label-position":t.labelPosition}},[e("Row",{attrs:{gutter:24,type:"flex"}},[e("Col",{attrs:{xl:18,lg:18,md:18,sm:24,xs:24}},[e("FormItem",{attrs:{label:"模板名称:",prop:"name"}},[e("Input",{attrs:{type:"text",placeholder:"请输入模板名称",maxlength:20},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1)],1),e("Row",{attrs:{gutter:24,type:"flex"}},[e("Col",{attrs:{xl:18,lg:18,md:18,sm:24,xs:24}},[e("FormItem",{attrs:{label:"计费方式:",props:"state","label-for":"state"}},[e("RadioGroup",{staticClass:"radio",attrs:{"element-id":"state"},on:{"on-change":t.changeRadio},model:{value:t.formData.type,callback:function(e){t.$set(t.formData,"type",e)},expression:"formData.type"}},[e("Radio",{attrs:{label:1}},[t._v("按件数")]),e("Radio",{attrs:{label:2}},[t._v("按重量")]),e("Radio",{attrs:{label:3}},[t._v("按体积")])],1)],1)],1)],1),e("Row",{attrs:{gutter:24,type:"flex"}},[e("Col",{attrs:{xl:24,lg:24,md:24,sm:24,xs:24}},[e("FormItem",{staticClass:"label",attrs:{label:"配送区域及运费:",props:"state","label-for":"state"}},[e("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.templateList,"no-data-text":"暂无数据",border:""},scopedSlots:t._u([{key:"regionName",fn:function(r){r.row;var n=r.index;return[0===n?e("div",[t._v("默认全国 "),e("span",{staticStyle:{"font-weight":"bold"}},[t._v("(开启指定区域不配送时无效)")])]):e("LazyCascader",{staticStyle:{width:"98%"},attrs:{props:t.props,"collapse-tags":"",clearable:"",filterable:!1,size:"mini"},model:{value:t.templateList[n].city_ids,callback:function(e){t.$set(t.templateList[n],"city_ids",e)},expression:"templateList[index].city_ids"}})]}},{key:"action",fn:function(r){var n=r.row,i=r.index;return[0!==i?e("a",{on:{click:function(e){return t.delCity(n,"配送区域",i,1)}}},[t._v("删除")]):t._e()]}}])}),e("Row",{staticClass:"addTop",attrs:{type:"flex"}},[e("Col",[e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:function(e){return t.addCity(1)}}},[t._v("单独添加配送区域")])],1)],1)],1)],1)],1),e("Row",{attrs:{gutter:24,type:"flex"}},[e("Col",{attrs:{xl:24,lg:24,md:24,sm:24,xs:24}},[e("FormItem",{attrs:{label:"指定包邮:",prop:"store_name","label-for":"store_name"}},[e("Radio-group",{staticClass:"radio",model:{value:t.formData.appoint_check,callback:function(e){t.$set(t.formData,"appoint_check",e)},expression:"formData.appoint_check"}},[e("Radio",{attrs:{label:1}},[t._v("开启")]),e("Radio",{attrs:{label:0}},[t._v("关闭")])],1),1===t.formData.appoint_check?e("Table",{ref:"table",staticClass:"addTop ivu-mt",attrs:{columns:t.columns2,data:t.appointList,"no-data-text":"暂无数据",border:""},scopedSlots:t._u([{key:"placeName",fn:function(r){r.row;var n=r.index;return[e("LazyCascader",{staticStyle:{width:"98%"},attrs:{props:t.props,"collapse-tags":"",clearable:"",filterable:!1,size:"mini"},model:{value:t.appointList[n].city_ids,callback:function(e){t.$set(t.appointList[n],"city_ids",e)},expression:"appointList[index].city_ids"}})]}},{key:"action",fn:function(r){var n=r.row,i=r.index;return[e("a",{on:{click:function(e){return t.delCity(n,"配送区域",i,2)}}},[t._v("删除")])]}}],null,!1,1551961943)}):t._e(),1===t.formData.appoint_check?e("Row",{staticClass:"addTop",attrs:{type:"flex"}},[e("Col",[e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:function(e){return t.addCity(2)}}},[t._v("单独指定包邮")])],1)],1):t._e()],1)],1)],1),e("Row",{attrs:{gutter:24,type:"flex"}},[e("Col",{attrs:{xl:24,lg:24,md:24,sm:24,xs:24}},[e("FormItem",{attrs:{label:"指定不送达:",prop:"store_name","label-for":"store_name"}},[e("Radio-group",{staticClass:"radio",model:{value:t.formData.no_delivery_check,callback:function(e){t.$set(t.formData,"no_delivery_check",e)},expression:"formData.no_delivery_check"}},[e("Radio",{attrs:{label:1}},[t._v("开启")]),e("Radio",{attrs:{label:0}},[t._v("关闭")])],1),1===t.formData.no_delivery_check?e("Table",{ref:"table",staticClass:"addTop ivu-mt",attrs:{columns:t.columns3,data:t.noDeliveryList,"no-data-text":"暂无数据",border:""},scopedSlots:t._u([{key:"placeName",fn:function(r){r.row;var n=r.index;return[e("LazyCascader",{staticStyle:{width:"98%"},attrs:{props:t.props,"collapse-tags":"",clearable:"",filterable:!1,size:"mini"},model:{value:t.noDeliveryList[n].city_ids,callback:function(e){t.$set(t.noDeliveryList[n],"city_ids",e)},expression:"noDeliveryList[index].city_ids"}})]}},{key:"action",fn:function(r){var n=r.row,i=r.index;return[e("a",{on:{click:function(e){return t.delCity(n,"配送区域",i,3)}}},[t._v("删除")])]}}],null,!1,3510670902)}):t._e(),1===t.formData.no_delivery_check?e("Row",{staticClass:"addTop",attrs:{type:"flex"}},[e("Col",[e("Button",{attrs:{type:"primary",icon:"md-add"},on:{click:function(e){return t.addCity(3)}}},[t._v("单独指定不送达")])],1)],1):t._e()],1)],1)],1),e("Row",{attrs:{gutter:24,type:"flex"}},[e("Col",{attrs:{xl:18,lg:18,md:18,sm:24,xs:24}},[e("FormItem",{attrs:{label:"排序:",prop:"store_name","label-for":"store_name"}},[e("InputNumber",{attrs:{min:0,placeholder:"输入值越大越靠前"},model:{value:t.formData.sort,callback:function(e){t.$set(t.formData,"sort",e)},expression:"formData.sort"}})],1)],1)],1),t.merchantType?t._e():e("Row",{attrs:{gutter:24,type:"flex"}},[e("Col",[e("FormItem",{attrs:{prop:"store_name","label-for":"store_name"}},[e("Button",{attrs:{type:"primary"},on:{click:t.handleSubmit}},[t._v(t._s(t.id?"立即修改":"立即提交"))])],1)],1)],1)],1)],1),e("div",{attrs:{slot:"footer"},slot:"footer"})])],1)}),[],!1,null,"9ae049be",null));e.a=L.exports},"53bc":function(t,e,r){"use strict";r("36af")},"90e7":function(t,e,r){"use strict";r.d(e,"u",(function(){return i})),r.d(e,"i",(function(){return a})),r.d(e,"wb",(function(){return o})),r.d(e,"vb",(function(){return c})),r.d(e,"X",(function(){return s})),r.d(e,"c",(function(){return u})),r.d(e,"ab",(function(){return l})),r.d(e,"P",(function(){return f})),r.d(e,"kb",(function(){return p})),r.d(e,"H",(function(){return d})),r.d(e,"jb",(function(){return h})),r.d(e,"p",(function(){return m})),r.d(e,"n",(function(){return y})),r.d(e,"o",(function(){return b})),r.d(e,"q",(function(){return v})),r.d(e,"r",(function(){return g})),r.d(e,"S",(function(){return _})),r.d(e,"T",(function(){return w})),r.d(e,"Q",(function(){return j})),r.d(e,"R",(function(){return k})),r.d(e,"I",(function(){return O})),r.d(e,"B",(function(){return x})),r.d(e,"F",(function(){return L})),r.d(e,"E",(function(){return C})),r.d(e,"w",(function(){return S})),r.d(e,"G",(function(){return E})),r.d(e,"y",(function(){return $})),r.d(e,"D",(function(){return D})),r.d(e,"x",(function(){return P})),r.d(e,"v",(function(){return T})),r.d(e,"h",(function(){return z})),r.d(e,"d",(function(){return N})),r.d(e,"e",(function(){return M})),r.d(e,"xb",(function(){return A})),r.d(e,"yb",(function(){return I})),r.d(e,"zb",(function(){return R})),r.d(e,"Z",(function(){return G})),r.d(e,"lb",(function(){return W})),r.d(e,"J",(function(){return F})),r.d(e,"nb",(function(){return B})),r.d(e,"mb",(function(){return U})),r.d(e,"ob",(function(){return V})),r.d(e,"pb",(function(){return q})),r.d(e,"qb",(function(){return K})),r.d(e,"rb",(function(){return Y})),r.d(e,"Ab",(function(){return J})),r.d(e,"Bb",(function(){return Z})),r.d(e,"K",(function(){return H})),r.d(e,"f",(function(){return Q})),r.d(e,"Cb",(function(){return X})),r.d(e,"bb",(function(){return tt})),r.d(e,"cb",(function(){return et})),r.d(e,"C",(function(){return rt})),r.d(e,"z",(function(){return nt})),r.d(e,"Y",(function(){return it})),r.d(e,"db",(function(){return at})),r.d(e,"eb",(function(){return ot})),r.d(e,"fb",(function(){return ct})),r.d(e,"A",(function(){return st})),r.d(e,"L",(function(){return ut})),r.d(e,"O",(function(){return lt})),r.d(e,"M",(function(){return ft})),r.d(e,"N",(function(){return pt})),r.d(e,"g",(function(){return dt})),r.d(e,"t",(function(){return ht})),r.d(e,"s",(function(){return mt})),r.d(e,"U",(function(){return yt})),r.d(e,"gb",(function(){return bt})),r.d(e,"ib",(function(){return vt})),r.d(e,"b",(function(){return gt})),r.d(e,"hb",(function(){return _t})),r.d(e,"l",(function(){return wt})),r.d(e,"a",(function(){return jt})),r.d(e,"k",(function(){return kt})),r.d(e,"j",(function(){return Ot})),r.d(e,"sb",(function(){return xt})),r.d(e,"tb",(function(){return Lt})),r.d(e,"ub",(function(){return Ct})),r.d(e,"m",(function(){return St})),r.d(e,"V",(function(){return Et})),r.d(e,"W",(function(){return $t}));var n=r("b6bd");function i(t){return Object(n.a)({url:"setting/config/header_basics",method:"get",params:t})}function a(t,e){return Object(n.a)({url:e,method:"get",params:t})}function o(t){return Object(n.a)({url:t.url,method:"get",params:t.data})}function c(){return Object(n.a)({url:"notify/sms/temp/create",method:"get"})}function s(){return Object(n.a)({url:"serve/info",method:"get"})}function u(t){return Object(n.a)({url:"serve/captcha",method:"post",data:t})}function l(t){return Object(n.a)({url:"serve/meal_list",method:"get",params:t})}function f(t){return Object(n.a)({url:"serve/pay_meal",method:"post",data:t})}function p(){return Object(n.a)({url:"merchant/store",method:"GET"})}function d(){return Object(n.a)({url:"merchant/store/address",method:"GET"})}function h(t){return Object(n.a)({url:"merchant/store/".concat(t.id),method:"POST",data:t})}function m(t){return Object(n.a)({url:"freight/express",method:"get",params:t})}function y(){return Object(n.a)({url:"/freight/express/create",method:"get"})}function b(t){return Object(n.a)({url:"freight/express/".concat(t,"/edit"),method:"get"})}function v(t){return Object(n.a)({url:"freight/express/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function g(){return Object(n.a)({url:"freight/express/sync_express",method:"get"})}function _(t){return Object(n.a)({url:"setting/role",method:"GET",params:t})}function w(t){return Object(n.a)({url:"setting/role/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function j(t){return Object(n.a)({url:"setting/role/".concat(t.id),method:"post",data:t})}function k(t){return Object(n.a)({url:"setting/role/".concat(t,"/edit"),method:"get"})}function O(){return Object(n.a)({url:"setting/role/create",method:"get"})}function x(t){return Object(n.a)({url:"app/wechat/kefu",method:"get",params:t})}function L(t){return Object(n.a)({url:"app/wechat/kefu/create",method:"get",params:t})}function C(){return Object(n.a)({url:"app/wechat/kefu/add",method:"get"})}function S(t){return Object(n.a)({url:"app/wechat/kefu",method:"post",data:t})}function E(t){return Object(n.a)({url:"app/wechat/kefu/set_status/".concat(t.id,"/").concat(t.account_status),method:"PUT"})}function $(t){return Object(n.a)({url:"app/wechat/kefu/".concat(t,"/edit"),method:"GET"})}function D(t,e){return Object(n.a)({url:"app/wechat/kefu/record/".concat(e),method:"GET",params:t})}function P(t){return Object(n.a)({url:"app/wechat/kefu/chat_list",method:"GET",params:t})}function T(){return Object(n.a)({url:"notify/sms/is_login",method:"GET"})}function z(t){return Object(n.a)({url:"setting/city/list/".concat(t),method:"get"})}function N(t){return Object(n.a)({url:"setting/city/add/".concat(t),method:"get"})}function M(t){return Object(n.a)({url:"setting/city/".concat(t,"/edit"),method:"get"})}function A(t){return Object(n.a)({url:"setting/shipping_templates/list",method:"get",params:t})}function I(t){return Object(n.a)({url:"setting/shipping_templates/city_list",method:"get"})}function R(t,e){return Object(n.a)({url:"setting/shipping_templates/save/".concat(t),method:"post",data:e})}function G(t){return Object(n.a)({url:"setting/shipping_templates/".concat(t,"/edit"),method:"get"})}function W(){return Object(n.a)({url:"merchant/store/get_header",method:"get"})}function F(t){return Object(n.a)({url:"merchant/store",method:"get",params:t})}function B(t,e){return Object(n.a)({url:"merchant/store/set_show/".concat(t,"/").concat(e),method:"put"})}function U(t){return Object(n.a)({url:"merchant/store/get_info/".concat(t),method:"get"})}function V(t){return Object(n.a)({url:"merchant/store_staff",method:"get",params:t})}function q(){return Object(n.a)({url:"merchant/store_staff/create",method:"get"})}function K(t){return Object(n.a)({url:"merchant/store_staff/".concat(t,"/edit"),method:"get"})}function Y(t,e){return Object(n.a)({url:"merchant/store_staff/set_show/".concat(t,"/").concat(e),method:"put"})}function J(t){return Object(n.a)({url:"merchant/verify_order",method:"get",params:t})}function Z(t){return Object(n.a)({url:"merchant/verify/spread_info/".concat(t),method:"get"})}function H(){return Object(n.a)({url:"merchant/store_list",method:"get"})}function Q(){return Object(n.a)({url:"setting/city/clean_cache",method:"get"})}function X(t){return Object(n.a)({url:"app/wechat/speechcraft",method:"get",params:t})}function tt(t){return Object(n.a)({url:"app/wechat/speechcraft/create",method:"get",params:t})}function et(t){return Object(n.a)({url:"app/wechat/speechcraft/".concat(t,"/edit"),method:"get"})}function rt(t){return Object(n.a)({url:"app/wechat/kefu/login/".concat(t),method:"get"})}function nt(t){return Object(n.a)({url:"app/feedback",method:"get",params:t})}function it(t){return Object(n.a)({url:"serve/sms/sign",method:"PUT",data:t})}function at(){return Object(n.a)({url:"app/wechat/speechcraftcate",method:"get"})}function ot(){return Object(n.a)({url:"app/wechat/speechcraftcate/create",method:"get"})}function ct(t){return Object(n.a)({url:"app/wechat/speechcraftcate/".concat(t,"/edit"),method:"get"})}function st(t){return Object(n.a)({url:"app/feedback/".concat(t,"/edit"),method:"get"})}function ut(t){return Object(n.a)({url:"setting/system_out/index",method:"get",params:t})}function lt(t,e){return Object(n.a)({url:"setting/system_out/set_status/".concat(t,"/").concat(e),method:"put"})}function ft(t){return Object(n.a)({url:"setting/system_out/save",method:"post",params:t})}function pt(t,e){return Object(n.a)({url:"setting/system_out/update/".concat(t),method:"post",params:e})}function dt(t){return Object(n.a)({url:"city",method:"get",params:t})}function ht(t){return Object(n.a)({url:"setting/config/edit_new_build/"+t,method:"get"})}function mt(){return Object(n.a)({url:"/setting/config/image",method:"get"})}function yt(t){return Object(n.a)({url:"setting/config/save_basics",method:"post",data:t})}function bt(t){return Object(n.a)({url:"/setting/config/storage",method:"get",params:t})}function vt(t){return Object(n.a)({url:"/setting/config/storage/synch/".concat(t),method:"put"})}function gt(t){return Object(n.a)({url:"/setting/config/storage/create/".concat(t),method:"get"})}function _t(t){return Object(n.a)({url:"/setting/config/storage/status/".concat(t),method:"put"})}function wt(t){return Object(n.a)({url:"/setting/config/storage/domain/".concat(t),method:"get"})}function jt(t){return Object(n.a)({url:"/setting/config/storage/form/".concat(t),method:"get"})}function kt(t){return Object(n.a)({url:"/order/delivery_order/list",method:"get",params:t})}function Ot(t){return Object(n.a)({url:"/order/delivery_order/cancelForm/".concat(t),method:"get"})}function xt(t,e){return Object(n.a)({url:"/system/form/save/".concat(t),method:"post",data:e})}function Lt(t,e){return Object(n.a)({url:"/system/form/info/".concat(t),method:"get",params:e})}function Ct(t){return Object(n.a)({url:"/system/form/index",method:"get",params:t})}function St(t,e){return Object(n.a)({url:"system/form/update_name/"+t,method:"post",data:e})}function Et(t){return Object(n.a)({url:"setting/config/storage/save_type/".concat(t),method:"get"})}function $t(t){return Object(n.a)({url:"/file/scan/upload",method:"post",headers:{"content-type":"multipart/form-data;"},data:t})}},a85b:function(t,e,r){"use strict";r("0cd0")},f49f:function(t,e,r){}}]);