CRMEB/crmeb/public/admin/system_static/js/chunk-47e494c8.dd3bd34c.js
2023-06-12 14:41:51 +08:00

1 line
37 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-47e494c8"],{"164d":function(t,e,r){"use strict";var n=r("d4a9");r.n(n).a},"669a":function(t,e,r){"use strict";r.r(e);var n=r("f3f3"),o=(r("a434"),r("2f62")),a=r("90e7"),i=r("0122"),c=r("c964"),u=(r("d9e2"),r("ac1f"),r("00b4"),r("d81d"),r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("3410"),r("159b"),r("b0c0"),r("131a"),r("fb6a"),r("b0e7")),s=r("b562");function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(e){s=function(t,e,r){return t[e]=r}}function d(t,e,r,o){var a,i,c,u;e=e&&e.prototype instanceof h?e:h,e=Object.create(e.prototype),o=new _(o||[]);return n(e,"_invoke",{value:(a=t,i=r,c=o,u="suspendedStart",function(t,e){if("executing"===u)throw new Error("Generator is already running");if("completed"===u){if("throw"===t)throw e;return I()}for(c.method=t,c.arg=e;;){var r=c.delegate;if(r&&(r=function t(e,r){var n=r.method,o=e.iterator[n];return void 0===o?(r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=void 0,t(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m):(n=f(o,e.iterator,r.arg),"throw"===n.type?(r.method="throw",r.arg=n.arg,r.delegate=null,m):(o=n.arg,o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,m):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)))}(r,c),r)){if(r===m)continue;return r}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if("suspendedStart"===u)throw u="completed",c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(u="executing",r=f(a,i,c),"normal"===r.type){if(u=c.done?"completed":"suspendedYield",r.arg===m)continue;return{value:r.arg,done:c.done}}"throw"===r.type&&(u="completed",c.method="throw",c.arg=r.arg)}})}),e}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var m={};function h(){}function p(){}function g(){}o={};var b=(s(o,a,(function(){return this})),Object.getPrototypeOf),v=(b=b&&b(b(x([]))),b&&b!==e&&r.call(b,a)&&(o=b),g.prototype=h.prototype=Object.create(o));function y(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var o;n(this,"_invoke",{value:function(n,a){function c(){return new e((function(o,c){!function n(o,a,c,u){var s;o=f(t[o],t,a);if("throw"!==o.type)return(a=(s=o.arg).value)&&"object"==Object(i.a)(a)&&r.call(a,"__await")?e.resolve(a.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(a).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}));u(o.arg)}(n,a,o,c)}))}return o=o?o.then(c,c):c()}})}function O(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 j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function x(t){if(t){var e,n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return e=-1,(n=function n(){for(;++e<t.length;)if(r.call(t,e))return n.value=t[e],n.done=!1,n;return n.value=void 0,n.done=!0,n}).next=n}return{next:I}}function I(){return{value:void 0,done:!0}}return n(v,"constructor",{value:p.prototype=g,configurable:!0}),n(g,"constructor",{value:p,configurable:!0}),p.displayName=s(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},y(w.prototype),s(w.prototype,c,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new w(d(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},y(v),s(v,u,"Generator"),s(v,a,(function(){return this})),s(v,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e,r=Object(t),n=[];for(e in r)n.push(e);return n.reverse(),function t(){for(;n.length;){var e=n.pop();if(e in r)return t.value=e,t.done=!1,t}return t.done=!0,t}},t.values=x,_.prototype={constructor:_,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;0<=o;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}var i=(a=a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc?null:a)?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(i)},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),m},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,o=this.tryEntries[e];if(o.tryLoc===t)return"throw"===(r=o.completion).type&&(n=r.arg,j(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:x(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),m}},t}u={name:"systemStore",components:{uploadPictures:u.a},props:{},data:function(){var t=this;return{isTemplate:!1,spinShow:!1,modalMap:!1,addresData:[],modalTitle:"",formItem:{name:"",introduction:"",phone:"",address:[],address2:[],detailed_address:"",valid_time:[],day_time:[],latlng:"",id:0},ruleValidate:{name:[{required:!0,message:"请输入提货点名称",trigger:"blur"}],mail:[{required:!0,message:"Mailbox cannot be empty",trigger:"blur"},{type:"email",message:"Incorrect email format",trigger:"blur"}],address:[{required:!0,message:"请选择提货点地址",type:"array",trigger:"change"}],valid_time:[{required:!0,type:"array",message:"请选择核销时效",trigger:"change",fields:{0:{type:"date",required:!0,message:"请选择年度范围"},1:{type:"date",required:!0,message:"请选择年度范围"}}}],day_time:[{required:!0,type:"array",message:"请选择提货点营业时间",trigger:"change"}],phone:[{required:!0,validator:function(t,e,r){if(!e)return r(new Error("请填写手机号"));/^1[3456789]\d{9}$/.test(e)?r():r(new Error("手机号格式不正确!"))},trigger:"blur"}],detailed_address:[{required:!0,message:"请输入详细地址",trigger:"blur"}],image:[{required:!0,validator:function(e,r,n){t.formItem.image?n():n(new Error("请上传提货点logo"))},trigger:"change"}],oblong_image:[{required:!0,validator:function(e,r,n){t.formItem.oblong_image?n():n(new Error("请上传提货点大图"))},trigger:"change"}],latlng:[{required:!0,message:"请选择经纬度",trigger:"blur"}]},keyUrl:"",grid:{xl:20,lg:20,md:20,sm:24,xs:24},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},modalPic:!1,isChoice:"单选"}},created:function(){this.getCityList()},computed:{},mounted:function(){window.addEventListener("message",(function(t){t=t.data,t&&"locationPicker"===t.module&&window.parent.selectAdderss(t)}),!1),window.selectAdderss=this.selectAdderss},methods:{getCityList:function(){var t=this;Object(s.b)().then((function(e){e.data.map((function(t){t.value=t.label,t.children&&t.children.length&&t.children.map((function(t){t.value=t.label,t.children&&t.children.length&&t.children.map((function(t){t.value=t.label}))}))})),t.addresData=e.data}))},cancel:function(){this.$refs.formItem.resetFields(),this.clearFrom()},clearFrom:function(){this.formItem.introduction="",this.formItem.day_time=[],this.formItem.oblong_image="",this.formItem.id=0},selectAdderss:function(t){this.formItem.latlng=t.latlng.lat+","+t.latlng.lng,this.modalMap=!1},getKey:function(){},getInfo:function(t){var e=this;e.formItem.id=t,e.spinShow=!0,Object(a.Db)(t).then((function(t){t=t.data.info||null,e.formItem=t||e.formItem,e.formItem.address=t.address2,e.spinShow=!1})).catch((function(t){e.spinShow=!1,e.$Message.error(t.msg)}))},modalPicTap:function(t,e){this.modalTitle="oblong"==e?"提货点大图":"提货点LOGO",this.modalPic=!0,this.picTit=e},getPic:function(t){switch(this.picTit){case"logo":this.formItem.image=t.att_dir;break;case"oblong":this.formItem.oblong_image=t.att_dir}this.modalPic=!1},handleChange:function(t,e){this.formItem.address=e.map((function(t){return t.label}))},onchangeDate:function(t){this.formItem.valid_time=t},onchangeTime:function(t){this.formItem.day_time=t},onSearch:function(){var t=this;this.keyUrl?this.modalMap=!0:Object(a.I)().then(function(){var e=Object(c.a)(l().mark((function e(r){var n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=r.data.key,t.keyUrl="https://apis.map.qq.com/tools/locpicker?type=1&key=".concat(n,"&referer=myapp"),t.modalMap=!0;case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()).catch((function(e){t.$Message.error(e.msg)}))},handleSubmit:function(t){var e=this;this.$refs[t].validate((function(r){if(!r)return!1;Object(a.Ab)(e.formItem).then(function(){var r=Object(c.a)(l().mark((function r(n){return l().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:e.$Message.success(n.msg),e.isTemplate=!1,e.$parent.getList(),e.$refs[t].resetFields(),e.clearFrom();case 5:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}()).catch((function(t){e.$Message.error(t.msg)}))}))}}};var d=(r("f831"),r("2877"));u={name:"setting_store",components:{systemStore:Object(d.a)(u,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",[e("Modal",{attrs:{scrollable:"","footer-hide":"",closable:"",title:t.formItem.id?"编辑提货点":"添加提货点","z-index":1},on:{"on-cancel":t.cancel},model:{value:t.isTemplate,callback:function(e){t.isTemplate=e},expression:"isTemplate"}},[e("div",{staticClass:"article-manager"},[e("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[e("Form",{ref:"formItem",attrs:{model:t.formItem,"label-width":120,"label-position":"right",rules:t.ruleValidate},nativeOn:{submit:function(t){t.preventDefault()}}},[e("Row",{attrs:{type:"flex",gutter:24}},[e("Col",{attrs:{span:"24"}},[e("Col",t._b({},"Col",t.grid,!1),[e("FormItem",{attrs:{label:"提货点名称:",prop:"name","label-for":"name"}},[e("Input",{attrs:{placeholder:"请输入提货点名称"},model:{value:t.formItem.name,callback:function(e){t.$set(t.formItem,"name",e)},expression:"formItem.name"}})],1)],1)],1),e("Col",{attrs:{span:"24"}},[e("Col",t._b({},"Col",t.grid,!1),[e("FormItem",{attrs:{label:"提货点简介:","label-for":"introduction"}},[e("Input",{attrs:{placeholder:"请输入提货点简介"},model:{value:t.formItem.introduction,callback:function(e){t.$set(t.formItem,"introduction",e)},expression:"formItem.introduction"}})],1)],1)],1),e("Col",{attrs:{span:"24"}},[e("Col",t._b({},"Col",t.grid,!1),[e("FormItem",{attrs:{label:"提货点手机号:","label-for":"phone",prop:"phone"}},[e("Input",{attrs:{placeholder:"请输入提货点手机号"},model:{value:t.formItem.phone,callback:function(e){t.$set(t.formItem,"phone",e)},expression:"formItem.phone"}})],1)],1)],1),e("Col",{attrs:{span:"24"}},[e("Col",t._b({},"Col",t.grid,!1),[e("FormItem",{attrs:{label:"提货点地址:","label-for":"address",prop:"address"}},[e("Cascader",{attrs:{data:t.addresData,value:t.formItem.address},on:{"on-change":t.handleChange},model:{value:t.formItem.address,callback:function(e){t.$set(t.formItem,"address",e)},expression:"formItem.address"}})],1)],1)],1),e("Col",{attrs:{span:"24"}},[e("Col",t._b({},"Col",t.grid,!1),[e("FormItem",{attrs:{label:"详细地址:","label-for":"detailed_address",prop:"detailed_address"}},[e("Input",{attrs:{placeholder:"请输入详细地址"},model:{value:t.formItem.detailed_address,callback:function(e){t.$set(t.formItem,"detailed_address",e)},expression:"formItem.detailed_address"}})],1)],1)],1),e("Col",{attrs:{span:"24"}},[e("Col",t._b({},"Col",t.grid,!1),[e("FormItem",{attrs:{label:"提货点营业:","label-for":"day_time",prop:"day_time"}},[e("TimePicker",{attrs:{type:"timerange",format:"HH:mm:ss",value:t.formItem.day_time,placement:"bottom-end",placeholder:"请选择营业时间"},on:{"on-change":t.onchangeTime},model:{value:t.formItem.day_time,callback:function(e){t.$set(t.formItem,"day_time",e)},expression:"formItem.day_time"}})],1)],1)],1),e("Col",{attrs:{span:"24"}},[e("Col",t._b({},"Col",t.grid,!1),[e("FormItem",{attrs:{label:"提货点logo",prop:"image"}},[e("div",{staticClass:"picBox",on:{click:function(e){return t.modalPicTap("单选","logo")}}},[t.formItem.image?e("div",{staticClass:"pictrue"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.formItem.image,expression:"formItem.image"}]})]):e("div",{staticClass:"upLoad acea-row row-center-wrapper"},[e("Icon",{attrs:{type:"ios-camera-outline",size:"26"}})],1)])])],1)],1),e("Col",{attrs:{span:"24"}},[e("Col",t._b({},"Col",t.grid,!1),[e("FormItem",{attrs:{label:"提货点大图:",prop:"oblong_image"}},[e("div",{staticClass:"picBox",on:{click:function(e){return t.modalPicTap("单选","oblong")}}},[t.formItem.oblong_image?e("div",{staticClass:"pictrue"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.formItem.oblong_image,expression:"formItem.oblong_image"}]})]):e("div",{staticClass:"upLoad acea-row row-center-wrapper"},[e("Icon",{attrs:{type:"ios-camera-outline",size:"26"}})],1)])])],1)],1),e("Col",{attrs:{span:"24"}},[e("Col",t._b({},"Col",t.grid,!1),[e("FormItem",{attrs:{label:"经纬度:","label-for":"status2",prop:"latlng"}},[e("Tooltip",[e("Input",{staticStyle:{width:"100%"},attrs:{search:"","enter-button":"查找位置",placeholder:"请查找位置"},on:{"on-search":t.onSearch},model:{value:t.formItem.latlng,callback:function(e){t.$set(t.formItem,"latlng",e)},expression:"formItem.latlng"}}),e("div",{attrs:{slot:"content"},slot:"content"},[t._v("请点击查找位置选择位置")])],1)],1)],1)],1)],1),e("Row",{attrs:{type:"flex"}},[e("div",{staticClass:"btn"},[e("Button",{attrs:{type:"primary",long:""},on:{click:function(e){return t.handleSubmit("formItem")}}},[t._v(t._s(t.formItem.id?"修改":"提交"))])],1)]),t.spinShow?e("Spin",{attrs:{size:"large",fix:""}}):t._e()],1)],1),e("Modal",{attrs:{width:"950px",scrollable:"","footer-hide":"",closable:"",title:t.modalTitle,"mask-closable":!1,"z-index":888},model:{value:t.modalPic,callback:function(e){t.modalPic=e},expression:"modalPic"}},[t.modalPic?e("uploadPictures",{attrs:{isChoice:t.isChoice,gridBtn:t.gridBtn,gridPic:t.gridPic},on:{getPic:t.getPic}}):t._e()],1),e("Modal",{staticClass:"mapBox",attrs:{scrollable:"","footer-hide":"",closable:"",title:"请选择地址","mask-closable":!1,"z-index":1},model:{value:t.modalMap,callback:function(e){t.modalMap=e},expression:"modalMap"}},[e("iframe",{attrs:{id:"mapPage",width:"100%",height:"100%",frameborder:"0",src:t.keyUrl}})])],1)])],1)}),[],!1,null,"294306b1",null).exports},computed:Object(n.a)(Object(n.a)(Object(n.a)({},Object(o.d)("media",["isMobile"])),Object(o.d)("userLevel",["categoryId"])),{},{labelWidth:function(){return this.isMobile?void 0:85},labelPosition:function(){return this.isMobile?"top":"left"}}),data:function(){return{grid:{xl:10,lg:10,md:12,sm:24,xs:24},headeNum:{show:{name:"",num:0},hide:{name:"",num:0},recycle:{name:"",num:0}},artFrom:{page:1,limit:15,type:"0",keywords:""},loading:!1,columns:[{title:"ID",key:"id",width:80,sortable:!0},{title:"提货点图片",slot:"image",minWidth:100},{title:"提货点名称",key:"name",minWidth:100},{title:"提货点电话",key:"phone",minWidth:100},{title:"地址",key:"detailed_address",minWidth:100},{title:"营业时间",key:"day_time",minWidth:100},{title:"是否显示",slot:"is_show",minWidth:100},{title:"操作",slot:"action",fixed:"right",minWidth:120}],storeLists:[],total:0}},mounted:function(){this.storeHeade(),this.getList()},methods:{storeHeade:function(){var t=this,e=this;Object(a.Cb)().then((function(t){e.headeNum=t.data.count})).catch((function(e){t.$Message.error(e.msg)}))},getList:function(){var t=this,e=this;e.loading=!0,Object(a.U)(e.artFrom).then((function(t){e.loading=!1,e.storeLists=t.data.list,e.total=t.data.count})).catch((function(e){t.$Message.error(e.msg)}))},userSearchs:function(){this.artFrom.page=1,this.getList()},onClickTab:function(){this.artFrom.page=1,this.artFrom.keywords="",this.getList()},pageChange:function(t){this.artFrom.page=t,this.getList()},del:function(t,e,r){var n=this;e={title:e,num:r,url:"merchant/store/del/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){n.$Message.success(t.msg),n.storeLists.splice(r,1),n.storeHeade()})).catch((function(t){n.$Message.error(t.msg)}))},add:function(){this.$refs.template.isTemplate=!0},onchangeIsShow:function(t,e){var r=this;Object(a.Eb)(t,e).then((function(t){r.$Message.success(t.msg),r.getList(),r.storeHeade()}))},edit:function(t){this.$refs.template.isTemplate=!0,this.$refs.template.getInfo(t)}}},r("164d"),n=Object(d.a)(u,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[r("div",{staticClass:"mb20"},[r("Tabs",{on:{"on-click":t.onClickTab},model:{value:t.artFrom.type,callback:function(e){t.$set(t.artFrom,"type",e)},expression:"artFrom.type"}},[r("TabPane",{attrs:{label:t.headeNum.show.name+"("+t.headeNum.show.num+")",name:"0"}}),r("TabPane",{attrs:{label:t.headeNum.hide.name+"("+t.headeNum.hide.num+")",name:"1"}}),r("TabPane",{attrs:{label:t.headeNum.recycle.name+"("+t.headeNum.recycle.num+")",name:"2"}})],1)],1),r("Form",{ref:"artFrom",attrs:{model:t.artFrom,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[r("Row",{attrs:{type:"flex",gutter:24}},[r("Col",t._b({staticClass:"mr"},"Col",t.grid,!1),[r("FormItem",{attrs:{label:"提货点搜索:","label-for":"store_name"}},[r("Input",{attrs:{search:"","enter-button":"",placeholder:"请输入提货点名称,电话"},on:{"on-search":t.userSearchs},model:{value:t.artFrom.keywords,callback:function(e){t.$set(t.artFrom,"keywords",e)},expression:"artFrom.keywords"}})],1)],1)],1)],1),r("Row",{directives:[{name:"auth",rawName:"v-auth",value:["setting-merchant-system_store-save"],expression:"['setting-merchant-system_store-save']"}],attrs:{type:"flex"}},[r("Col",t._b({},"Col",t.grid,!1),[r("Button",{directives:[{name:"auth",rawName:"v-auth",value:["setting-merchant-system_store-save"],expression:"['setting-merchant-system_store-save']"}],attrs:{type:"primary",icon:"md-add"},on:{click:t.add}},[t._v("添加提货点")])],1)],1),r("Table",{ref:"table",staticClass:"mt25",attrs:{columns:t.columns,data:t.storeLists,loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"image",fn:function(t){var e=t.row;return t.index,[r("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.image,expression:"row.image"}]})])]}},{key:"is_show",fn:function(e){var n=e.row;return e.index,[r("i-switch",{attrs:{value:n.is_show,"true-value":1,"false-value":0,size:"large"},on:{"on-change":function(e){return t.onchangeIsShow(n.id,n.is_show)}},model:{value:n.is_show,callback:function(e){t.$set(n,"is_show",e)},expression:"row.is_show"}},[t._v(">\n "),r("span",{attrs:{slot:"open"},slot:"open"},[t._v("显示")]),r("span",{attrs:{slot:"close"},slot:"close"},[t._v("隐藏")])])]}},{key:"action",fn:function(e){var n=e.row,o=e.index;return[r("a",{on:{click:function(e){return t.edit(n.id)}}},[t._v("编辑")]),r("Divider",{attrs:{type:"vertical"}}),0==n.is_del?r("a",{on:{click:function(e){return t.del(n,"删除提货点",o)}}},[t._v("删除")]):r("a",{on:{click:function(e){return t.del(n,"恢复提货点",o)}}},[t._v("恢复")])]}}])}),r("div",{staticClass:"acea-row row-right page"},[r("Page",{attrs:{total:t.total,current:t.artFrom.page,"show-elevator":"","show-total":"","page-size":t.artFrom.limit},on:{"on-change":t.pageChange}})],1)],1),r("system-store",{ref:"template"})],1)}),[],!1,null,"357174f8",null);e.default=n.exports},"6f4a":function(t,e,r){},"90e7":function(t,e,r){"use strict";r.d(e,"v",(function(){return a})),r.d(e,"k",(function(){return i})),r.d(e,"Kb",(function(){return c})),r.d(e,"Jb",(function(){return u})),r.d(e,"j",(function(){return s})),r.d(e,"gb",(function(){return l})),r.d(e,"Ob",(function(){return d})),r.d(e,"c",(function(){return f})),r.d(e,"d",(function(){return m})),r.d(e,"Z",(function(){return h})),r.d(e,"fb",(function(){return p})),r.d(e,"lb",(function(){return g})),r.d(e,"D",(function(){return b})),r.d(e,"Xb",(function(){return v})),r.d(e,"rb",(function(){return y})),r.d(e,"qb",(function(){return w})),r.d(e,"A",(function(){return O})),r.d(e,"B",(function(){return j})),r.d(e,"m",(function(){return _})),r.d(e,"hb",(function(){return x})),r.d(e,"n",(function(){return I})),r.d(e,"kb",(function(){return k})),r.d(e,"jb",(function(){return T})),r.d(e,"ib",(function(){return C})),r.d(e,"mb",(function(){return E})),r.d(e,"ob",(function(){return L})),r.d(e,"W",(function(){return P})),r.d(e,"pb",(function(){return F})),r.d(e,"Bb",(function(){return G})),r.d(e,"I",(function(){return S})),r.d(e,"Ab",(function(){return $})),r.d(e,"r",(function(){return M})),r.d(e,"p",(function(){return q})),r.d(e,"q",(function(){return N})),r.d(e,"s",(function(){return z})),r.d(e,"t",(function(){return B})),r.d(e,"sb",(function(){return U})),r.d(e,"Wb",(function(){return D})),r.d(e,"tb",(function(){return W})),r.d(e,"Rb",(function(){return A})),r.d(e,"ub",(function(){return H})),r.d(e,"cb",(function(){return R})),r.d(e,"Tb",(function(){return J})),r.d(e,"db",(function(){return V})),r.d(e,"ab",(function(){return K})),r.d(e,"bb",(function(){return Y})),r.d(e,"T",(function(){return Q})),r.d(e,"C",(function(){return X})),r.d(e,"G",(function(){return Z})),r.d(e,"F",(function(){return tt})),r.d(e,"x",(function(){return et})),r.d(e,"H",(function(){return rt})),r.d(e,"Vb",(function(){return nt})),r.d(e,"u",(function(){return ot})),r.d(e,"Sb",(function(){return at})),r.d(e,"Ub",(function(){return it})),r.d(e,"z",(function(){return ct})),r.d(e,"E",(function(){return ut})),r.d(e,"y",(function(){return st})),r.d(e,"w",(function(){return lt})),r.d(e,"S",(function(){return dt})),r.d(e,"h",(function(){return ft})),r.d(e,"e",(function(){return mt})),r.d(e,"f",(function(){return ht})),r.d(e,"Lb",(function(){return pt})),r.d(e,"Mb",(function(){return gt})),r.d(e,"Nb",(function(){return bt})),r.d(e,"nb",(function(){return vt})),r.d(e,"Cb",(function(){return yt})),r.d(e,"U",(function(){return wt})),r.d(e,"Eb",(function(){return Ot})),r.d(e,"Db",(function(){return jt})),r.d(e,"Fb",(function(){return _t})),r.d(e,"Gb",(function(){return xt})),r.d(e,"Hb",(function(){return It})),r.d(e,"Ib",(function(){return kt})),r.d(e,"Pb",(function(){return Tt})),r.d(e,"Qb",(function(){return Ct})),r.d(e,"V",(function(){return Et})),r.d(e,"g",(function(){return Lt})),r.d(e,"vb",(function(){return Pt})),r.d(e,"yb",(function(){return Ft})),r.d(e,"a",(function(){return Gt})),r.d(e,"b",(function(){return St})),r.d(e,"wb",(function(){return $t})),r.d(e,"zb",(function(){return Mt})),r.d(e,"xb",(function(){return qt})),r.d(e,"l",(function(){return Nt})),r.d(e,"X",(function(){return zt})),r.d(e,"Y",(function(){return Bt})),r.d(e,"eb",(function(){return Ut})),r.d(e,"Q",(function(){return Dt})),r.d(e,"P",(function(){return Wt})),r.d(e,"K",(function(){return At})),r.d(e,"J",(function(){return Ht})),r.d(e,"L",(function(){return Rt})),r.d(e,"O",(function(){return Jt})),r.d(e,"N",(function(){return Vt})),r.d(e,"R",(function(){return Kt})),r.d(e,"M",(function(){return Yt})),r.d(e,"i",(function(){return Qt})),r.d(e,"o",(function(){return Xt})),r("99af");var n=r("6b6c"),o=r("c276");function a(t){return Object(n.a)({url:"setting/config/header_basics",method:"get",params:t})}function i(t,e){return Object(n.a)({url:e,method:"get",params:t})}function c(t){return Object(n.a)({url:t.url,method:"get",params:t.data})}function u(){return Object(n.a)({url:"notify/sms/temp/create",method:"get"})}function s(t){return Object(n.a)({url:"serve/login",method:"post",data:t})}function l(t){return Object(n.a)({url:"serve/modify",method:"post",data:t})}function d(t){return Object(n.a)({url:"serve/update_phone",method:"post",data:t})}function f(t){return Object(n.a)({url:"serve/captcha",method:"post",data:t})}function m(t){return Object(n.a)({url:"serve/checkCode",method:"post",data:t})}function h(t){return Object(n.a)({url:"serve/register",method:"post",data:t})}function p(){return Object(n.a)({url:"serve/info",method:"get"})}function g(t){return Object(n.a)({url:"serve/sms/sign",method:"PUT",data:t})}function b(t){return Object(n.a)({url:"app/wechat/kefu/login/".concat(t),method:"get"})}function v(t){return Object(n.a)({url:"app/wechat/speechcraft",method:"get",params:t})}function y(t){return Object(n.a)({url:"app/wechat/speechcraft/".concat(t,"/edit"),method:"get"})}function w(){return Object(n.a)({url:"app/wechat/speechcraft/create",method:"get"})}function O(t){return Object(n.a)({url:"app/feedback",method:"get",params:t})}function j(t){return Object(n.a)({url:"app/feedback/".concat(t,"/edit"),method:"get"})}function _(){return Object(n.a)({url:"serve/export_all",method:"get"})}function x(){return Object(n.a)({url:"serve/open",method:"get"})}function I(t){return Object(n.a)({url:"serve/export_temp",method:"get",params:t})}function k(t){return Object(n.a)({url:"serve/record",method:"get",params:t})}function T(t){return Object(n.a)({url:"serve/open",method:"get",params:t})}function C(t){return Object(n.a)({url:"serve/opn_express",method:"post",data:t})}function E(t){return Object(n.a)({url:"serve/sms/open",method:"get",params:t})}function L(t){return Object(n.a)({url:"serve/meal_list",method:"get",params:t})}function P(t){return Object(n.a)({url:"serve/pay_meal",method:"post",data:t})}function F(t){return Object(n.a)({url:"notify/sms/record",method:"get",params:t})}function G(){return Object(n.a)({url:"merchant/store",method:"GET"})}function S(){return Object(n.a)({url:"merchant/store/address",method:"GET"})}function $(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 q(){return Object(n.a)({url:"/freight/express/create",method:"get"})}function N(t){return Object(n.a)({url:"freight/express/".concat(t,"/edit"),method:"get"})}function z(t){return Object(n.a)({url:"freight/express/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function B(){return Object(n.a)({url:"freight/express/sync_express",method:"get"})}function U(){return Object(n.a)({url:"app/wechat/speechcraftcate",method:"get"})}function D(){return Object(n.a)({url:"app/wechat_qrcode/cate/list",method:"get"})}function W(){return Object(n.a)({url:"app/wechat/speechcraftcate/create",method:"get"})}function A(t){return Object(n.a)({url:"app/wechat_qrcode/cate/create/".concat(t),method:"get"})}function H(t){return Object(n.a)({url:"app/wechat/speechcraftcate/".concat(t,"/edit"),method:"get"})}function R(t){return Object(n.a)({url:"setting/role",method:"GET",params:t})}function J(t){return Object(n.a)({url:"app/wechat_qrcode/list",method:"GET",params:t})}function V(t){return Object(n.a)({url:"setting/role/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function K(t){return Object(n.a)({url:"setting/role/".concat(t.id),method:"post",data:t})}function Y(t){return Object(n.a)({url:"setting/role/".concat(t,"/edit"),method:"get"})}function Q(){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 Z(t){return Object(n.a)({url:"app/wechat/kefu/create",method:"get",params:t})}function tt(){return Object(n.a)({url:"app/wechat/kefu/add",method:"get"})}function et(t){return Object(n.a)({url:"app/wechat/kefu",method:"post",data:t})}function rt(t){return Object(n.a)({url:"app/wechat/kefu/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function nt(t){return Object(n.a)({url:"app/wechat_qrcode/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function ot(t){return Object(n.a)({url:"app/wechat_qrcode/user_list/".concat(t.id),method:"get",params:t})}function at(t){return Object(n.a)({url:"app/wechat_qrcode/info/".concat(t),method:"get"})}function it(t,e){return Object(n.a)({url:"app/wechat_qrcode/save/".concat(t),method:"post",data:e})}function ct(t){return Object(n.a)({url:"app/wechat/kefu/".concat(t,"/edit"),method:"GET"})}function ut(t,e){return Object(n.a)({url:"app/wechat/kefu/record/".concat(e),method:"GET",params:t})}function st(t){return Object(n.a)({url:"app/wechat/kefu/chat_list",method:"GET",params:t})}function lt(){return Object(n.a)({url:"notify/sms/is_login",method:"GET"})}function dt(){return Object(n.a)({url:"notify/sms/logout",method:"GET"})}function ft(t){return Object(n.a)({url:"setting/city/list/".concat(t),method:"get"})}function mt(t){return Object(n.a)({url:"setting/city/add/".concat(t),method:"get"})}function ht(t){return Object(n.a)({url:"setting/city/".concat(t,"/edit"),method:"get"})}function pt(t){return Object(n.a)({url:"setting/shipping_templates/list",method:"get",params:t})}function gt(t){return Object(n.a)({url:"setting/shipping_templates/city_list",method:"get"})}function bt(t,e){return Object(n.a)({url:"setting/shipping_templates/save/".concat(t),method:"post",data:e})}function vt(t){return Object(n.a)({url:"setting/shipping_templates/".concat(t,"/edit"),method:"get"})}function yt(){return Object(n.a)({url:"merchant/store/get_header",method:"get"})}function wt(t){return Object(n.a)({url:"merchant/store",method:"get",params:t})}function Ot(t,e){return Object(n.a)({url:"merchant/store/set_show/".concat(t,"/").concat(e),method:"put"})}function jt(t){return Object(n.a)({url:"merchant/store/get_info/".concat(t),method:"get"})}function _t(t){return Object(n.a)({url:"merchant/store_staff",method:"get",params:t})}function xt(){return Object(n.a)({url:"merchant/store_staff/create",method:"get"})}function It(t){return Object(n.a)({url:"merchant/store_staff/".concat(t,"/edit"),method:"get"})}function kt(t,e){return Object(n.a)({url:"merchant/store_staff/set_show/".concat(t,"/").concat(e),method:"put"})}function Tt(t){return Object(n.a)({url:"merchant/verify_order",method:"get",params:t})}function Ct(t){return Object(n.a)({url:"merchant/verify/spread_info/".concat(t),method:"get"})}function Et(){return Object(n.a)({url:"merchant/store_list",method:"get"})}function Lt(){return Object(n.a)({url:"setting/city/clean_cache",method:"get"})}function Pt(){return Object(n.a)({url:"system/config/storage/config",method:"get"})}function Ft(t){return Object(n.a)({url:"system/config/storage/config",method:"post",data:t})}function Gt(t){return Object(n.a)({url:"system/config/storage/form/".concat(t),method:"get"})}function St(t){return Object(n.a)({url:"system/config/storage/create/".concat(t),method:"get"})}function $t(t){return Object(n.a)({url:"system/config/storage",method:"get",params:t})}function Mt(t){return Object(n.a)({url:"system/config/storage/synch/".concat(t),method:"put"})}function qt(t){return Object(n.a)({url:"system/config/storage/status/".concat(t),method:"put"})}function Nt(t){return Object(n.a)({url:"system/config/storage/domain/".concat(t),method:"get"})}function zt(){return Object(n.a)({url:"setting/config_list/31",method:"get"})}function Bt(t){return Object(n.a)({url:"setting/config/save_basics",method:"post",data:t})}function Ut(t){return Object(n.a)({url:"system/config/storage/save_type/".concat(t),method:"get"})}function Dt(t){return Object(n.a)({url:"setting/lang_type/list",method:"get",params:t})}function Wt(t){return Object(n.a)({url:"setting/lang_type/form/".concat(t),method:"get"})}function At(t){return Object(n.a)({url:"setting/lang_code/list",method:"get",params:t})}function Ht(t){return Object(n.a)({url:"setting/lang_code/info",method:"get",params:t})}function Rt(t){return Object(n.a)({url:"setting/lang_code/save",method:"post",data:t})}function Jt(t){return Object(n.a)({url:"setting/lang_country/list",method:"get",params:t})}function Vt(t){return Object(n.a)({url:"setting/lang_country/form/".concat(t),method:"get"})}function Kt(t,e){return Object(n.a)({url:"setting/lang_type/status/".concat(t,"/").concat(e),method:"put"})}function Yt(t){return Object(n.a)({url:"setting/lang_code/translate",method:"post",data:t})}function Qt(t){return Object(n.a)({url:"system/crud",method:"post",data:t})}function Xt(t){return Object(n.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})}},b562:function(t,e,r){"use strict";r.d(e,"k",(function(){return o})),r.d(e,"u",(function(){return a})),r.d(e,"q",(function(){return i})),r.d(e,"a",(function(){return c})),r.d(e,"h",(function(){return u})),r.d(e,"i",(function(){return s})),r.d(e,"j",(function(){return l})),r.d(e,"e",(function(){return d})),r.d(e,"f",(function(){return f})),r.d(e,"g",(function(){return m})),r.d(e,"r",(function(){return h})),r.d(e,"t",(function(){return p})),r.d(e,"s",(function(){return g})),r.d(e,"y",(function(){return b})),r.d(e,"l",(function(){return v})),r.d(e,"d",(function(){return y})),r.d(e,"x",(function(){return w})),r.d(e,"v",(function(){return O})),r.d(e,"w",(function(){return j})),r.d(e,"p",(function(){return _})),r.d(e,"n",(function(){return x})),r.d(e,"o",(function(){return I})),r.d(e,"m",(function(){return k})),r.d(e,"c",(function(){return T})),r.d(e,"b",(function(){return C})),r("99af");var n=r("6b6c");function o(){return Object(n.a)({url:"app/routine/syncSubscribe",method:"GET"})}function a(){return Object(n.a)({url:"app/wechat/syncSubscribe",method:"GET"})}function i(t){return Object(n.a)({url:"app/wechat/menu",method:"get"})}function c(t){return Object(n.a)({url:"app/wechat/menu",method:"post",data:t})}function u(t){return Object(n.a)({url:t.url,method:"post",data:t.key})}function s(t){return Object(n.a)({url:"app/routine/download",method:"post",data:t})}function l(){return Object(n.a)({url:"app/routine/info",method:"get"})}function d(t){return Object(n.a)({url:"app/wechat/keyword",method:"get",params:t})}function f(t){return Object(n.a)({url:"app/wechat/keyword/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function m(t,e){return Object(n.a)({url:t,method:"get",params:e.key})}function h(t){return Object(n.a)({url:"/app/wechat/news",method:"POST",data:t})}function p(t){return Object(n.a)({url:"app/wechat/news",method:"GET",params:t})}function g(t){return Object(n.a)({url:"app/wechat/news/".concat(t),method:"GET"})}function b(t){return Object(n.a)({url:"app/wechat/user",method:"GET",params:t})}function v(){return Object(n.a)({url:"app/wechat/user/tag_group",method:"GET"})}function y(t){return Object(n.a)({url:t,method:"GET"})}function w(){return Object(n.a)({url:"app/wechat/tag",method:"GET"})}function O(){return Object(n.a)({url:"app/wechat/tag/create",method:"GET"})}function j(t){return Object(n.a)({url:"app/wechat/tag/".concat(t,"/edit"),method:"GET"})}function _(){return Object(n.a)({url:"app/wechat/group",method:"GET"})}function x(){return Object(n.a)({url:"app/wechat/group/create",method:"GET"})}function I(t){return Object(n.a)({url:"app/wechat/group/".concat(t,"/edit"),method:"GET"})}function k(t){return Object(n.a)({url:"app/wechat/action",method:"GET",params:t})}function T(t){return Object(n.a)({url:"app/wechat/code_reply/".concat(t),method:"GET"})}function C(){return Object(n.a)({url:"setting/city/full_list",method:"GET"})}},d4a9:function(t,e,r){},f831:function(t,e,r){"use strict";var n=r("6f4a");r.n(n).a}}]);