chunk-9e645572.e21c6ff6.js 24 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-9e645572"],{"3c17":function(t,e,r){},5617:function(t,e,r){"use strict";var n=r("3c17");r.n(n).a},"669a":function(t,e,r){"use strict";r.r(e);var n=r("f3f3"),a=(r("a434"),r("2f62")),o=r("90e7"),i=r("0122"),s=r("c964"),c=(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")),l=r("b562");function u(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */u=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(e){l=function(t,e,r){return t[e]=r}}function d(t,e,r,a){var o,i,s,c;e=e&&e.prototype instanceof h?e:h,e=Object.create(e.prototype),a=new x(a||[]);return n(e,"_invoke",{value:(o=t,i=r,s=a,c="suspendedStart",function(t,e){if("executing"===c)throw new Error("Generator is already running");if("completed"===c){if("throw"===t)throw e;return C()}for(s.method=t,s.arg=e;;){var r=s.delegate;if(r&&(r=function t(e,r){var n=r.method,a=e.iterator[n];return void 0===a?(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")),f):(n=m(a,e.iterator,r.arg),"throw"===n.type?(r.method="throw",r.arg=n.arg,r.delegate=null,f):(a=n.arg,a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=void 0),r.delegate=null,f):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)))}(r,s),r)){if(r===f)continue;return r}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if("suspendedStart"===c)throw c="completed",s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(c="executing",r=m(o,i,s),"normal"===r.type){if(c=s.done?"completed":"suspendedYield",r.arg===f)continue;return{value:r.arg,done:s.done}}"throw"===r.type&&(c="completed",s.method="throw",s.arg=r.arg)}})}),e}function m(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var f={};function h(){}function p(){}function g(){}a={};var b=(l(a,o,(function(){return this})),Object.getPrototypeOf),v=(b=b&&b(b(k([]))),b&&b!==e&&r.call(b,o)&&(a=b),g.prototype=h.prototype=Object.create(a));function y(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){var a;n(this,"_invoke",{value:function(n,o){function s(){return new e((function(a,s){!function n(a,o,s,c){var l;a=m(t[a],t,o);if("throw"!==a.type)return(o=(l=a.arg).value)&&"object"==Object(i.a)(o)&&r.call(o,"__await")?e.resolve(o.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(o).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,c)}));c(a.arg)}(n,o,a,s)}))}return a=a?a.then(s,s):s()}})}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 I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function k(t){if(t){var e,n=t[o];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:C}}function C(){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=l(g,c,"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,l(t,c,"GeneratorFunction")),t.prototype=Object.create(v),t},t.awrap=function(t){return{__await:t}},y(w.prototype),l(w.prototype,s,(function(){return this})),t.AsyncIterator=w,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new w(d(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},y(v),l(v,c,"Generator"),l(v,o,(function(){return this})),l(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=k,x.prototype={constructor:x,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(I),!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 a=this.tryEntries.length-1;0<=a;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(s&&c){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):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),f},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),I(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var r,n,a=this.tryEntries[e];if(a.tryLoc===t)return"throw"===(r=a.completion).type&&(n=r.arg,I(a)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}c={name:"systemStore",components:{uploadPictures:c.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(l.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(o.Gb)(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(o.I)().then(function(){var e=Object(s.a)(u().mark((function e(r){var n;return u().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(o.Db)(e.formItem).then(function(){var r=Object(s.a)(u().mark((function r(n){return u().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("5617"),r("2877"));c={name:"setting_store",components:{systemStore:Object(d.a)(c,(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,"92be7c76",null).exports},computed:Object(n.a)(Object(n.a)(Object(n.a)({},Object(a.d)("media",["isMobile"])),Object(a.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(o.Fb)().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(o.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(o.Hb)(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("d398"),n=Object(d.a)(c,(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,a=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,"删除提货点",a)}}},[t._v("删除")]):r("a",{on:{click:function(e){return t.del(n,"恢复提货点",a)}}},[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,"1a92e7d8",null);e.default=n.exports},b562:function(t,e,r){"use strict";r.d(e,"k",(function(){return a})),r.d(e,"u",(function(){return o})),r.d(e,"q",(function(){return i})),r.d(e,"a",(function(){return s})),r.d(e,"h",(function(){return c})),r.d(e,"i",(function(){return l})),r.d(e,"j",(function(){return u})),r.d(e,"e",(function(){return d})),r.d(e,"f",(function(){return m})),r.d(e,"g",(function(){return f})),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 _})),r.d(e,"w",(function(){return I})),r.d(e,"p",(function(){return x})),r.d(e,"n",(function(){return k})),r.d(e,"o",(function(){return C})),r.d(e,"m",(function(){return O})),r.d(e,"c",(function(){return j})),r.d(e,"b",(function(){return T})),r("99af");var n=r("6b6c");function a(){return Object(n.a)({url:"app/routine/syncSubscribe",method:"GET"})}function o(){return Object(n.a)({url:"app/wechat/syncSubscribe",method:"GET"})}function i(t){return Object(n.a)({url:"app/wechat/menu",method:"get"})}function s(t){return Object(n.a)({url:"app/wechat/menu",method:"post",data:t})}function c(t){return Object(n.a)({url:t.url,method:"post",data:t.key})}function l(t){return Object(n.a)({url:"app/routine/download",method:"post",data:t})}function u(){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 m(t){return Object(n.a)({url:"app/wechat/keyword/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function f(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 _(){return Object(n.a)({url:"app/wechat/tag/create",method:"GET"})}function I(t){return Object(n.a)({url:"app/wechat/tag/".concat(t,"/edit"),method:"GET"})}function x(){return Object(n.a)({url:"app/wechat/group",method:"GET"})}function k(){return Object(n.a)({url:"app/wechat/group/create",method:"GET"})}function C(t){return Object(n.a)({url:"app/wechat/group/".concat(t,"/edit"),method:"GET"})}function O(t){return Object(n.a)({url:"app/wechat/action",method:"GET",params:t})}function j(t){return Object(n.a)({url:"app/wechat/code_reply/".concat(t),method:"GET"})}function T(){return Object(n.a)({url:"setting/city/full_list",method:"GET"})}},d398:function(t,e,r){"use strict";var n=r("fa8c");r.n(n).a},fa8c:function(t,e,r){}}]);