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
28 KiB
1 lines
28 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-b51dfe3a"],{"0b65":function(t,e,n){"use strict";e.a={shortcuts:[{text:"今天",value:function(){var t=new Date,e=new Date;return e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),[e,t]}},{text:"昨天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),[e,t]}},{text:"最近7天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-6))),[e,t]}},{text:"最近30天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),[e,t]}},{text:"上月",value:function(){var t=new Date,e=new Date,n=new Date(e.getFullYear(),e.getMonth(),0).getDate();return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,n))),[e,t]}},{text:"本月",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),[e,t]}},{text:"本年",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),0,1))),[e,t]}}]}},"0f0e":function(t,e,n){"use strict";var r=n("c4c8"),a={name:"userLabel",props:{},data:function(){return{labelList:[],dataLabel:[],isUser:!1}},mounted:function(){},methods:{inArray:function(t,e){for(var n in e)if(e[n].id===t)return!0;return!1},userLabel:function(t){var e=this;this.dataLabel=t,Object(r.ob)().then((function(t){t.data.map((function(t){t.children&&t.children.length&&(e.isUser=!0,t.children.map((function(t){e.inArray(t.id,e.dataLabel)?t.disabled=!0:t.disabled=!1})))})),e.labelList=t.data})).catch((function(t){e.$Message.error(t.msg)}))},selectLabel:function(t){if(t.disabled){var e=this.dataLabel.indexOf(this.dataLabel.filter((function(e){return e.id===t.id}))[0]);this.dataLabel.splice(e,1),t.disabled=!1}else this.dataLabel.push({label_name:t.label_name,id:t.id,tag_id:t.tag_id}),t.disabled=!0},subBtn:function(){this.$emit("activeData",JSON.parse(JSON.stringify(this.dataLabel)))},cancel:function(){this.$emit("close")}}},i=(n("a405"),n("2877")),o=Object(i.a)(a,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"label-wrapper"},[e("div",{staticClass:"list-box"},[t._l(t.labelList,(function(n,r){return t.isUser?e("div",{key:r,staticClass:"label-box"},[n.children&&n.children.length?e("div",{staticClass:"title"},[t._v("\n "+t._s(n.label_name)+"\n ")]):t._e(),n.children&&n.children.length?e("div",{staticClass:"list"},t._l(n.children,(function(n,r){return e("div",{key:r,staticClass:"label-item",class:{on:n.disabled},on:{click:function(e){return t.selectLabel(n)}}},[t._v("\n "+t._s(n.label_name)+"\n ")])})),0):t._e()]):t._e()})),t.isUser?t._e():e("div",[t._v("暂无标签")])],2),e("div",{staticClass:"footer"},[e("Button",{staticClass:"btns",attrs:{type:"primary"},on:{click:t.subBtn}},[t._v("确定")]),e("Button",{staticClass:"btns",attrs:{type:"primary",ghost:""},on:{click:t.cancel}},[t._v("取消")])],1)])}),[],!1,null,"ea2c8f16",null);e.a=o.exports},"12a0":function(t,e,n){"use strict";n.r(e);var r=n("2f62"),a=n("b0e7"),i=n("c297"),o=n("0f0e"),c=n("9b41"),s=n("0b65"),u=n("90e7"),l=n("d708");function m(t){return(m="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 d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){p(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function p(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=m(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=m(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==m(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var b={data:function(){return{roterPre:l.a.roterPre,formItem:{template_type:"0",name:"",type:"0",client_type:"0",where_time:"",where_label:[],userids:[],send_time:"",welcome_words:{text:{content:""},attachments:[]}},ruleValidate:{name:[{required:!0,message:"名称不能为空",trigger:"blur"}],client_type:[{required:!0,message:"请选择客户类型",trigger:"change"}],template_type:[{required:!0,message:"请选择发送类型",trigger:"change"}]},options:s.a,timeVal:[],labelList:[],newLabelList:[],gridBtn:{xl:4,lg:8,md:8,sm:8,xs:8},gridPic:{xl:6,lg:8,md:12,sm:12,xs:12},rontineObj:{msgtype:"miniprogram",miniprogram:{pic_url:"",pic_media_id:"",title:"",appid:"",page:""}},imageObj:{msgtype:"image",image:{media_id:"",pic_url:""}},picTit:"",modalPic:!1,modalRoutine:!1,isChoice:"单选",activeDepartment:{},isSite:!0,onlyDepartment:!1,openType:"",userList:[],clientCount:0,labelShow:!1,dataLabel:[],notDataLabel:[]}},components:{uploadPictures:a.a,department:i.a,userLabel:o.a},computed:f(f({},Object(r.e)("admin/layout",["isMobile"])),{},{labelWidth:function(){return this.isMobile?void 0:80},labelPosition:function(){return this.isMobile?"top":"left"}}),watch:{"formItem.where_label":function(t,e){t!==e&&this.getClientCount()},"formItem.where_not_label":function(t,e){t!==e&&this.getClientCount()},"formItem.where_time":function(t,e){t!==e&&this.getClientCount()},"formItem.userids":function(t,e){t!==e&&this.getClientCount()},dataLabel:function(t){this.formItem.where_label=t.map((function(t){return t.tag_id}))},notDataLabel:function(t){this.formItem.where_not_label=t.map((function(t){return t.tag_id}))}},mounted:function(){this.setCopyrightShow({value:!1}),this.getClientCount()},destroyed:function(){this.setCopyrightShow({value:!0})},methods:f(f({},Object(r.d)("admin/layout",["setCopyrightShow"])),{},{onchangeTime:function(t){this.timeVal=t,this.formItem.where_time=this.timeVal.join("-")},snedChangeTime:function(t){this.formItem.send_time=t},modalPicTap:function(t){this.modalPic=!0,this.picTit=t},getWorkLabel:function(){var t=this;Object(c.P)().then((function(e){t.labelList=e.data.map((function(e){return t.mapTree(e)})),t.newLabelList=t.deepClone(t.labelList)}))},mapTree:function(t){var e=this,n=Array.isArray(t.children)&&t.children.length>0;return{title:t.label,expand:!0,value:t.value,selected:!1,checked:!1,children:n?t.children.map((function(t){return e.mapTree(t)})):[]}},addRoutine:function(){var t=this;Object(u.t)("routine").then((function(e){var n=e.data;t.rontineObj.miniprogram.pic_url="",t.rontineObj.miniprogram.title=n.routine_name.value,t.rontineObj.miniprogram.appid=n.routine_appId.value,t.rontineObj.miniprogram.page="/pages/index/index"})),this.modalRoutine=!0},addUser:function(){this.userList=this.formItem.userids,this.$refs.department.memberStatus=!0},handleDel:function(t){var e=this.formItem.userids.findIndex((function(e){return e.id===t}));this.formItem.userids.splice(e,1),this.getClientCount()},wordsDel:function(t){var e=this.formItem.welcome_words.attachments.indexOf(t);this.formItem.welcome_words.attachments.splice(e,1)},changeMastart:function(t,e){this.formItem.userids=t.map((function(t){return{userid:t.userid,name:t.name,id:t.id}}))},getPic:function(t){switch(this.picTit){case"image":this.imageObj.image.pic_url=t.att_dir,this.formItem.welcome_words.attachments.push(this.imageObj);break;case"routine":this.rontineObj.miniprogram.pic_url=t.att_dir}this.modalPic=!1},insertName:function(){this.formItem.welcome_words.text.content=this.formItem.welcome_words.text.content.concat("##客户名称##")},routineConfirm:function(){var t=this.deepClone(this.rontineObj);this.formItem.welcome_words.attachments.push(t)},submit:function(){var t=this;if(!this.formItem.userids.length)return this.$Message.error("请选择成员");var e=this.deepClone(this.formItem);e.userids=e.userids.map((function(t){return t.userid})),"0"===e.client_type&&(e.where_time="",e.where_label=[],e.where_not_label=[]),this.$refs.formItem.validate((function(n){n&&Object(c.N)(e).then((function(e){t.$Message.success(e.msg),t.$router.push(t.roterPre+"/work/client/group")})).catch((function(e){t.$Message.error(e.msg)}))}))},deepClone:function(t){var e=Array.isArray(t)?[]:{};if(t&&"object"===m(t))for(var n in t)t.hasOwnProperty(n)&&(e[n]=t&&"object"===m(t[n])?this.deepClone(t[n]):t[n]);return e},getClientCount:function(){var t=this;Object(c.B)({is_all:1==this.formItem.client_type?0:1,label:this.formItem.where_label,notLabel:this.formItem.where_not_label,time:this.formItem.where_time,userid:this.formItem.userids.map((function(t){return t.userid}))}).then((function(e){t.clientCount=e.data.sum_count}))},openLabel:function(t){this.labelActive=t,this.labelShow=!0,this.$refs.userLabel.userLabel(JSON.parse(JSON.stringify(this[t])))},activeData:function(t){this.labelShow=!1,this[this.labelActive]=t},labelClose:function(){this.labelShow=!1},closeLabel:function(t,e){var n=this[e].indexOf(this[e].filter((function(e){return e.id==t.id}))[0]);this[e].splice(n,1)}})},h=(n("4512"),n("2877")),g=Object(h.a)(b,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"i-layout-page-header"},[e("PageHeader",{staticClass:"product_tabs",attrs:{"hidden-breadcrumb":""}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{staticClass:"float-l"},[e("router-link",{attrs:{to:{path:"".concat(t.roterPre,"/work/client/group")}}},[e("div",{staticClass:"font-sm after-line"},[e("span",{staticClass:"iconfont iconfanhui"}),e("span",{staticClass:"pl10"},[t._v("返回")])])])],1),e("span",{staticClass:"mr20 ml16"},[t._v("新建群发")])])])],1),e("Card",{staticClass:"ivu-mt mb100",attrs:{bordered:!1,"dis-hover":""}},[e("Form",{ref:"formItem",attrs:{model:t.formItem,rules:t.ruleValidate,"label-width":110,"label-colon":!0}},[e("FormItem",{attrs:{label:"名称",prop:"name"}},[e("Input",{staticClass:"input-add",attrs:{placeholder:"请输入名称"},model:{value:t.formItem.name,callback:function(e){t.$set(t.formItem,"name",e)},expression:"formItem.name"}})],1),e("FormItem",{attrs:{label:"选择群发账号",required:""}},[e("Button",{on:{click:function(e){return t.addUser()}}},[t._v("选择成员")]),e("div",{staticClass:"mt10"},t._l(t.formItem.userids,(function(n,r){return e("Tag",{key:r,attrs:{closable:"",name:n.name,size:"medium"},on:{"on-close":function(e){return t.handleDel(n.id)}}},[t._v(t._s(n.name))])})),1)],1),e("FormItem",{attrs:{label:"选择客户",prop:"client_type"}},[e("RadioGroup",{model:{value:t.formItem.client_type,callback:function(e){t.$set(t.formItem,"client_type",e)},expression:"formItem.client_type"}},[e("Radio",{attrs:{label:"0"}},[t._v("全部客户")]),e("Radio",{attrs:{label:"1"}},[t._v("筛选客户")])],1),e("div",{staticClass:"desc"},[t._v("预计群发\n "),e("span",{staticClass:"client_count"},[t._v("["+t._s(t.clientCount)+"]")]),t._v("人。\n "),e("span",{directives:[{name:"show",rawName:"v-show",value:1==t.formItem.client_type,expression:"formItem.client_type == 1"}]},[t._v("将消息发送给符合条件的客户")])])],1),1==t.formItem.client_type?[e("FormItem",{attrs:{label:"添加时间"}},[e("DatePicker",{staticClass:"input-add",attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"datetimerange",placement:"bottom-start",placeholder:"自定义时间",options:t.options},on:{"on-change":t.onchangeTime}})],1),e("FormItem",{attrs:{label:"标签"}},[e("div",{staticClass:"acea-row row-between-wrapper label-content",on:{click:function(e){return t.openLabel("dataLabel")}}},[e("div",{staticClass:"label-inner"},[t.dataLabel.length?e("div",t._l(t.dataLabel,(function(n){return e("Tag",{key:n.tag_id,attrs:{closable:""},on:{"on-close":function(e){return t.closeLabel(n,"dataLabel")}}},[t._v(t._s(n.label_name))])})),1):e("span",{staticClass:"placeholder"},[t._v("请选择")])]),e("div",{staticClass:"iconfont iconxiayi"})])]),e("FormItem",{attrs:{label:"排除标签"}},[e("div",{staticClass:"acea-row row-between-wrapper label-content",on:{click:function(e){return t.openLabel("notDataLabel")}}},[e("div",{staticClass:"label-inner"},[t.notDataLabel.length?e("div",t._l(t.notDataLabel,(function(n){return e("Tag",{key:n.tag_id,attrs:{closable:""},on:{"on-close":function(e){return t.closeLabel(n,"notDataLabel")}}},[t._v(t._s(n.label_name))])})),1):e("span",{staticClass:"placeholder"},[t._v("请选择")])]),e("div",{staticClass:"iconfont iconxiayi"})]),e("div",{staticClass:"desc"},[t._v("\n 可根据标签选择客户,群发时将不会发送给该标签内的客户\n ")])])]:t._e(),e("FormItem",{attrs:{label:"群发内容"}},[e("Input",{staticClass:"input-add",attrs:{type:"textarea",rows:4},model:{value:t.formItem.welcome_words.text.content,callback:function(e){t.$set(t.formItem.welcome_words.text,"content",e)},expression:"formItem.welcome_words.text.content"}})],1),e("FormItem",[e("Poptip",{attrs:{trigger:"hover"}},[e("template",{slot:"content"},[e("div",{staticClass:"poptip_content"},[e("div",{on:{click:function(e){return t.modalPicTap("image")}}},[e("div",{staticClass:"add_img acea-row row-center-wrapper"},[e("span",{staticClass:"iconfont icontupian4"})]),e("span",{staticClass:"tip_tit"},[t._v("图片")])]),e("div",{on:{click:function(e){return t.addRoutine()}}},[e("div",{staticClass:"add_routine acea-row row-center-wrapper"},[e("span",{staticClass:"iconfont iconxiaochengxu"})]),e("span",{staticClass:"tip_tit"},[t._v("小程序")])])])]),e("Button",{attrs:{type:"success"}},[t._v("添加图片/小程序")])],2)],1),e("FormItem",t._l(t.formItem.welcome_words.attachments,(function(n,r){return e("div",{key:r},[e("div",{staticClass:"ivu-tag ivu-tag-dot ivu-tag-size-default ivu-tag-closable ivu-tag-checked"},["image"==n.msgtype?e("span",{staticClass:"iconfont icontupian4 tag_icon"}):t._e(),"miniprogram"==n.msgtype?e("span",{staticClass:"iconfont iconxiaochengxu tag_icon"}):t._e(),"image"==n.msgtype?e("span",{staticClass:"ivu-tag-text"},[t._v(t._s(n.image.pic_url))]):t._e(),"miniprogram"==n.msgtype?e("span",{staticClass:"ivu-tag-text"},[t._v(t._s(n.miniprogram.title))]):t._e(),"image"==n.msgtype?e("i",{staticClass:"ivu-icon ivu-icon-ios-close",on:{click:function(e){return t.wordsDel(n.image.pic_url)}}}):t._e(),"miniprogram"==n.msgtype?e("i",{staticClass:"ivu-icon ivu-icon-ios-close",on:{click:function(e){return t.wordsDel(n.miniprogram.title)}}}):t._e()])])})),0),e("FormItem",{attrs:{label:"发送类型",prop:"template_type"}},[e("RadioGroup",{model:{value:t.formItem.template_type,callback:function(e){t.$set(t.formItem,"template_type",e)},expression:"formItem.template_type"}},[e("Radio",{attrs:{label:"0"}},[t._v("立即发送")]),e("Radio",{attrs:{label:"1"}},[t._v("定时发送")])],1)],1),1==t.formItem.template_type?e("FormItem",{attrs:{label:"定时发送时间"}},[e("DatePicker",{staticClass:"input-add",attrs:{type:"datetime",placeholder:"请选择发送时间"},on:{"on-change":t.snedChangeTime},model:{value:t.formItem.send_time,callback:function(e){t.$set(t.formItem,"send_time",e)},expression:"formItem.send_time"}})],1):t._e()],2)],1),e("Card",{staticClass:"fixed-card",attrs:{bordered:!1,"dis-hover":""}},[e("div",{staticClass:"acea-row row-center-wrapper"},[e("Button",{staticClass:"step_btn",attrs:{type:"primary"},on:{click:function(e){return t.submit()}}},[t._v("提交")])],1)]),e("Modal",{attrs:{width:"960px",scrollable:"","footer-hide":"",closable:"",title:"logo","mask-closable":!1,"z-index":9},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",{attrs:{title:"添加小程序消息","z-index":1},on:{"on-ok":t.routineConfirm},model:{value:t.modalRoutine,callback:function(e){t.modalRoutine=e},expression:"modalRoutine"}},[e("Form",{attrs:{model:t.formItem,"label-width":110}},[e("FormItem",{attrs:{label:"封面图:"}},[e("div",{staticClass:"picBox",on:{click:function(e){return t.modalPicTap("routine")}}},[t.rontineObj.miniprogram.pic_url?e("div",{staticClass:"pictrue"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.rontineObj.miniprogram.pic_url,expression:"rontineObj.miniprogram.pic_url"}]})]):e("div",{staticClass:"upLoad"},[e("div",{staticClass:"iconfont"},[t._v("+")])])])]),e("FormItem",{attrs:{label:"小程序消息标题:"}},[e("Input",{model:{value:t.rontineObj.miniprogram.title,callback:function(e){t.$set(t.rontineObj.miniprogram,"title",e)},expression:"rontineObj.miniprogram.title"}})],1),e("FormItem",{attrs:{label:"小程序Appid:"}},[e("Input",{model:{value:t.rontineObj.miniprogram.appid,callback:function(e){t.$set(t.rontineObj.miniprogram,"appid",e)},expression:"rontineObj.miniprogram.appid"}})],1),e("FormItem",{attrs:{label:"小程序功能页:"}},[e("Input",{model:{value:t.rontineObj.miniprogram.page,callback:function(e){t.$set(t.rontineObj.miniprogram,"page",e)},expression:"rontineObj.miniprogram.page"}})],1)],1)],1),e("department",{ref:"department",attrs:{"active-department":t.activeDepartment,"is-site":t.isSite,userList:t.userList,"only-department":t.onlyDepartment},on:{changeMastart:t.changeMastart}}),e("Modal",{attrs:{scrollable:"",title:"选择用户标签",closable:!0,width:"540","footer-hide":!0,"mask-closable":!1},model:{value:t.labelShow,callback:function(e){t.labelShow=e},expression:"labelShow"}},[e("userLabel",{ref:"userLabel",on:{activeData:t.activeData,close:t.labelClose}})],1)],1)}),[],!1,null,"2934d5a6",null);e.default=g.exports},4512:function(t,e,n){"use strict";n("5f78")},"5f78":function(t,e,n){},"90e7":function(t,e,n){"use strict";n.d(e,"u",(function(){return a})),n.d(e,"i",(function(){return i})),n.d(e,"wb",(function(){return o})),n.d(e,"vb",(function(){return c})),n.d(e,"X",(function(){return s})),n.d(e,"c",(function(){return u})),n.d(e,"ab",(function(){return l})),n.d(e,"P",(function(){return m})),n.d(e,"kb",(function(){return d})),n.d(e,"H",(function(){return f})),n.d(e,"jb",(function(){return p})),n.d(e,"p",(function(){return b})),n.d(e,"n",(function(){return h})),n.d(e,"o",(function(){return g})),n.d(e,"q",(function(){return _})),n.d(e,"r",(function(){return v})),n.d(e,"S",(function(){return w})),n.d(e,"T",(function(){return O})),n.d(e,"Q",(function(){return j})),n.d(e,"R",(function(){return y})),n.d(e,"I",(function(){return C})),n.d(e,"B",(function(){return D})),n.d(e,"F",(function(){return I})),n.d(e,"E",(function(){return x})),n.d(e,"w",(function(){return k})),n.d(e,"G",(function(){return L})),n.d(e,"y",(function(){return T})),n.d(e,"D",(function(){return P})),n.d(e,"x",(function(){return F})),n.d(e,"v",(function(){return S})),n.d(e,"h",(function(){return M})),n.d(e,"d",(function(){return $})),n.d(e,"e",(function(){return B})),n.d(e,"xb",(function(){return R})),n.d(e,"yb",(function(){return A})),n.d(e,"zb",(function(){return E})),n.d(e,"Z",(function(){return U})),n.d(e,"lb",(function(){return Y})),n.d(e,"J",(function(){return G})),n.d(e,"nb",(function(){return N})),n.d(e,"mb",(function(){return z})),n.d(e,"ob",(function(){return J})),n.d(e,"pb",(function(){return V})),n.d(e,"qb",(function(){return q})),n.d(e,"rb",(function(){return W})),n.d(e,"Ab",(function(){return H})),n.d(e,"Bb",(function(){return K})),n.d(e,"K",(function(){return Q})),n.d(e,"f",(function(){return X})),n.d(e,"Cb",(function(){return Z})),n.d(e,"bb",(function(){return tt})),n.d(e,"cb",(function(){return et})),n.d(e,"C",(function(){return nt})),n.d(e,"z",(function(){return rt})),n.d(e,"Y",(function(){return at})),n.d(e,"db",(function(){return it})),n.d(e,"eb",(function(){return ot})),n.d(e,"fb",(function(){return ct})),n.d(e,"A",(function(){return st})),n.d(e,"L",(function(){return ut})),n.d(e,"O",(function(){return lt})),n.d(e,"M",(function(){return mt})),n.d(e,"N",(function(){return dt})),n.d(e,"g",(function(){return ft})),n.d(e,"t",(function(){return pt})),n.d(e,"s",(function(){return bt})),n.d(e,"U",(function(){return ht})),n.d(e,"gb",(function(){return gt})),n.d(e,"ib",(function(){return _t})),n.d(e,"b",(function(){return vt})),n.d(e,"hb",(function(){return wt})),n.d(e,"l",(function(){return Ot})),n.d(e,"a",(function(){return jt})),n.d(e,"k",(function(){return yt})),n.d(e,"j",(function(){return Ct})),n.d(e,"sb",(function(){return Dt})),n.d(e,"tb",(function(){return It})),n.d(e,"ub",(function(){return xt})),n.d(e,"m",(function(){return kt})),n.d(e,"V",(function(){return Lt})),n.d(e,"W",(function(){return Tt}));var r=n("b6bd");function a(t){return Object(r.a)({url:"setting/config/header_basics",method:"get",params:t})}function i(t,e){return Object(r.a)({url:e,method:"get",params:t})}function o(t){return Object(r.a)({url:t.url,method:"get",params:t.data})}function c(){return Object(r.a)({url:"notify/sms/temp/create",method:"get"})}function s(){return Object(r.a)({url:"serve/info",method:"get"})}function u(t){return Object(r.a)({url:"serve/captcha",method:"post",data:t})}function l(t){return Object(r.a)({url:"serve/meal_list",method:"get",params:t})}function m(t){return Object(r.a)({url:"serve/pay_meal",method:"post",data:t})}function d(){return Object(r.a)({url:"merchant/store",method:"GET"})}function f(){return Object(r.a)({url:"merchant/store/address",method:"GET"})}function p(t){return Object(r.a)({url:"merchant/store/".concat(t.id),method:"POST",data:t})}function b(t){return Object(r.a)({url:"freight/express",method:"get",params:t})}function h(){return Object(r.a)({url:"/freight/express/create",method:"get"})}function g(t){return Object(r.a)({url:"freight/express/".concat(t,"/edit"),method:"get"})}function _(t){return Object(r.a)({url:"freight/express/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function v(){return Object(r.a)({url:"freight/express/sync_express",method:"get"})}function w(t){return Object(r.a)({url:"setting/role",method:"GET",params:t})}function O(t){return Object(r.a)({url:"setting/role/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function j(t){return Object(r.a)({url:"setting/role/".concat(t.id),method:"post",data:t})}function y(t){return Object(r.a)({url:"setting/role/".concat(t,"/edit"),method:"get"})}function C(){return Object(r.a)({url:"setting/role/create",method:"get"})}function D(t){return Object(r.a)({url:"app/wechat/kefu",method:"get",params:t})}function I(t){return Object(r.a)({url:"app/wechat/kefu/create",method:"get",params:t})}function x(){return Object(r.a)({url:"app/wechat/kefu/add",method:"get"})}function k(t){return Object(r.a)({url:"app/wechat/kefu",method:"post",data:t})}function L(t){return Object(r.a)({url:"app/wechat/kefu/set_status/".concat(t.id,"/").concat(t.account_status),method:"PUT"})}function T(t){return Object(r.a)({url:"app/wechat/kefu/".concat(t,"/edit"),method:"GET"})}function P(t,e){return Object(r.a)({url:"app/wechat/kefu/record/".concat(e),method:"GET",params:t})}function F(t){return Object(r.a)({url:"app/wechat/kefu/chat_list",method:"GET",params:t})}function S(){return Object(r.a)({url:"notify/sms/is_login",method:"GET"})}function M(t){return Object(r.a)({url:"setting/city/list/".concat(t),method:"get"})}function $(t){return Object(r.a)({url:"setting/city/add/".concat(t),method:"get"})}function B(t){return Object(r.a)({url:"setting/city/".concat(t,"/edit"),method:"get"})}function R(t){return Object(r.a)({url:"setting/shipping_templates/list",method:"get",params:t})}function A(t){return Object(r.a)({url:"setting/shipping_templates/city_list",method:"get"})}function E(t,e){return Object(r.a)({url:"setting/shipping_templates/save/".concat(t),method:"post",data:e})}function U(t){return Object(r.a)({url:"setting/shipping_templates/".concat(t,"/edit"),method:"get"})}function Y(){return Object(r.a)({url:"merchant/store/get_header",method:"get"})}function G(t){return Object(r.a)({url:"merchant/store",method:"get",params:t})}function N(t,e){return Object(r.a)({url:"merchant/store/set_show/".concat(t,"/").concat(e),method:"put"})}function z(t){return Object(r.a)({url:"merchant/store/get_info/".concat(t),method:"get"})}function J(t){return Object(r.a)({url:"merchant/store_staff",method:"get",params:t})}function V(){return Object(r.a)({url:"merchant/store_staff/create",method:"get"})}function q(t){return Object(r.a)({url:"merchant/store_staff/".concat(t,"/edit"),method:"get"})}function W(t,e){return Object(r.a)({url:"merchant/store_staff/set_show/".concat(t,"/").concat(e),method:"put"})}function H(t){return Object(r.a)({url:"merchant/verify_order",method:"get",params:t})}function K(t){return Object(r.a)({url:"merchant/verify/spread_info/".concat(t),method:"get"})}function Q(){return Object(r.a)({url:"merchant/store_list",method:"get"})}function X(){return Object(r.a)({url:"setting/city/clean_cache",method:"get"})}function Z(t){return Object(r.a)({url:"app/wechat/speechcraft",method:"get",params:t})}function tt(t){return Object(r.a)({url:"app/wechat/speechcraft/create",method:"get",params:t})}function et(t){return Object(r.a)({url:"app/wechat/speechcraft/".concat(t,"/edit"),method:"get"})}function nt(t){return Object(r.a)({url:"app/wechat/kefu/login/".concat(t),method:"get"})}function rt(t){return Object(r.a)({url:"app/feedback",method:"get",params:t})}function at(t){return Object(r.a)({url:"serve/sms/sign",method:"PUT",data:t})}function it(){return Object(r.a)({url:"app/wechat/speechcraftcate",method:"get"})}function ot(){return Object(r.a)({url:"app/wechat/speechcraftcate/create",method:"get"})}function ct(t){return Object(r.a)({url:"app/wechat/speechcraftcate/".concat(t,"/edit"),method:"get"})}function st(t){return Object(r.a)({url:"app/feedback/".concat(t,"/edit"),method:"get"})}function ut(t){return Object(r.a)({url:"setting/system_out/index",method:"get",params:t})}function lt(t,e){return Object(r.a)({url:"setting/system_out/set_status/".concat(t,"/").concat(e),method:"put"})}function mt(t){return Object(r.a)({url:"setting/system_out/save",method:"post",params:t})}function dt(t,e){return Object(r.a)({url:"setting/system_out/update/".concat(t),method:"post",params:e})}function ft(t){return Object(r.a)({url:"city",method:"get",params:t})}function pt(t){return Object(r.a)({url:"setting/config/edit_new_build/"+t,method:"get"})}function bt(){return Object(r.a)({url:"/setting/config/image",method:"get"})}function ht(t){return Object(r.a)({url:"setting/config/save_basics",method:"post",data:t})}function gt(t){return Object(r.a)({url:"/setting/config/storage",method:"get",params:t})}function _t(t){return Object(r.a)({url:"/setting/config/storage/synch/".concat(t),method:"put"})}function vt(t){return Object(r.a)({url:"/setting/config/storage/create/".concat(t),method:"get"})}function wt(t){return Object(r.a)({url:"/setting/config/storage/status/".concat(t),method:"put"})}function Ot(t){return Object(r.a)({url:"/setting/config/storage/domain/".concat(t),method:"get"})}function jt(t){return Object(r.a)({url:"/setting/config/storage/form/".concat(t),method:"get"})}function yt(t){return Object(r.a)({url:"/order/delivery_order/list",method:"get",params:t})}function Ct(t){return Object(r.a)({url:"/order/delivery_order/cancelForm/".concat(t),method:"get"})}function Dt(t,e){return Object(r.a)({url:"/system/form/save/".concat(t),method:"post",data:e})}function It(t,e){return Object(r.a)({url:"/system/form/info/".concat(t),method:"get",params:e})}function xt(t){return Object(r.a)({url:"/system/form/index",method:"get",params:t})}function kt(t,e){return Object(r.a)({url:"system/form/update_name/"+t,method:"post",data:e})}function Lt(t){return Object(r.a)({url:"setting/config/storage/save_type/".concat(t),method:"get"})}function Tt(t){return Object(r.a)({url:"/file/scan/upload",method:"post",headers:{"content-type":"multipart/form-data;"},data:t})}},a405:function(t,e,n){"use strict";n("d5fd")},d5fd:function(t,e,n){}}]); |