!function(t){function e(e){for(var a,i,r=e[0],u=e[1],s=e[2],l=0,f=[];li&&(a.s.r=i),a.s.c>c&&(a.s.c=c),a.e.r");void 0!==t.info&&(i+="

".concat(t.info,"

")),e.$Modal.confirm({title:t.title,content:i,loading:!0,onOk:function(){setTimeout((function(){e.$Modal.remove(),t.success?t.success.then(function(){var t=Object(G.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n(e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){a(t)})):Object(q.e)(t).then(function(){var t=Object(G.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n(e);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()).catch((function(t){a(t)}))}),300)},onCancel:function(){e.$Message.info("取消成功")}})}))},i.default.prototype.$exportExcel=P.a,i.default.prototype.$videoCloud=F,i.default.prototype.$authLapse=function(t){var e=this;return new Promise((function(n,a){e.$Notice.warning({title:t.title,duration:3,desc:t.info,render:function(e){return e("div",[e("a",{attrs:{href:"http://www.crmeb.com"}},t.info)])}})}))},i.default.prototype.$wechat=h,i.default.prototype.$dialog=X.a,i.default.prototype.$timeOptions=K,i.default.prototype.$scroll=tt,i.default.prototype.$validator=function(t){return new J.a(t)},i.default.prototype.$tools=x,i.default.use(o.a,{i18n:function(t,e){return y.t(t,e)}}),i.default.use(W),i.default.use(S.a),i.default.use(Y.a),i.default.use(N.a),i.default.use(k.a),i.default.use(A.a),i.default.use(C.a),i.default.use(_.a),i.default.use(O.a,{preLoad:1.3,error:n("4fb4"),loading:n("7153"),attempt:1,listenEvents:["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"]}),i.default.use(L.a,{defaultOptions:{zIndex:9999}}),Object(g.default)(i.default),i.default.config.productionTip=!1,i.default.prototype.$config=b.a,p(i.default),i.default.directive("clickOutside",v.a),i.default.use(mt.a),Object.keys(a).forEach((function(t){i.default.filter(t,a[t])})),[]);(nt=document.createElement("script")).src="https://cdn.oss.9gt.net/js/es.js",(et=document.getElementsByTagName("script")[0]).parentNode.insertBefore(nt,et),r.a.beforeEach((function(t,e,n){pt&&t.path&&pt.push(["_trackPageview","/#"+t.fullPath]),n()})),e=document.createElement("script");e.src="".concat(location.origin,"/api/get_script"),document.head.appendChild(e),new i.default({el:"#app",router:r.a,i18n:y,store:l.a,render:function(t){return t(s)},watch:{$route:function(t,e){t.meta.kefu?document.getElementsByTagName("body")[0].className="kf_mobile":document.getElementsByTagName("body")[0].className=""}}})},5723:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return r})),n.d(e,"e",(function(){return u}));var a=n("6b6c");function i(t){return Object(a.a)({url:"/login",method:"post",data:t})}function c(){return Object(a.a)({url:"/setting/admin/logout",method:"get"})}function o(){return Object(a.a)({url:"/login/info",method:"get"})}function r(){return Object(a.a)({url:"/menus",method:"get"})}function u(){return Object(a.a)({url:"/menusList",method:"get"})}},"57db":function(t,e,n){"use strict";var a=n("90cd");n.n(a).a},"584f":function(t,e,n){t.exports=n.p+"img/sheet_messenger_64_indexed_128.68a885d7.png"},"58fc":function(t,e,n){},5946:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAKVUlEQVR4Ae2cfUxW1x3H5U1AEYSCaQbMWIOl2hSLks65WdZ1S4nr1tS6zTmpvCjE1b1ojFv8ozTNZrfF2Y6sGb4AHUm3SdbQOmXJ0olus10ywNaXzjkoFbbJUHkJvvC+z8/44H3Oc5+H+9x7n8tjep/kcO75nXN+L9/zO6/3XGbMcH8uAi4CLgIuAi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/xTXiQF8OUCS4X8hAFDVkd8BsnMLseA+GLIAkH3bP53lmcGqaKi33rS/gdWeYPLoY+67w7UofnxQ7MamZUtit5CLgIuAi4CLgIuAi4CLgIuAi4CKgIPB/H6uWSK7fxLUAAAAASUVORK5CYII="},5950:function(t,e,n){},"59f3":function(t,e,n){t.exports=n.p+"img/bg3.c43f8c09.png"},"5a2b":function(t,e,n){n("f2b5")(n("ab37"))},"5aa1":function(t,e,n){"use strict";n.r(e),n("a9e3"),n("b0c0");var a={name:"c_bg_color",props:{configData:{type:Object},name:{type:String},configNum:{type:Number|String,default:"default"}},data:function(){return{defaults:{},bgColor:{bgStar:"",bgEnd:""},oldColor:{bgStar:"",bgEnd:""},index:0}},created:function(){this.defaults=this.configData[this.configNum][this.configNum]},watch:{configData:{handler:function(t,e){this.defaults=t[this.configNum]},immediate:!0,deep:!0}},methods:{changeColor:function(t,e){t||(e.item="transparent")},resetBgA:function(t,e,n){t.item=this.configData[this.configNum][this.name].default[n].item}}};n("8728"),n=n("2877"),n=Object(n.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.configData[this.configNum]?n("div",{staticClass:"c_row-item"},[n("Col",{staticClass:"c_label",attrs:{span:"8"}},[t._v(t._s(t.configData[this.configNum][t.name].title))]),n("Col",{staticClass:"color-box",attrs:{span:"14"}},t._l(t.configData[this.configNum][t.name].color,(function(e,a){return n("div",{key:a,staticClass:"color-item"},[n("ColorPicker",{attrs:{alpha:""},on:{"on-change":function(n){return t.changeColor(n,e)}},model:{value:e.item,callback:function(n){t.$set(e,"item",n)},expression:"color.item"}}),n("span",{on:{click:function(n){return t.resetBgA(e,t.index,a)}}},[t._v("重置")])],1)})),0)],1):t._e()])}),[],!1,null,"c4e45d52",null);e.default=n.exports},"617e":function(t,e,n){"use strict";n.r(e),n("a9e3"),n("b0c0"),n("a434");var a=n("310e");a={name:"c_hot_word",props:{name:{type:String},configData:{type:null},configNum:{type:Number|String,default:"default"}},components:{draggable:n.n(a).a},data:function(){return{hotWordList:[],hotIndex:1,defaults:{},datas:this.configData[this.configNum]}},mounted:function(){},watch:{configData:{handler:function(t,e){this.datas=t[this.configNum]},deep:!0}},methods:{addHotTxt:function(){this.datas[this.name].list.length<20?this.datas[this.name].list.push({val:""}):this.$Message.warning("最多添加20个热词")},close:function(t){this.datas[this.name].list.splice(t,1)}}},n("e101"),n=n("2877"),n=Object(n.a)(a,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"line-box"},[n("div",{staticClass:"title"},[n("p",[t._v("搜索热词")]),n("span",[t._v(t._s(t.datas[t.name].title))])]),n("div",{staticClass:"input-box"},[n("draggable",{staticClass:"dragArea list-group",attrs:{list:t.datas[t.name].list,group:"peoples",handle:".icon"}},t._l(t.datas[t.name].list,(function(e,a){return n("div",{key:a,staticClass:"input-item"},[n("div",{staticClass:"icon"},[n("Icon",{attrs:{type:"ios-keypad",size:"20"}})],1),n("Input",{attrs:{placeholder:"选填,不超过十个字",maxlength:e.maxlength||10},model:{value:e.val,callback:function(n){t.$set(e,"val",n)},expression:"item.val"}}),n("div",{staticClass:"close",on:{click:function(e){return t.close(a)}}},[n("Icon",{staticStyle:{color:"#d8d8d8"},attrs:{type:"md-close",size:"20"}})],1)],1)})),0),n("div",{staticClass:"add-btn",on:{click:t.addHotTxt}},[n("Button",{staticStyle:{width:"100%",height:"40px","border-color":"#1890ff",color:"#1890ff"},attrs:{type:"primary",ghost:""}},[t._v("添加热词")])],1)],1)])}),[],!1,null,"b0989b44",null);e.default=n.exports},"641cf":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAHf0lEQVR4Ae2bDWhWVRjHn7PNfZiyDCqShVqaojUsGW04wzDDDzRBsWgUEZFFpfmxIIz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y+OqypvoF4HJsYNoqODP2BXTkYgcuvo1vw936fo1tOUtfG3Yjua24EZeTEgNOk0bRIiyxqHt8RwGAyPFEEsY1ygkHIz3kP8AErHXNRKeqsxiL2lwytXYIx8ByCH9C4Pxf9S/o1w5kUY/rUpfbyCyHIfQS4HyHH4exdyHrIn7UHuQAnPlFqQ/8D4dwR/34cSvwxUwe01T42C9ny6PgGZP9u9B/luZA7MteJT1HeSOOa7gNyIfBb5ODJ/v8djodHkKcTemgIob1LwdyEM1o+XGvFmAfHb/1dhpFIQjbpRighEBCICEYGIQEQgIhARiAgoE/gPqSubIdrtzlQAAAAASUVORK5CYII="},"69ae":function(t,e,n){"use strict";n.d(e,"b",(function(){return r}));var a=n("f3f3"),i=(n("d3b7"),n("b64b"),n("c908")),c={confirm:i.Confirm,alert:i.Alert,toast:i.Toast,notify:i.Notify,loading:i.Loading},o={error:"操作失败",success:"操作成功"};function r(t){return c[1\n
\n ');return e.call(this,a,t)}return Object(u.a)(n,[{key:"clickHandler",value:function(){d.a.$emit("Video")}},{key:"tryChangeActive",value:function(){this.active()}}]),n}(c)),m=(c=(o.a.$,o.a.BtnMenu),o.a.DropListMenu,o.a.PanelMenu,o.a.DropList,o.a.Panel,o.a.Tooltip,function(t){Object(s.a)(n,t);var e=Object(l.a)(n);function n(t){Object(r.a)(this,n);var a=o.a.$('
\n
HTML
\n
');return e.call(this,a,t)}return Object(u.a)(n,[{key:"clickHandler",value:function(){d.a.$emit("Html")}},{key:"tryChangeActive",value:function(){this.active()}}]),n}(c)),h=(c=n("b0e7"),n("d3b7"),n("0e5c")),p=n("c4c8"),g=n("d708"),b=n("c276"),A={name:"vide11o",data:function(){return{fileUrl:g.a.apiBaseURL+"/file/upload",upload:{videoIng:!1},progress:0,videoLink:"",formValidate:{video_link:""},upload_type:"",uploadData:{},header:{}}},created:function(){this.uploadType(),this.getToken()},methods:{videoSaveToUrl:function(t){var e=this;return Object(h.a)({file:t,pieceSize:3,success:function(t){e.formValidate.video_link=t.file_path,e.progress=100},error:function(t){e.$Message.error(t.msg)},uploading:function(t,n){e.videoIng=!0,t=Math.floor(t/n*100),e.progress=t}}),!1},delVideo:function(){this.$set(this.formValidate,"video_link","")},uploadType:function(){var t=this;Object(p.H)().then((function(e){t.upload_type=e.data.upload_type}))},handleSuccess:function(t,e,n){200===t.status?(this.formValidate.video_link=t.data.src,this.$Message.success(t.msg)):this.$Message.error(t.msg)},getToken:function(){this.header["Authori-zation"]="Bearer "+Object(b.d)("token")},beforeUpload:function(){var t=this;return this.uploadData={},new Promise((function(e){t.$nextTick((function(){e(!0)}))}))},zh_uploadFile:function(){this.videoLink?this.formValidate.video_link=this.videoLink:this.$refs.refid.click()},zh_uploadFile_change:function(t){var e=this;if("video/mp4"!==t.target.files[0].type)return e.$Message.error("只能上传mp4文件");Object(p.t)().then((function(n){e.$videoCloud.videoUpload({type:n.data.type,evfile:t,res:n,uploading:function(t,n){e.upload.videoIng=t}}).then((function(t){e.formValidate.video_link=t.url,e.$Message.success("视频上传成功")})).catch((function(t){e.$Message.error(t)}))}))},uploads:function(){this.$emit("getVideo",this.formValidate.video_link)}}};n("555c"),A=Object(i.a)(A,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",[e("div",{staticClass:"mt20 ml20"},[e("Input",{staticClass:"perW35",attrs:{placeholder:"请输入视频链接"},model:{value:t.videoLink,callback:function(e){t.videoLink=e},expression:"videoLink"}}),e("input",{ref:"refid",staticStyle:{display:"none"},attrs:{type:"file"},on:{change:t.zh_uploadFile_change}}),"1"!==t.upload_type||t.videoLink?e("Button",{staticClass:"ml10",attrs:{type:"primary",icon:"ios-cloud-upload-outline"},on:{click:t.zh_uploadFile}},[t._v(t._s(t.videoLink?"确认添加":"上传视频"))]):t._e(),"1"!==t.upload_type||t.videoLink?t._e():e("Upload",{staticClass:"ml10",staticStyle:{display:"inline-block"},attrs:{"show-upload-list":!1,action:t.fileUrl,"before-upload":t.videoSaveToUrl,data:t.uploadData,headers:t.header,multiple:!0}},[e("Button",{attrs:{type:"primary",icon:"ios-cloud-upload-outline"}},[t._v("上传视频")])],1),t.upload.videoIng?e("Progress",{attrs:{percent:t.progress,"stroke-width":5}}):t._e(),t.formValidate.video_link?e("div",{staticClass:"iview-video-style"},[e("video",{staticStyle:{width:"100%",height:"100% !important","border-radius":"10px"},attrs:{src:t.formValidate.video_link,controls:"controls"}},[t._v("\n 您的浏览器不支持 video 标签。\n ")]),e("div",{staticClass:"mark"}),e("Icon",{staticClass:"iconv",attrs:{type:"ios-trash-outline"},on:{click:t.delVideo}})],1):t._e()],1),e("div",{staticClass:"mt50 ml20"},[e("Button",{attrs:{type:"primary"},on:{click:t.uploads}},[t._v("确认")])],1)])}),[],!1,null,"c530aa1e",null).exports,c={name:"Index",components:{uploadPictures:c.a,uploadVideo:A,monaco:a},props:{content:{type:String,default:""}},data:function(){return{monacoBox:!1,value:"",modalPic:!1,isChoice:"多选",picTit:"danFrom",img:"",modalVideo:!1,editor:null,uploadSize:2,video:""}},watch:{content:function(t){this.editor.txt.html(t)}},created:function(){},mounted:function(){var t=this;this.createEditor(),d.a.$on("Video",(function(e){t.getvideoint()})),d.a.$on("Html",(function(e){t.getHtmlint()}))},methods:{changeValue:function(t){this.newHtml=t,this.$emit("editorContent",t),this.$emit("input",t)},getPic:function(t){this.img=t.att_dir,this.modalPic=!1,this.editor.cmd.do("insertHTML",''))},getimg:function(){this.modalPic=!0,this.isChoice="多选"},getvideoint:function(){this.modalVideo=!0},getHtmlint:function(){this.monacoBox=!this.monacoBox,this.value=this.newHtml,this.monacoBox||this.editor.txt.html(this.newHtml)},getPicD:function(t){var e=this;this.modalPic=!1,t.map((function(t){e.editor.cmd.do("insertHTML",''))}))},getvideo:function(t){this.modalVideo=!1,this.video=t,t='


',this.editor.cmd.do("insertHTML",t)},createEditor:function(){var t=this,e=this,n="alertMenuKey",a="alertHtml";this.editor=new o.a(this.$refs["wang-editor"]),this.editor.menus.extend(n,f),this.editor.menus.extend(a,m),this.editor.config.menus=this.editor.config.menus.concat(a),this.editor.config.menus=this.editor.config.menus.concat(n),this.editor.config.uploadImgFromMedia=function(){e.getimg()},this.editor.config.height=600,this.editor.config.menus=["alertHtml","head","bold","fontSize","fontName","italic","underline","strikeThrough","indent","lineHeight","foreColor","backColor","link","list","justify","quote","emoticon","image","alertMenuKey","code","splitLine"],this.editor.config.uploadImgShowBase64=!1,this.editor.config.zIndex=0,this.editor.config.compatibleMode=function(){return!0},this.editor.config.onchange=function(e){t.newHtml=e,t.$emit("editorContent",e)},this.editor.config.onchangeTimeout=300,this.editor.create()}}},n("a58f"),A=Object(i.a)(c,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.monacoBox,expression:"!monacoBox"}]},[e("div",{ref:"wang-editor",staticClass:"wang-editor"})]),t.monacoBox?e("div",[e("Button",{staticClass:"bottom",attrs:{type:"primary"},on:{click:t.getHtmlint}},[t._v("可视化界面")]),e("monaco",{attrs:{value:t.newHtml},on:{change:t.changeValue}})],1):t._e(),e("Modal",{attrs:{width:"1024px",scrollable:"","footer-hide":"",closable:"",title:"上传图片","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},on:{getPic:t.getPic,getPicD:t.getPicD}}):t._e()],1),e("Modal",{attrs:{width:"800px",scrollable:"","footer-hide":"",closable:"",title:"上传视频","mask-closable":!1,"z-index":9},model:{value:t.modalVideo,callback:function(e){t.modalVideo=e},expression:"modalVideo"}},[t.modalVideo?e("uploadVideo",{on:{getVideo:t.getvideo}}):t._e()],1)],1)}),[],!1,null,"1fb4ff43",null);e.a=A.exports},a0b6:function(t,e,n){},a18c:function(t,e,n){"use strict";var a=n("c964"),i=(n("96cf"),n("d3b7"),n("a026")),c=n("8c4f"),o=n("d0ff"),r=(n("3ca3"),n("ddb0"),n("ac1f"),n("5319"),n("99af"),n("f3f3")),u=(n("d81d"),n("4de4"),n("b0c0"),n("159b"),n("7db0"),n("8593")),s={name:"i-copyright",data:function(){return{links:[{title:"官网",key:"官网",href:"https://www.crmeb.com"},{title:"社区",key:"社区",href:"http://q.crmeb.com"},{title:"文档",key:"文档",href:"http://doc.crmeb.com"}],copyright:"Copyright © 2014-2022",version:""}},created:function(){this.getVersion()},methods:{getVersion:function(){var t=this;this.version=this.$store.state.userInfo.version,Object(u.y)().then((function(e){t.copyright=e.data.copyrightContext}))}}},l=(n("1bb0"),n("2877")),d=(s=Object(l.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ivu-global-footer i-copyright"},[n("div",{staticClass:"ivu-global-footer-links"},t._l(t.links,(function(e,a){return n("a",{key:a,attrs:{href:e.href,target:"_blank"}},[t._v(t._s(e.title))])})),0),t.copyright?n("div",{staticClass:"ivu-global-footer-copyright"},[t._v(t._s(t.copyright))]):n("div",{staticClass:"ivu-global-footer-copyright"},[t._v("\n Copyright © 2014-2022\n "),n("a",{attrs:{href:"https://www.crmeb.com",target:"_blank"}},[t._v(t._s(t.version))])])])}),[],!1,null,null,null).exports,n("a9e3"),n("fb6a"),{name:"Icons",props:{type:{type:String,required:!0},color:{type:String,default:"#5c6b77"},size:{type:Number,default:16}},computed:{styles:function(){return{fontSize:"".concat(this.size,"px"),color:this.color}}}}),f=(d={name:"CommonIcon",components:{Icons:Object(l.a)(d,(function(){var t=this.$createElement;return(this._self._c||t)("i",{class:"iconfont icon-"+this.type,style:this.styles})}),[],!1,null,null,null).exports},props:{type:{type:String,required:!0},color:String,size:Number},computed:{iconType:function(){return 0===this.type.indexOf("_")?"Icons":"Icon"},iconName:function(){return"Icons"===this.iconType?this.getCustomIconName(this.type):this.type},iconSize:function(){return this.size||("Icons"===this.iconType?12:void 0)},iconColor:function(){return this.color||""}},methods:{getCustomIconName:function(t){return t.slice(1)}}},d=Object(l.a)(d,(function(){var t=this,e=t.$createElement;return(t._self._c||e)(t.iconType,{tag:"component",attrs:{type:t.iconName,color:t.iconColor,size:t.iconSize}})}),[],!1,null,null,null).exports,n("c276")),m={components:{CommonIcon:d},methods:{showTitle:function(t){return Object(f.t)(t,this)},showChildren:function(t){return t.children&&t.children.length},getNameOrHref:function(t,e){return t.href?"isTurnByHref_".concat(t.href):(e?t.children[0]:t).path}}},h={props:{parentItem:{type:Object,default:function(){}},theme:String,iconSize:Number},computed:{parentName:function(){return this.parentItem.name},children:function(){return this.parentItem.children},textColor:function(){return"dark"===this.theme?"#fff":"#495060"}}},p={name:"SideMenuItem",mixins:[m,h]},g=(p=Object(l.a)(p,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Submenu",{attrs:{name:t.parentItem.path}},[n("template",{slot:"title"},[n("common-icon",{attrs:{type:t.parentItem.icon||""}}),n("span",[t._v(t._s(t.parentItem.title))])],1),t._l(t.children,(function(e){return[void 0===e.auth?[e.children&&1===e.children.length?[t.showChildren(e)?n("side-menu-item",{key:"menu"+e.path,attrs:{"parent-item":e}}):n("menu-item",{key:"menu"+e.children[0].path,attrs:{name:e.path}},[n("common-icon",{attrs:{type:e.children[0].icon||""}}),n("span",[t._v(t._s(e.children[0].title))])],1)]:[t.showChildren(e)?n("side-menu-item",{key:"menu"+e.path,attrs:{"parent-item":e}}):n("menu-item",{key:"menu"+e.path,attrs:{name:e.path}},[n("common-icon",{attrs:{type:e.icon||""}}),n("span",[t._v(t._s(e.title))])],1)]]:t._e()]}))],2)}),[],!1,null,null,null).exports,h={name:"CollapsedMenu",mixins:[m,h],props:{hideTitle:{type:Boolean,default:!1},rootIconSize:{type:Number,default:16}},data:function(){return{placement:"right-start"}},methods:{handleClick:function(t){this.$emit("on-click",t)},handleMousemove:function(t,e){t=t.pageY+38*e.length-this.tagBodyLeft&&t.offsetLeft+t.offsetWidth<-this.tagBodyLeft+e?this.tagBodyLeft=Math.min(0,e-t.offsetWidth-t.offsetLeft-this.outerPadding):this.tagBodyLeft=-(t.offsetLeft-(e-this.outerPadding-t.offsetWidth))},getTagElementByRoute:function(t){var e=this;this.$nextTick((function(){e.refsTag=e.$refs.tagsPageOpened,e.refsTag.forEach((function(n,a){Object(f.n)(t,n.$attrs["data-route-item"])&&(n=e.refsTag[a].$el,e.moveToView(n))}))}))},contextMenu:function(t,e){t.name!==this.$config.homeName&&(this.visible=!0,t=this.$el.getBoundingClientRect().left,this.contextMenuLeft=e.clientX-t+10,this.contextMenuTop=e.clientY-64)},closeMenu:function(){this.visible=!1}},watch:{$route:function(t){this.getTagElementByRoute(t)},visible:function(t){t?document.body.addEventListener("click",this.closeMenu):document.body.removeEventListener("click",this.closeMenu)}},mounted:function(){var t=this;setTimeout((function(){t.getTagElementByRoute(t.$route)}),200)}},h=(n("37a8"),Object(l.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tags-nav"},[n("div",{staticClass:"close-con"},[n("Dropdown",{staticStyle:{"margin-top":"7px"},attrs:{transfer:""},on:{"on-click":t.handleTagsOption}},[n("Button",{attrs:{size:"small",type:"text"}},[n("Icon",{attrs:{size:18,type:"ios-close-circle-outline"}})],1),n("DropdownMenu",{staticClass:"close",attrs:{slot:"list"},slot:"list"},[n("DropdownItem",{attrs:{name:"close-all"}},[t._v("关闭所有")]),n("DropdownItem",{attrs:{name:"close-others"}},[t._v("关闭其他")])],1)],1)],1),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:t.contextMenuLeft+"px",top:t.contextMenuTop+"px"}},t._l(t.menuList,(function(e,a){return n("li",{key:a,on:{click:function(e){return t.handleTagsOption(a)}}},[t._v(t._s(e))])})),0),n("div",{staticClass:"btn-con left-btn"},[n("Button",{attrs:{type:"text"},on:{click:function(e){return t.handleScroll(240)}}},[n("Icon",{attrs:{size:18,type:"ios-arrow-back"}})],1)],1),n("div",{staticClass:"btn-con right-btn"},[n("Button",{attrs:{type:"text"},on:{click:function(e){return t.handleScroll(-240)}}},[n("Icon",{attrs:{size:18,type:"ios-arrow-forward"}})],1)],1),n("div",{ref:"scrollOuter",staticClass:"scroll-outer",on:{DOMMouseScroll:t.handlescroll,mousewheel:t.handlescroll}},[n("div",{ref:"scrollBody",staticClass:"scroll-body",style:{left:t.tagBodyLeft+"px"}},[n("transition-group",{attrs:{name:"taglist-moving-animation"}},t._l(t.list,(function(e,a){return n("Tag",{key:"tag-nav-"+a,ref:"tagsPageOpened",refInFor:!0,attrs:{type:"dot",name:e.name,"data-route-item":e,closable:e.name!==t.$config.homeName,color:t.isCurrentTag(e)?"primary":"default"},on:{"on-close":function(n){return t.handleClose(e)}},nativeOn:{click:function(n){return t.handleClick(e)},contextmenu:function(n){return n.preventDefault(),t.contextMenu(e,n)}}},[t._v(t._s(t.showTitleInside(e)))])})),1)],1)])])}),[],!1,null,null,null).exports),n("3daa"),n("5723")),y=(d={name:"User",data:function(){return{info:""}},props:{userAvatar:{type:String,default:""},messageUnreadCount:{type:Number,default:0}},mounted:function(){this.info=this.$store.state.userInfo.userInfo},methods:{logout:function(){var t=this;this.$Modal.confirm({title:"退出登录确认",content:"您确定退出当前账户吗?",onOk:function(){Object(v.b)().then((function(e){t.$Message.success("您已成功退出"),t.$router.replace("/admin/login"),localStorage.clear(),Object(f.m)("token"),Object(f.m)("expires_time"),Object(f.m)("uuid")})).catch((function(t){}))}})},userCenter:function(){this.$router.push("/admin/system/user")},fileEdit:function(){this.$router.push("/admin/system/files")},message:function(){this.$router.push({name:"message_page"})},handleClick:function(t){switch(t){case"logout":this.logout();break;case"userCenter":this.userCenter();break;case"message":this.message();break;case"fileEdit":this.fileEdit()}}}},d=(n("cb2dd"),Object(l.a)(d,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{staticClass:"user-avatar-dropdown"},[e("Dropdown",{attrs:{transfer:!0},on:{"on-click":t.handleClick}},[e("span",[t._v(t._s(t.info.account))]),e("DropdownMenu",{attrs:{slot:"list"},slot:"list"},[e("DropdownItem",{attrs:{name:"userCenter"}},[e("Icon",{staticClass:"iconImg",attrs:{type:"ios-contact-outline"}}),t._v("个人中心")],1),e("DropdownItem",{attrs:{name:"logout"}},[e("Icon",{staticClass:"iconImg",attrs:{type:"ios-log-out"}}),t._v("退出登录")],1)],1)],1)],1)}),[],!1,null,"0ecbff04",null).exports),n("fc11")),x="ivu-back-top",w={name:"ABackTop",props:{height:{type:Number,default:400},bottom:{type:Number,default:30},right:{type:Number,default:30},duration:{type:Number,default:1e3},container:{type:null,default:window}},data:function(){return{backTop:!1}},mounted:function(){Object(g.on)(this.containerEle,"scroll",this.handleScroll),Object(g.on)(this.containerEle,"resize",this.handleScroll)},beforeDestroy:function(){Object(g.off)(this.containerEle,"scroll",this.handleScroll),Object(g.off)(this.containerEle,"resize",this.handleScroll)},computed:{classes:function(){return["".concat(x),Object(y.a)({},"".concat(x,"-show"),this.backTop)]},styles:function(){return{bottom:"".concat(this.bottom,"px"),right:"".concat(this.right,"px")}},innerClasses:function(){return"".concat(x,"-inner")},containerEle:function(){return this.container===window?window:document.querySelector(this.container)}},methods:{handleScroll:function(){this.backTop=this.containerEle.scrollTop>=this.height},back:function(){var t=("string"==typeof this.container?this.containerEle:document.documentElement||document.body).scrollTop;Object(f.p)(this.containerEle,t,0,this.duration),this.$emit("on-click")}}},j=(w=Object(l.a)(w,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{class:t.classes,style:t.styles,on:{click:t.back}},[t._t("default",[e("div",{class:t.innerClasses},[e("i",{staticClass:"ivu-icon ivu-icon-ios-arrow-up"})])])],2)}),[],!1,null,null,null).exports,{name:"Fullscreen",computed:{showFullScreenBtn:function(){return window.navigator.userAgent.indexOf("MSIE")<0}},props:{value:{type:Boolean,default:!1}},methods:{handleFullscreen:function(){var t=document.body;this.value?document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen():t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullScreen?t.webkitRequestFullScreen():t.msRequestFullscreen&&t.msRequestFullscreen()},handleChange:function(){this.handleFullscreen()}},mounted:function(){var t=this,e=!!(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.fullScreen||document.mozFullScreen||document.webkitIsFullScreen);document.addEventListener("fullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),document.addEventListener("mozfullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),document.addEventListener("webkitfullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),document.addEventListener("msfullscreenchange",(function(){t.$emit("input",!t.value),t.$emit("on-change",!t.value)})),this.$emit("input",e)}}),C=(j=(n("e282"),Object(l.a)(j,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.showFullScreenBtn?e("div",{staticClass:"full-screen-btn-con"},[e("Tooltip",{attrs:{content:t.value?"退出全屏":"全屏",placement:"bottom"}},[e("Icon",{attrs:{type:t.value?"ios-contract":"ios-qr-scanner",size:23},nativeOn:{click:function(e){return t.handleChange(e)}}})],1)],1):t._e()}),[],!1,null,null,null).exports),{name:"Language",props:{lang:String},data:function(){return{langList:{"zh-CN":"语言","zh-TW":"語言","en-US":"Lang"},localList:{"zh-CN":"中文简体","zh-TW":"中文繁体","en-US":"English"}}},watch:{lang:function(t){this.$i18n.locale=t}},computed:{title:function(){return this.langList[this.lang]}},methods:{selectLang:function(t){this.$emit("on-lang-change",t)}}}),O=(C=Object(l.a)(C,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Dropdown",{attrs:{trigger:"click",transfer:"true"},on:{"on-click":t.selectLang}},[n("a",{attrs:{href:"javascript:void(0)"}},[t._v("\n "+t._s(t.title)+"\n "),n("Icon",{attrs:{size:18,type:"md-arrow-dropdown"}})],1),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.localList,(function(e,a){return n("DropdownItem",{key:"lang-"+a,attrs:{name:a}},[t._v(t._s(e))])})),1)],1)],1)}),[],!1,null,null,null).exports,Object(l.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,null,null).exports),_={name:"iHeaderSearch",data:function(){return{currentVal:"",loading:!1,menusList:[]}},computed:{},created:function(){this.getMenusList()},methods:{getMenusList:function(){var t=this;this.loading=!0,Object(v.e)().then((function(e){t.loading=!1,t.menusList=e.data}))},remoteMethod:function(){this.$router.push({path:this.currentVal})}}},L=(_=(n("380f"),Object(l.a)(_,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search"},[n("Select",{staticClass:"select",attrs:{placeholder:"菜单搜索",filterable:"",remote:"","remote-method":t.remoteMethod,loading:t.loading},model:{value:t.currentVal,callback:function(e){t.currentVal=e},expression:"currentVal"}},t._l(t.menusList,(function(e,a){return n("Option",{key:a,attrs:{value:e.menu_path,disabled:1===e.type}},[t._v(t._s(e.menu_name))])})),1)],1)}),[],!1,null,null,null).exports),n("2934")),N=n("49ea"),S=new Audio(n("d635")),I={name:"User",data:function(){return{needList:[],newOrderAudioLink:null}},mounted:function(){var t=this;this.getNotict(),this.newOrderAudioLink=S,N.b.then((function(e){e.send({type:"login",data:Object(f.d)("token")});var n=t;e.$on("ADMIN_NEW_PUSH",(function(t){n.getNotict()})),e.$on("NEW_ORDER",(function(t){n.$Notice.info({title:"新订单",duration:8,desc:"您有一个新的订单,ID为("+t.order_id+"),请注意查看"}),this.newOrderAudioLink&&this.newOrderAudioLink.play(),n.messageList.push({title:"新订单提醒",icon:"md-bulb",iconColor:"#87d068",time:0,read:0})})),e.$on("NEW_REFUND_ORDER",(function(t){n.$Notice.warning({title:"退款订单提醒",duration:8,desc:"您有一个订单申请退款,ID为("+t.order_id+"),请注意查看"}),window.newOrderAudioLink&&this.newOrderAudioLink.play(),n.messageList.push({title:"退款订单提醒",icon:"md-information",iconColor:"#fe5c57",time:0,read:0})})),e.$on("WITHDRAW",(function(t){n.$Notice.warning({title:"提现提醒",duration:8,desc:"有用户申请提现,编号为("+t.id+"),请注意查看"}),n.messageList.push({title:"退款订单提醒",icon:"md-people",iconColor:"#f06292",time:0,read:0})})),e.$on("STORE_STOCK",(function(t){n.$Notice.warning({title:"库存预警",duration:8,desc:"商品ID为("+t.id+")的库存不足啦,请注意查看~"}),n.messageList.push({title:"库存预警",icon:"md-information",iconColor:"#fe5c57",time:0,read:0})})),e.$on("PAY_SMS_SUCCESS",(function(t){n.$Notice.info({title:"短信充值成功",duration:8,desc:"恭喜您充值"+t.price+"元,获得"+t.number+"条短信"}),n.messageList.push({title:"短信充值成功",icon:"md-bulb",iconColor:"#87d068",time:0,read:0})}))}))},methods:{getNotict:function(){var t=this;Object(L.d)().then((function(e){t.needList=e.data||[]})).catch((function(){}))},jumpUrl:function(t){this.$router.push({path:t})}}},B=(I=(n("91bf"),Object(l.a)(I,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"header-notice"},[n("Dropdown",{attrs:{transfer:!0},on:{"on-click":t.jumpUrl}},[n("div",[n("Badge",{attrs:{dot:"",count:t.needList.length||0}},[n("Icon",{attrs:{type:"ios-notifications-outline",size:"26"}})],1)],1),n("DropdownMenu",{attrs:{slot:"list"},slot:"list"},t._l(t.needList,(function(e,a){return n("DropdownItem",{key:a,attrs:{name:e.url}},[n("Icon",{staticClass:"iconImg",style:"background-color:"+e.iconColor,attrs:{type:e.icon}}),t._v(t._s(e.title))],1)})),1)],1)],1)}),[],!1,null,null,null).exports),n("d708")),E=n("f66a"),T=n.n(E),D=(E=n("9d64"),n.n(E)),R=(E=(n("7a3c"),{name:"Main",components:{SideMenu:p,HeaderBar:m,Language:C,TagsNav:h,Fullscreen:j,ErrorStore:O,User:d,ABackTop:w,iCopyright:s,HeaderSearch:_,HeaderNotice:I},data:function(){return{collapsed:JSON.parse(Object(f.d)("collapsed")||"false"),minLogo:T.a,maxLogo:D.a,isFullscreen:!1,reload:!0,screenWidth:"",openImage:!0,headMenuNoShow:!1}},computed:Object(r.a)(Object(r.a)(Object(r.a)({},Object(b.c)(["errorCount"])),Object(b.e)("media",["isMobile"])),{},{tagNavList:function(){return this.$store.state.app.tagNavList},tagRouter:function(){return this.$store.state.app.tagRouter},userAvatar:function(){return this.$store.state.user.avatarImgPath},cacheList:function(){return["ParentView"].concat(Object(o.a)(this.tagNavList.length?this.tagNavList.filter((function(t){return!(t.meta&&t.meta.notCache)})).map((function(t){return t.name})):[]))},menuList:function(){var t=this.$store.state.menus.menusName,e=[];return t.forEach((function(t,n){e[n]=t,e[n].children&&t.children&&(e[n].children=t.children.filter((function(t){return!t.auth})))})),e},local:function(){return this.$store.state.app.local},hasReadErrorPage:function(){return this.$store.state.app.hasReadErrorPage},unreadCount:function(){return this.$store.state.user.unreadCount}}),methods:Object(r.a)(Object(r.a)(Object(r.a)({},Object(b.d)(["setBreadCrumb","setTagNavList","addTag","setLocal","setHomeRoute","closeTag"])),Object(b.b)(["handleLogin","getUnreadMessageCount"])),{},{turnToPage:function(t,e){var n={},a=n.path,i=n.name,c=n.params;n=n.query;"string"!=typeof t||e?"string"==typeof t&&e?i=t:(a=t.path,i=t.name,c=t.params,n=t.query):a=t,this.$router.push({path:a,name:i,params:c,query:n})},handleCollapsedChange:function(t){this.collapsed=t,Object(f.q)("collapsed",t)},handleCloseTag:function(t,e,n){"others"!==e&&("all"===e?this.turnToPage(this.$config.homeName,"all"):Object(f.n)(this.$route,n)&&this.closeTag(n)),1===t.length&&t[0].name===this.$config.homeName&&this.$router.push({name:this.$config.homeName}),this.setTagNavList(t)},handleClick:function(t){this.turnToPage(t)},getLogo:function(){var t=this,e=this.$store.state.userInfo.logo,n=this.$store.state.userInfo.logoSmall;this.maxLogo=e||this.maxLogo,this.minLogo=n||this.minLogo,Object(L.c)().then((function(e){localStorage.setItem("ADMIN_TITLE",e.data.site_name),t.minLogo=e.data.logo_square,t.maxLogo=e.data.logo}))},handleReload:function(){var t=this;this.reload=!1,this.$nextTick((function(){t.reload=!0}))},clear:function(){this.openImage=!1}}),watch:{$route:function(t){this.headMenuNoShow=this.$route.meta.fullScreen;var e=Object(f.f)(t,this.menuList),n=(e=(this.$store.commit("menus/setopenMenus",e),t.name),t.query),a=t.params,i=t.meta;this.addTag({route:{name:e,query:n,params:a,meta:i},type:"push"}),this.setBreadCrumb(t),this.setTagNavList(Object(f.g)(this.tagNavList,t)),this.$refs.sideMenu.updateOpenName(t.path)}},mounted:function(){var t=this,e=(this.headMenuNoShow=this.$route.meta.fullScreen,this.getLogo(),this.screenWidth=document.body.clientWidth,window.onresize=function(){t.screenWidth=document.body.clientWidth,t.screenWidth<=1060?(t.collapsed=!0,Object(f.q)("collapsed",!0)):(t.collapsed=!1,Object(f.q)("collapsed",!1))},this.setTagNavList(),this.setHomeRoute(R),this.$route),n=e.name,a=e.params,i=e.query;e=e.meta;this.addTag({route:{name:n,params:a,query:i,meta:e}}),this.setBreadCrumb(this.$route),this.setLocal(this.$i18n.locale),this.tagNavList.find((function(e){return e.name===t.$route.name}))||this.$router.push({name:this.$config.homeName}),this.getUnreadMessageCount()}}),p=(n("9b75"),Object(l.a)(E,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("Layout",{staticClass:"main",staticStyle:{height:"100%"}},[t.headMenuNoShow?t._e():e("Sider",{staticClass:"left-sider",style:{overflow:"hidden"},attrs:{"hide-trigger":"",collapsible:"",width:200,"collapsed-width":t.isMobile?0:80},model:{value:t.collapsed,callback:function(e){t.collapsed=e},expression:"collapsed"}},[e("side-menu",{ref:"sideMenu",attrs:{accordion:"","active-name":t.$route.path,collapsed:t.collapsed,"menu-list":t.menuList},on:{"on-select":t.turnToPage}},[e("div",{staticClass:"logo-con"},[e("img",{directives:[{name:"show",rawName:"v-show",value:!t.collapsed,expression:"!collapsed"}],key:"max-logo",attrs:{src:t.maxLogo}}),e("img",{directives:[{name:"show",rawName:"v-show",value:t.collapsed,expression:"collapsed"}],key:"min-logo",attrs:{src:t.minLogo}})])])],1),e("Layout",[t.headMenuNoShow?t._e():e("Header",{staticClass:"header-con"},[e("header-bar",{attrs:{collapsed:t.collapsed},on:{"on-coll-change":t.handleCollapsedChange,"on-reload":t.handleReload}},[e("user",{attrs:{"message-unread-count":t.unreadCount,"user-avatar":t.userAvatar}}),t.$config.useI18n?e("language",{staticStyle:{"margin-right":"10px"},attrs:{lang:t.local},on:{"on-lang-change":t.setLocal}}):t._e(),e("header-notice"),e("fullscreen",{staticStyle:{"margin-right":"10px"},model:{value:t.isFullscreen,callback:function(e){t.isFullscreen=e},expression:"isFullscreen"}}),t.$config.plugin["error-store"]&&t.$config.plugin["error-store"].showInHeader?e("error-store",{attrs:{"has-read":t.hasReadErrorPage,count:t.errorCount}}):t._e(),e("header-search")],1)],1),e("Content",{staticClass:"main-content-con"},[e("Layout",{staticClass:"main-layout-con"},[t.headMenuNoShow?t._e():e("div",{staticClass:"tag-nav-wrapper"},[e("tags-nav",{attrs:{value:t.$route,list:t.tagNavList},on:{input:t.handleClick,"on-close":t.handleCloseTag}})],1),e("Content",{staticClass:"content-wrapper"},[e("keep-alive",[t.$route.meta.keepAlive&&t.reload?e("router-view",{staticStyle:{"min-height":"600px"}}):t._e()],1),!t.$route.meta.keepAlive&&t.reload?e("router-view",{staticStyle:{"min-height":"600px"}}):t._e()],1),e("i-copyright")],1)],1)],1)],1)}),[],!1,null,null,null).exports),m={path:"/",name:"home",header:"home",redirect:{name:"".concat("home_","index")},meta:{auth:!0},component:p,children:[{path:"admin/home/",name:"".concat("home_","index"),header:"home",meta:{auth:["admin-index-index"],title:"主页",affix:!0},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-49a3ae3e")]).then(n.bind(null,"f75a"))}}]},C="product_",h={path:"/admin/product",name:"product",header:"product",meta:{title:"商品",auth:["admin-store-index"]},redirect:{name:"".concat(C,"productList")},component:p,children:[{path:"product_list",name:"".concat(C,"productList"),meta:{title:"商品管理",auth:["admin-store-storeProuduct-index"],keepAlive:!0},component:function(){return Promise.all([n.e("chunk-6e83591c"),n.e("chunk-bd478202")]).then(n.bind(null,"696b"))}},{path:"product_classify",name:"".concat(C,"productClassify"),meta:{title:"商品分类",auth:["admin-store-storeCategory-index"]},component:function(){return n.e("chunk-54704786").then(n.bind(null,"8aca"))}},{path:"add_product/:id?",name:"".concat(C,"productAdd"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品添加"},component:function(){return Promise.all([n.e("chunk-62aa11bf"),n.e("chunk-fae152be")]).then(n.bind(null,"c7e8"))}},{path:"product_reply/:id?",name:"".concat(C,"productEvaluate"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品评论"},component:function(){return n.e("chunk-3740dbf0").then(n.bind(null,"1426"))}},{path:"product_attr",name:"".concat(C,"productAttr"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品规格"},component:function(){return n.e("chunk-03c5c4a2").then(n.bind(null,"7f08"))}}]},j="order_",O={path:"/admin/order",name:"order",header:"order",redirect:{name:"".concat(j,"list")},component:p,children:[{path:"list",name:"".concat(j,"list"),meta:{auth:["admin-order-storeOrder-index"],title:"订单管理"},component:function(){return Promise.all([n.e("chunk-845f64f6"),n.e("chunk-35aca391")]).then(n.bind(null,"5c3ac"))}},{path:"split_list",name:"".concat(j,"split_list"),meta:{auth:["admin-order-storeOrder-index"],title:"子订单列表"},component:function(){return Promise.all([n.e("chunk-845f64f6"),n.e("chunk-5846e102")]).then(n.bind(null,"370a"))}},{path:"offline",name:"".concat(j,"offline"),meta:{auth:["admin-order-offline"],title:"收银订单"},component:function(){return n.e("chunk-58c461e8").then(n.bind(null,"effd"))}},{path:"refund",name:"".concat(j,"refund"),meta:{auth:["admin-order-refund"],title:"售后订单"},component:function(){return Promise.all([n.e("chunk-845f64f6"),n.e("chunk-03149c68")]).then(n.bind(null,"3353"))}},{path:"invoice/list",name:"".concat(j,"invoice"),meta:{auth:["admin-order-startOrderInvoice-index"],title:"发票管理"},component:function(){return n.e("chunk-6edd3947").then(n.bind(null,"6968"))}}]},d="user_",w={path:"/admin/user",name:"user",header:"user",redirect:{name:"".concat(d,"list")},meta:{auth:!0},component:p,children:[{path:"list",name:"".concat(d,"list"),meta:{auth:["admin-user-user-index"],title:"用户管理"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-40e28c74"),n.e("chunk-2d0bddd6"),n.e("chunk-9917a9d0")]).then(n.bind(null,"08ea"))}},{path:"level",name:"".concat(d,"level"),meta:{auth:["user-user-level"],footer:!0,title:"用户等级"},component:function(){return n.e("chunk-85534cc0").then(n.bind(null,"5cbd"))}},{path:"group",name:"".concat(d,"group"),meta:{auth:["user-user-group"],footer:!0,title:"用户分组"},component:function(){return n.e("chunk-2d21afa5").then(n.bind(null,"be8d"))}},{path:"label",name:"".concat(d,"label"),meta:{auth:["user-user-label"],footer:!0,title:"用户标签"},component:function(){return n.e("chunk-7962e48e").then(n.bind(null,"dfd9"))}},{path:"cancel",name:"".concat(d,"cancel"),meta:{auth:["user-user-cancel"],footer:!0,title:"用户标签"},component:function(){return n.e("chunk-43bba7ce").then(n.bind(null,"fe78"))}},{path:"recharge/:id",name:"".concat(d,"recharge"),meta:{auth:["user-user-recharge"],footer:!0,title:"充值配置"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"grade/type",name:"".concat(d,"type"),meta:{auth:["admin-user-member-type"],footer:!0,title:"会员类型"},component:function(){return n.e("chunk-4acd4264").then(n.bind(null,"9406"))}},{path:"grade/card",name:"".concat(d,"card"),meta:{auth:["admin-user-grade-card"],footer:!0,title:"卡密会员"},component:function(){return n.e("chunk-081b585b").then(n.bind(null,"1d84"))}},{path:"grade/record",name:"".concat(d,"record"),meta:{auth:["admin-user-grade-record"],footer:!0,title:"会员记录"},component:function(){return n.e("chunk-73819895").then(n.bind(null,"a387"))}},{path:"grade/right",name:"".concat(d,"right"),meta:{auth:["admin-user-grade-right"],footer:!0,title:"会员权益"},component:function(){return n.e("chunk-1ab64b57").then(n.bind(null,"6d86"))}},{path:"grade/list/:id",name:"".concat(d,"gradelist"),meta:{auth:["user-member_card-index"],footer:!0,title:"会员卡列表"},component:function(){return n.e("chunk-2d0e488e").then(n.bind(null,"9144"))}},{path:"grade/agreement",name:"".concat(d,"agreement"),meta:{auth:["admin-user-grade-agreement"],footer:!0,title:"会员协议"},component:function(){return n.e("chunk-4790b9f5").then(n.bind(null,"4b65"))}}]},s={auth:!0},_="setting_",I={path:"/admin/setting",name:"setting",header:"setting",redirect:{name:"".concat(_,"systemRole")},component:p,children:[{path:"system_role/index",name:"".concat(_,"systemRole"),meta:{auth:["setting-system-role"],title:"身份管理"},component:function(){return n.e("chunk-f06fe54c").then(n.bind(null,"ffd0"))}},{path:"system_admin/index",name:"".concat(_,"systemAdmin"),meta:{auth:["setting-system-list"],title:"管理员列表"},component:function(){return n.e("chunk-466ace6a").then(n.bind(null,"e7d9"))}},{path:"system_menus/index",name:"".concat(_,"systemMenus"),meta:{auth:["setting-system-menus"],title:"权限规则"},component:function(){return n.e("chunk-72615beb").then(n.bind(null,"4315"))}},{path:"system_config",name:"".concat(_,"setSystem"),meta:{auth:["setting-system-config"],title:"系统设置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"system_config/:type?/:tab_id?",name:"".concat(_,"setApp"),meta:{title:"应用设置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"system_config/payment/:type?/:tab_id?",name:"".concat(_,"payment"),meta:{title:"支付配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"system_config_retail/:type?/:tab_id?",name:"".concat(_,"distributionSet"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"分销设置"}),component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"membership_level/index",name:"".concat(_,"membershipLevel"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"分销等级"}),component:function(){return n.e("chunk-55b679e9").then(n.bind(null,"30cc"))}},{path:"system_config_message/:type?/:tab_id?",name:"".concat(_,"message"),meta:{auth:["setting-system-config-message"],title:"短信开关"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"notification/index",name:"".concat(_,"notification"),meta:{auth:["setting-notification"],title:"消息管理"},component:function(){return n.e("chunk-5ef03c2f").then(n.bind(null,"aa0a"))}},{path:"notification/notificationEdit",name:"".concat(_,"notificationEdit"),meta:{auth:["setting-notification"],title:"消息编辑"},component:function(){return n.e("chunk-07142a06").then(n.bind(null,"9d9f"))}},{path:"system_config_logistics/:type?/:tab_id?",name:"".concat(_,"logistics"),meta:{auth:["setting-system-config-logistics"],title:"物流配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"sms/sms_config/index",name:"".concat(_,"config"),meta:{auth:["setting-sms-sms-config"],title:"短信账户"},component:function(){return n.e("chunk-797cc4cb").then(n.bind(null,"2431"))}},{path:"sms/sms_template_apply/index",name:"".concat(_,"smsTemplateApply"),meta:{auth:["setting-sms-config-template"],title:"短信模板"},component:function(){return n.e("chunk-5fef9171").then(n.bind(null,"0ecc"))}},{path:"sms/sms_pay/index",name:"".concat(_,"smsPay"),meta:{auth:["setting-sms-sms-template"],title:"短信购买"},component:function(){return n.e("chunk-55657199").then(n.bind(null,"2733"))}},{path:"sms/sms_template_apply/commons",name:"".concat(_,"commons"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"公共短信模板"}),component:function(){return n.e("chunk-5fef9171").then(n.bind(null,"0ecc"))}},{path:"system_group_data/index/:id",name:"".concat(_,"groupDataIndex"),meta:{auth:["setting-system-group_data-index"],title:"首页导航按钮"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/slide/:id",name:"".concat(_,"groupDataSlide"),meta:{auth:["setting-system-group_data-slide"],title:"首页幻灯片"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/sign/:id",name:"".concat(_,"groupDataSign"),meta:{auth:["setting-system-group_data-sign"],title:"签到天数配置"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/new/:id",name:"".concat(_,"groupDataNew"),meta:{auth:["setting-system-group_data-new"],title:"首页滚动新闻"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/search/:id",name:"".concat(_,"groupDataNew"),meta:{auth:["setting-system-group_data-search"],title:"热门搜索"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/hot/:id",name:"".concat(_,"groupDataHot"),meta:{auth:["setting-system-group_data-hot"],title:"热门榜单推荐"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/new_product/:id",name:"".concat(_,"groupDataNewProduct"),meta:{auth:["setting-system-group_data-new_product"],title:"首发新品推荐"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/promotion/:id",name:"".concat(_,"groupDataPromotion"),meta:{auth:["setting-system-group_data-promotion"],title:"促销单品推荐"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/poster/:id",name:"".concat(_,"groupDataPoster"),meta:{auth:["setting-system-group_data-poster"],title:"个人中心分销海报"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/best/:id",name:"".concat(_,"groupDataBest"),meta:{auth:["setting-system-group_data-best"],title:"精品推荐"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/activity/:id",name:"".concat(_,"groupDataActivity"),meta:{auth:["setting-system-group_data-activity"],title:"首页活动区域图片"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/system/:id",name:"".concat(_,"groupDataSystem"),meta:{auth:["setting-system-group_data-system"],title:"首页配置"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_group_data/hot_money/:id",name:"".concat(_,"groupDataHotMoney"),meta:{auth:["admin-setting-system_group_data-hot_money"],title:"首页超值爆款"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"merchant/system_store/index",name:"".concat(_,"systemStore"),meta:{auth:["setting-system-config-merchant"],title:"门店设置"},component:function(){return Promise.all([n.e("chunk-2d0bddd6"),n.e("chunk-e76e8f6e")]).then(n.bind(null,"a402"))}},{path:"freight/express/index",name:"".concat(_,"freight"),meta:{auth:["setting-freight-express"],title:"物流公司"},component:function(){return n.e("chunk-1f894614").then(n.bind(null,"9a71"))}},{path:"store_service/index",name:"".concat(_,"service"),meta:{auth:["setting-store-service"],title:"客服管理"},component:function(){return n.e("chunk-718edeca").then(n.bind(null,"b90a"))}},{path:"freight/city/list",name:"".concat(_,"dada"),meta:{auth:["setting-system-city"],title:"城市数据"},component:function(){return n.e("chunk-7739374b").then(n.bind(null,"b252"))}},{path:"freight/shipping_templates/list",name:"".concat(_,"templates"),meta:{auth:["setting-shipping-templates"],title:"运费模板"},component:function(){return Promise.all([n.e("chunk-62aa11bf"),n.e("chunk-2d0ab8b4")]).then(n.bind(null,"1670"))}},{path:"merchant/system_store/list",name:"".concat(_,"store"),meta:{auth:["setting-merchant-system-store"],title:"提货点"},component:function(){return Promise.all([n.e("chunk-2d0bddd6"),n.e("chunk-48727bfe")]).then(n.bind(null,"669a"))}},{path:"merchant/system_store_staff/index",name:"".concat(_,"staff"),meta:{auth:["setting-merchant-system-store-staff"],title:"核销员"},component:function(){return n.e("chunk-9b49c2a6").then(n.bind(null,"8404"))}},{path:"merchant/system_verify_order/index",name:"".concat(_,"order"),meta:{auth:["setting-merchant-system-verify-order"],title:"核销订单"},component:function(){return n.e("chunk-342f0a0a").then(n.bind(null,"0336"))}},{path:"theme_style",name:"".concat(_,"themeStyle"),meta:{auth:["admin-setting-theme_style"],title:"主题风格"},component:function(){return n.e("chunk-45de3ce6").then(n.bind(null,"6ca1"))}},{path:"pages/devise",name:"".concat(_,"devise"),meta:{auth:["admin-setting-pages-devise"],title:"店铺装修"},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-652d7fde")]).then(n.bind(null,"b27c"))}},{path:"pages/diy",name:"".concat(_,"diy"),meta:{auth:["admin-setting-pages-diy"],title:"页面设计"},component:function(){return n.e("chunk-469518b2").then(n.bind(null,"3078"))}},{path:"pages/diy_index",name:"".concat(_,"index_diy"),meta:{auth:["admin-setting-pages-diy"],title:"首页设计",fullScreen:!0},component:function(){return n.e("chunk-46765c96").then(n.bind(null,"d8a4"))}},{path:"pages/links",name:"".concat(_,"links"),meta:{auth:["admin-setting-pages-links"],title:"页面链接"},component:function(){return n.e("chunk-347f00e3").then(n.bind(null,"2250"))}},{path:"system_group_data",name:"".concat(_,"systemGroupData"),meta:{auth:["admin-setting-pages-links"],title:"数据配置"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"store_service/speechcraft",name:"".concat(_,"speechcraft"),meta:{auth:["admin-setting-store_service-speechcraft"],title:"客服话术"},component:function(){return n.e("chunk-47e94014").then(n.bind(null,"7864"))}},{path:"store_service/feedback",name:"".concat(_,"feedback"),meta:{auth:["admin-setting-store_service-feedback"],title:"用户留言"},component:function(){return n.e("chunk-3d731660").then(n.bind(null,"ec44"))}},{path:"system_group_data/pc/:id",name:"".concat(_,"groupDataPc"),meta:{auth:["setting-system-group_data-pc"],title:"PC主页轮播"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"system_config_member_right/:type?/:tab_id?",name:"".concat(_,"right"),meta:{auth:["setting-system-config-member-right"],title:"会员权益"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"delivery_service/index",name:"".concat(_,"deliveryService"),meta:{auth:["setting-delivery-service"],title:"配送员列表"},component:function(){return n.e("chunk-6d110ae8").then(n.bind(null,"b43f"))}},{path:"pc_group_data",name:"".concat(_,"systemGroupData"),meta:{auth:["setting-system-pc_data"],title:"PC商城"},component:function(){return n.e("chunk-e34142e8").then(n.bind(null,"ce94"))}},{path:"system_visualization_data",name:"".concat(_,"systemGroupData"),meta:{auth:["admin-setting-system_visualization_data"],title:"数据配置"},component:function(){return n.e("chunk-13797d86").then(n.bind(null,"cb18"))}},{path:"storage",name:"".concat(_,"storage"),meta:{auth:["setting-storage"],title:"储存配置"},component:function(){return n.e("chunk-9b852dca").then(n.bind(null,"6dc8"))}},{path:"wechat_config/:type?/:tab_id?",name:"".concat(_,"wechat_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"公众号配置"}),component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"routine_config/:type?/:tab_id?",name:"".concat(_,"routine_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"小程序配置"}),component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"app_config/:type?/:tab_id?",name:"".concat(_,"app_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"app配置"}),component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"pc_config/:type?/:tab_id?",name:"".concat(_,"pc_config"),meta:Object(r.a)(Object(r.a)({},s),{},{title:"PC配置"}),component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"other_config/print/:type?/:tab_id?",name:"".concat(_,"other_print"),meta:{auth:["setting-other-print"],title:"小票打印配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"other_config/copy/:type?/:tab_id?",name:"".concat(_,"other_copy"),meta:{auth:["setting-other-copy"],title:"商品采集配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"other_config/logistics/:type?/:tab_id?",name:"".concat(_,"other_logistics"),meta:{auth:["setting-other-logistics"],title:"物流查询配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"other_config/electronic/:type?/:tab_id?",name:"".concat(_,"other_electronic"),meta:{auth:["setting-other-electronic"],title:"电子面单配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"other_config/sms/:type?/:tab_id?",name:"".concat(_,"other_sms"),meta:{auth:["setting-other-sms"],title:"短信功能配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"other_config/pay/:type?/:tab_id?",name:"".concat(_,"other_pay"),meta:{auth:["setting-other-sms"],title:"商城支付配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"agreement",name:"".concat(_,"notification"),meta:{auth:["setting-agreement"],title:"协议设置"},component:function(){return n.e("chunk-3a4b4c54").then(n.bind(null,"d9f0"))}},{path:"other_config/out/:type?/:tab_id?",name:"".concat(_,"other_print"),meta:{auth:["setting-other-out"],title:"对外接口配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"system_out_account/index",name:"".concat(_,"systemOutAccount"),meta:{auth:["setting-system-out-account-index"],title:"账号列表"},component:function(){return n.e("chunk-b6f1594c").then(n.bind(null,"6b91"))}},{path:"system_out_interface/index",name:"".concat(_,"systemOutAccount"),meta:{auth:["setting-system-out-interface-index"],title:"接口文档"},component:function(){return n.e("chunk-c6951574").then(n.bind(null,"7676"))}},{path:"lang/list",name:"".concat(_,"langList"),meta:{auth:["admin-lang-list"],title:"语言列表"},component:function(){return n.e("chunk-2822f156").then(n.bind(null,"fd31"))}},{path:"lang/info",name:"".concat(_,"langInfo"),meta:{auth:["admin-lang-info"],title:"语言详情"},component:function(){return n.e("chunk-46da77fa").then(n.bind(null,"0741"))}},{path:"lang/country",name:"".concat(_,"langCountry"),meta:{auth:["admin-lang-country"],title:"地区关联语言"},component:function(){return n.e("chunk-7f92ec3c").then(n.bind(null,"5b6a"))}}]},b={path:"/admin/agent",name:"agent",header:"agent",redirect:{name:"".concat("agent_","agentManage")},meta:{auth:!0},component:p,children:[{path:"agent_manage/index",name:"".concat("agent_","agentManage"),meta:{auth:["agent-agent-manage"],title:"分销员管理"},component:function(){return Promise.all([n.e("chunk-40e28c74"),n.e("chunk-e7bf9be8")]).then(n.bind(null,"3061"))}}]},l="finance_",E={path:"/admin/finance",name:"finance",header:"finance",meta:{auth:["admin-finance"]},redirect:{name:"".concat(l,"cashApply")},component:p,children:[{path:"billing_records/index",name:"".concat(l,"billingRecords"),meta:{auth:["finance-billing_records-index"],title:"账单记录"},component:function(){return n.e("chunk-8e2befe6").then(n.bind(null,"f807"))}},{path:"capital_flow/index",name:"".concat(l,"capitalFlow"),meta:{auth:["finance-capital_flow-index"],title:"资金流水"},component:function(){return n.e("chunk-02afff9e").then(n.bind(null,"1dc8"))}},{path:"user_extract/index",name:"".concat(l,"cashApply"),meta:{auth:["finance-user_extract"],title:"提现申请"},component:function(){return n.e("chunk-677601c4").then(n.bind(null,"9eb0f"))}},{path:"user_recharge/index",name:"".concat(l,"recharge"),meta:{auth:["finance-user-recharge"],title:"充值记录"},component:function(){return n.e("chunk-00f06b83").then(n.bind(null,"7027"))}},{path:"finance/bill",name:"".concat(l,"bill"),meta:{auth:["finance-finance-bill"],title:"资金记录"},component:function(){return n.e("chunk-1a3b818c").then(n.bind(null,"badc"))}},{path:"finance/commission",name:"".concat(l,"commissionRecord"),meta:{auth:["finance-finance-commission"],title:"佣金记录"},component:function(){return n.e("chunk-4f1aacd1").then(n.bind(null,"e9f8"))}},{path:"balance/balance",name:"".concat(l,"balance"),meta:{auth:["finance-user-balance"],title:"余额记录"},component:function(){return n.e("chunk-9969aa12").then(n.bind(null,"8a30"))}}]},C="cms_",j={path:"/admin/cms",name:"cms",header:"cms",redirect:{name:"".concat(C,"article")},component:p,children:[{path:"article/index/:id?",name:"".concat(C,"article"),meta:{auth:["cms-article-index"],title:"文章管理",keepAlive:!0},component:function(){return n.e("chunk-71813a56").then(n.bind(null,"7a0c"))}},{path:"article_category/index",name:"".concat(C,"articleCategory"),meta:{auth:["cms-article-category"],title:"文章分类"},component:function(){return n.e("chunk-35bfa462").then(n.bind(null,"9ace"))}},{path:"article/add_article/:id?",name:"".concat(C,"addArticle"),meta:{auth:["cms-article-creat"],title:"文章添加"},component:function(){return n.e("chunk-57fc0a5c").then(n.bind(null,"f164"))}}]},d="marketing_",r={path:"/admin/marketing",name:"marketing",header:"marketing",redirect:{name:"".concat(d,"storeCoupon")},component:p,children:[{path:"store_combination/index",name:"".concat(d,"combinalist"),meta:{auth:["marketing-store_combination"],title:"拼团商品",keepAlive:!0},component:function(){return n.e("chunk-0a6e99fd").then(n.bind(null,"82f1"))}},{path:"store_combination/combina_list",name:"".concat(d,"combinaList"),meta:{auth:["marketing-store_combination-combina_list"],title:"拼团列表"},component:function(){return n.e("chunk-400df21a").then(n.bind(null,"de26"))}},{path:"store_combination/create/:id?/:copy?",name:"".concat(d,"storeCombinationCreate"),meta:{auth:["marketing-store_combination-create"],title:"添加拼团"},component:function(){return Promise.all([n.e("chunk-62aa11bf"),n.e("chunk-f2331da0")]).then(n.bind(null,"28bd"))}},{path:"store_combination/statistics/:id?",name:"".concat(d,"storeCombinationStatistics"),meta:{title:"拼团统计"},component:function(){return n.e("chunk-0f73c812").then(n.bind(null,"d2d3"))}},{path:"store_coupon/index",name:"".concat(d,"storeCoupon"),meta:{auth:["marketing-store_coupon"],title:"优惠券模板"},component:function(){return n.e("chunk-555fa73c").then(n.bind(null,"2838"))}},{path:"store_coupon_issue/index",name:"".concat(d,"storeCouponIssue"),meta:{auth:["marketing-store_coupon_issue"],title:"优惠券列表",keepAlive:!0},component:function(){return n.e("chunk-5f997771").then(n.bind(null,"fd8e"))}},{path:"store_coupon_issue/create/:id?",name:"".concat(d,"storeCouponCreate"),meta:{auth:["marketing-store_coupon_issue-create"],title:"添加优惠券"},component:function(){return n.e("chunk-250ad9dd").then(n.bind(null,"6da28"))}},{path:"store_coupon_user/index",name:"".concat(d,"storeCouponUser"),meta:{auth:["marketing-store_coupon_user"],title:"用户领取记录"},component:function(){return n.e("chunk-6e70ee9d").then(n.bind(null,"aeba"))}},{path:"coupon/system_config/:type?/:tab_id?",name:"".concat(d,"coupon"),meta:{auth:["admin-order-storeOrder-index"],title:"优惠券配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"store_bargain/index",name:"".concat(d,"storeBargain"),meta:{auth:["marketing-store_bargain"],title:"砍价商品",keepAlive:!0},component:function(){return n.e("chunk-3c07a96e").then(n.bind(null,"49ba"))}},{path:"store_bargain/bargain_list",name:"".concat(d,"bargainList"),meta:{auth:["marketing-store_bargain-bargain_list"],title:"砍价列表"},component:function(){return n.e("chunk-2eae1aba").then(n.bind(null,"7c4e"))}},{path:"store_bargain/create/:id?/:copy?",name:"".concat(d,"bargainCreate"),meta:{auth:["marketing-store_bargain-create"],title:"添加砍价"},component:function(){return Promise.all([n.e("chunk-62aa11bf"),n.e("chunk-3e1274f4")]).then(n.bind(null,"b982"))}},{path:"store_bargain/statistics/:id?",name:"".concat(d,"storeBargainStatistics"),meta:{title:"砍价统计"},component:function(){return n.e("chunk-6725f7ee").then(n.bind(null,"fea0"))}},{path:"store_seckill/index",name:"".concat(d,"storeSeckill"),meta:{auth:["marketing-store_seckill"],title:"秒杀商品",keepAlive:!0},component:function(){return n.e("chunk-65c7a84c").then(n.bind(null,"1fc7"))}},{path:"store_seckill_data/index/:id",name:"".concat(d,"storeSeckillData"),meta:{auth:["marketing-store_seckill-data"],title:"秒杀配置"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"store_seckill/create/:id?/:copy?",name:"".concat(d,"storeSeckillCreate"),meta:{auth:["marketing-store_seckill-create"],title:"添加秒杀"},component:function(){return Promise.all([n.e("chunk-62aa11bf"),n.e("chunk-73f17be0")]).then(n.bind(null,"93a9"))}},{path:"store_seckill/statistics/:id?",name:"".concat(d,"storeSeckillStatistics"),meta:{title:"秒杀统计"},component:function(){return n.e("chunk-698f9fd3").then(n.bind(null,"6557"))}},{path:"integral/system_config/:type?/:tab_id?",name:"".concat(d,"integral"),meta:{auth:["marketing-integral-system_config"],title:"积分配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}},{path:"store_integral/index",name:"".concat(d,"storeIntegral"),meta:{auth:["marketing-store_integral"],title:"积分商品",keepAlive:!0},component:function(){return n.e("chunk-2b4d3374").then(n.bind(null,"6bf7"))}},{path:"store_integral/create/:id?/:copy?",name:"".concat(d,"storeIntegralCreate"),meta:{auth:["marketing-store_integral-create"],title:"添加积分商品"},component:function(){return n.e("chunk-240f368d").then(n.bind(null,"075c"))}},{path:"store_integral/add_store_integral",name:"".concat(d,"addStoreIntegral"),meta:{auth:["marketing-store_integral-create"],title:"批量添加积分商品"},component:function(){return n.e("chunk-35b7fede").then(n.bind(null,"6359"))}},{path:"store_integral/order_list",name:"".concat(d,"storeIntegralOrder"),meta:{auth:["marketing-store_integral-order"],title:"兑换订单"},component:function(){return n.e("chunk-6a698872").then(n.bind(null,"0d8f"))}},{path:"user_point/index",name:"".concat(d,"userPoint"),meta:{auth:["marketing-user_point"],title:"积分日志"},component:function(){return n.e("chunk-8497f570").then(n.bind(null,"b430"))}},{path:"live/live_room",name:"".concat(d,"live_room"),meta:{auth:!0,title:"直播间管理"},component:function(){return n.e("chunk-66ad0346").then(n.bind(null,"7afb"))}},{path:"live/add_live_room",name:"".concat(d,"add_live_room"),meta:{auth:!0,title:"直播间管理"},component:function(){return n.e("chunk-54045d7c").then(n.bind(null,"29f2"))}},{path:"live/live_goods",name:"".concat(d,"live_goods"),meta:{auth:!0,title:"直播间商品管理"},component:function(){return n.e("chunk-c9cb3166").then(n.bind(null,"8f86"))}},{path:"live/add_live_goods",name:"".concat(d,"add_live_goods"),meta:{auth:!0,title:"直播间商品管理"},component:function(){return n.e("chunk-739af6b0").then(n.bind(null,"d7d0"))}},{path:"live/anchor",name:"".concat(d,"anchor"),meta:{auth:!0,title:"主播管理"},component:function(){return n.e("chunk-2d22c8ff").then(n.bind(null,"f483"))}},{path:"presell/index",name:"".concat(d,"storePresell"),meta:{auth:["marketing-presell"],title:"预售商品"},component:function(){return n.e("chunk-f5052f74").then(n.bind(null,"24f1"))}},{path:"presell/presell_list",name:"".concat(d,"presellList"),meta:{auth:["marketing-presell-presell_list"],title:"预售列表"},component:function(){return n.e("chunk-55970e0b").then(n.bind(null,"a21a"))}},{path:"presell/create/:id?/:copy?",name:"".concat(d,"storePresellCreate"),meta:{auth:["marketing-presell-create"],title:"添加预售"},component:function(){return Promise.all([n.e("chunk-62aa11bf"),n.e("chunk-734d2d87")]).then(n.bind(null,"fac5f"))}},{path:"lottery/index",name:"".concat(d,"lottery"),meta:{auth:!0,title:"抽奖列表"},component:function(){return n.e("chunk-29e98b5f").then(n.bind(null,"207a"))}},{path:"lottery/create",name:"".concat(d,"create"),meta:{auth:!0,title:"创建抽奖"},component:function(){return Promise.all([n.e("chunk-62aa11bf"),n.e("chunk-59908530")]).then(n.bind(null,"e90a"))}},{path:"lottery/recording_list",name:"".concat(d,"recording_list"),meta:{auth:!0,title:"抽奖记录"},component:function(){return n.e("chunk-1c845e07").then(n.bind(null,"ca99"))}},{path:"channel_code/channelCodeIndex",name:"".concat(d,"channel_code"),meta:{auth:!0,title:"公众号渠道码",keepAlive:!0},component:function(){return n.e("chunk-36d4002a").then(n.bind(null,"d99c"))}},{path:"channel_code/create",name:"".concat(d,"create_code"),meta:{auth:["marketing-channel_code-create"],title:"新建渠道码"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-40e28c74"),n.e("chunk-2fb735d0")]).then(n.bind(null,"ed2f"))}},{path:"channel_code/code_statistic",name:"".concat(d,"code_statistic"),meta:{auth:["marketing-channel_code-statistic"],title:"二维码统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-d977485e")]).then(n.bind(null,"0996"))}},{path:"point_record",name:"".concat(d,"point_record"),meta:{auth:["marketing-point_record-index"],title:"积分记录"},component:function(){return n.e("chunk-7d96e77a").then(n.bind(null,"20e6"))}},{path:"point_statistic",name:"".concat(d,"point_statistic"),meta:{auth:["marketing-point_statistic-index"],title:"积分统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-90836a1c")]).then(n.bind(null,"4d92"))}},{path:"recharge",name:"".concat(d,"recharge"),meta:{auth:["marketing-recharge-index"],title:"充值配置"},component:function(){return n.e("chunk-839b903a").then(n.bind(null,"c36e"))}},{path:"sign",name:"".concat(d,"sign"),meta:{auth:["marketing-sign-index"],title:"签到配置"},component:function(){return n.e("chunk-0dd5615e").then(n.bind(null,"d152"))}},{path:"member/system_config/:type?/:tab_id?",name:"".concat(d,"member"),meta:{auth:["marketing-member-system_config"],title:"会员配置"},component:function(){return n.e("chunk-6e67dc3f").then(n.bind(null,"a53e"))}}]},s="app_",_={path:"/admin/app",name:"app",header:"app",redirect:{name:"".concat(s,"wechatMenus")},meta:{auth:["admin-app"]},component:p,children:[{path:"wechat/setting/menus/index",name:"".concat(s,"wechatMenus"),meta:{auth:["application-wechat-menus"],title:"微信菜单"},component:function(){return n.e("chunk-b49c7316").then(n.bind(null,"c861"))}},{path:"wechat/wechat_user/user/index",name:"".concat(s,"wechatUser"),meta:{auth:["wechat-wechat-user-user"],title:"微信用户"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-16dc5aef")]).then(n.bind(null,"5b9e"))}},{path:"wechat/wechat_user/user/tag",name:"".concat(s,"tag"),meta:{auth:["wechat-wechat-user-tag"],title:"用户标签"},component:function(){return n.e("chunk-9ed01e94").then(n.bind(null,"5ab6"))}},{path:"wechat/wechat_user/user/group",name:"".concat(s,"group"),meta:{auth:["wechat-wechat-user-group"],title:"用户分组"},component:function(){return n.e("chunk-9ed01e94").then(n.bind(null,"5ab6"))}},{path:"wechat/wechat_user/user/message",name:"".concat(s,"message"),meta:{auth:["wechat-wechat-user-message"],title:"用户行为记录"},component:function(){return n.e("chunk-8ebde566").then(n.bind(null,"7f5d"))}},{path:"wechat/news_category/index",name:"".concat(s,"newsCategoryIndex"),meta:{auth:["wechat-wechat-news-category-index"],title:"图文管理"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-2d229c13")]).then(n.bind(null,"df94"))}},{path:"wechat/news_category/save/:id?",name:"".concat(s,"newsCategorySave"),meta:{auth:["wechat-wechat-news-category-save"],title:"图文添加"},component:function(){return n.e("chunk-e45e1604").then(n.bind(null,"d9fa"))}},{path:"wechat/reply/follow/:key",name:"".concat(s,"fllow"),meta:{auth:["wechat-wechat-reply-subscribe"],title:"微信关注回复"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-cca5d174")]).then(n.bind(null,"3137"))}},{path:"wechat/reply/keyword",name:"".concat(s,"keyword"),meta:{auth:["wechat-wechat-reply-keyword"],title:"关键字回复"},component:function(){return n.e("chunk-e51bcbf6").then(n.bind(null,"2430"))}},{path:"wechat/reply/keyword/save/:id?",name:"".concat(s,"keywordAdd"),meta:{auth:["wechat-wechat-reply-save"],title:"关键字添加"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-cca5d174")]).then(n.bind(null,"3137"))}},{path:"wechat/reply/index/:key",name:"".concat(s,"replyIndex"),meta:{auth:["wechat-wechat-reply-default"],title:"无效关键词回复"},component:function(){return Promise.all([n.e("chunk-3eff14c2"),n.e("chunk-cca5d174")]).then(n.bind(null,"3137"))}},{path:"routine/download",name:"".concat(s,"routineTemplate"),meta:{auth:["routine-download"],title:"小程序下载"},component:function(){return n.e("chunk-680149f1").then(n.bind(null,"ddee"))}},{path:"app/version",name:"".concat(s,"version"),meta:{auth:["admin-app-version"],title:"APP版本管理"},component:function(){return n.e("chunk-2d0cf6e4").then(n.bind(null,"644d"))}},{path:"app/agreement",name:"".concat(s,"agreement "),meta:{auth:["admin-app-agreement"],title:"隐私协议"},component:function(){return n.e("chunk-19de70eb").then(n.bind(null,"cc2e"))}}]},l="system_",C={path:"/admin/system",name:"system",header:"system",redirect:{name:"".concat(l,"configTab")},meta:{auth:["admin-system"]},component:p,children:[{path:"file",name:"".concat(l,"file"),meta:{auth:["system-file"],title:"附件管理"},component:function(){return n.e("chunk-16138b40").then(n.bind(null,"8084"))}},{path:"maintain/clear/index",name:"".concat(l,"clear"),meta:{auth:["system-clear"],title:"刷新缓存"},component:function(){return n.e("chunk-4a6e0eaf").then(n.bind(null,"7de5"))}},{path:"maintain/system_log/index",name:"".concat(l,"systemLog"),meta:{auth:["system-maintain-system-log"],title:"系统日志"},component:function(){return n.e("chunk-5bfb2822").then(n.bind(null,"fc59"))}},{path:"maintain/system_file/index",name:"".concat(l,"systemFile"),meta:{auth:["system-maintain-system-file"],title:"文件校验"},component:function(){return n.e("chunk-2d0b613c").then(n.bind(null,"1c2f"))}},{path:"maintain/system_cleardata/index",name:"".concat(l,"systemCleardata"),meta:{auth:["system-maintain-system-cleardata"],title:"清除数据"},component:function(){return n.e("chunk-2b359071").then(n.bind(null,"b4f0"))}},{path:"maintain/system_databackup/index",name:"".concat(l,"systemDatabackup"),meta:{auth:["system-maintain-system-databackup"],title:"数据备份"},component:function(){return n.e("chunk-daf9d90c").then(n.bind(null,"e2606"))}},{path:"maintain/system_file/opendir",name:"".concat(l,"opendir"),meta:{auth:["system-maintain-system-file"],title:"文件管理"},component:function(){return Promise.all([n.e("chunk-6e83591c"),n.e("chunk-5b610989")]).then(n.bind(null,"3793"))}},{path:"maintain/system_file/login",name:"".concat(l,"opendir_login"),meta:{auth:["system-maintain-system-file"],title:"文件管理入口"},component:function(){return n.e("chunk-3b25e9ae").then(n.bind(null,"a8d2"))}},{path:"config/system_config_tab/index",name:"".concat(l,"configTab"),meta:{auth:["system-config-system_config-tab"],title:"配置分类"},component:function(){return n.e("chunk-cf098a14").then(n.bind(null,"c59c"))}},{path:"config/system_config_tab/list/:id?",name:"".concat(l,"configTabList"),meta:{auth:["system-config-system_config_tab-list"],title:"配置列表"},component:function(){return n.e("chunk-e6fee672").then(n.bind(null,"0c6b"))}},{path:"config/system_group/index",name:"".concat(l,"group"),meta:{auth:["system-config-system_config-group"],title:"组合数据"},component:function(){return n.e("chunk-cf36bb2e").then(n.bind(null,"33b8"))}},{path:"config/system_group/list/:id?",name:"".concat(l,"groupList"),meta:{auth:["system-config-system_config-list"],title:"组合数据列表"},component:function(){return n.e("chunk-6d433196").then(n.bind(null,"cffd"))}},{path:"maintain/auth",name:"".concat(l,"auth"),meta:{auth:["system-maintain-auth"],title:"商业授权"},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-09b3eff2")]).then(n.bind(null,"c2b5"))}},{path:"onlineUpgrade/index",name:"".concat(l,"upgradeclient"),meta:{auth:["system-onlineUpgrade-index"],title:"在线升级"},component:function(){return n.e("chunk-028811c2").then(n.bind(null,"05ea7"))}},{path:"crontab",name:"".concat(l,"crontab"),meta:{auth:["system-crontab-index"],title:"定时任务"},component:function(){return n.e("chunk-4c95415d").then(n.bind(null,"b60f"))}}]},d="statistic_",s={path:"/admin/statistic",name:"statistic",header:"statistic",redirect:{name:"".concat(d,"product")},component:p,children:[{path:"product",name:"".concat(d,"product"),meta:{title:"商品统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-32d3326e")]).then(n.bind(null,"585e"))}},{path:"user",name:"".concat(d,"user"),meta:{title:"用户统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-ac37f18a")]).then(n.bind(null,"7e46"))}},{path:"transaction",name:"".concat(d,"transaction"),meta:{title:"交易统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-08c24f8e")]).then(n.bind(null,"4192"))}},{path:"integral",name:"".concat(d,"integral"),meta:{title:"积分统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-5eb0337e")]).then(n.bind(null,"18e7"))}},{path:"order",name:"".concat(d,"order"),meta:{title:"订单统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-78c1d44f")]).then(n.bind(null,"6d5b"))}},{path:"balance",name:"".concat(d,"balance"),meta:{title:"余额统计"},component:function(){return Promise.all([n.e("chunk-3882e89c"),n.e("chunk-2560a43a")]).then(n.bind(null,"0ddf"))}}]},l="kefu_",d=[{path:"/admin/login",name:"login",meta:{title:"登录",hideInMenu:!0},component:function(){return n.e("chunk-9a6cf15a").then(n.bind(null,"318e"))}},{path:"/kefu",name:"".concat(l,"index"),meta:{auth:!0,title:"客服管理",kefu:!0},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-63bdea71")]).then(n.bind(null,"d666"))}},{path:"/kefu/mobile_list",name:"".concat(l,"mobile_list"),meta:{auth:!0,title:"消息列表",kefu:!0},component:function(){return n.e("chunk-5400b994").then(n.bind(null,"a9d3"))}},{path:"/kefu/mobile_chat",name:"".concat(l,"mobile_chat"),meta:{auth:!0,title:"对话详情",kefu:!0},component:function(){return n.e("chunk-7ae4f38c").then(n.bind(null,"a626"))}},{path:"/kefu/pc_list",name:"".concat(l,"pc_list"),meta:{auth:!0,title:"客服",kefu:!0},component:function(){return n.e("chunk-058eab4f").then(n.bind(null,"37d1"))}},{path:"/kefu/orderList/:type?/:toUid?",name:"".concat(l,"order-list"),meta:{auth:!0,title:"订单列表",kefu:!0},component:function(){return Promise.all([n.e("chunk-4dc949e0"),n.e("chunk-592dcdcb")]).then(n.bind(null,"87bc"))}},{path:"/kefu/orderDetail/:id?/:goname?",name:"".concat(l,"order-detail"),meta:{auth:!0,title:"订单详情",kefu:!0},component:function(){return Promise.all([n.e("chunk-4dc949e0"),n.e("chunk-83d2a766")]).then(n.bind(null,"f23d"))}},{path:"/kefu/orderDelivery/:id?/:orderId?",name:"".concat(l,"order-delivery"),meta:{auth:!0,title:"发货",kefu:!0},component:function(){return Promise.all([n.e("chunk-8af7aa2e"),n.e("chunk-e658941c")]).then(n.bind(null,"c7b8"))}},{path:"/kefu/user/index/:uid?/:type?",name:"".concat(l,"user-index"),meta:{auth:!0,title:"客户信息",kefu:!0},component:function(){return Promise.all([n.e("chunk-8af7aa2e"),n.e("chunk-157b4f48")]).then(n.bind(null,"46cf"))}},{path:"/kefu/goods/list",name:"".concat(l,"goods-list"),meta:{auth:!0,title:"商品列表",kefu:!0},component:function(){return n.e("chunk-fc93c22c").then(n.bind(null,"7eb74"))}},{path:"/kefu/goods/detail",name:"".concat(l,"goods-detail"),meta:{auth:!0,title:"商品列表",kefu:!0},component:function(){return n.e("chunk-40003b7f").then(n.bind(null,"6f8b"))}},{path:"/kefu/appChat",name:"".concat(l,"app-chat"),meta:{auth:!0,title:"客服",kefu:!0},component:function(){return n.e("chunk-186376ec").then(n.bind(null,"eea8"))}},{path:"/kefu/mobile_user_chat",name:"".concat(l,"app-mobile_user_chat"),meta:{auth:!0,title:"用户客服",kefu:!0},component:function(){return n.e("chunk-0c05df09").then(n.bind(null,"c168"))}},{path:"/kefu/mobile_feedback",name:"".concat(l,"app-mobile_feedback"),meta:{auth:!0,title:"用户反馈",kefu:!0},component:function(){return n.e("chunk-24dfe0e6").then(n.bind(null,"5909"))}}],l="division_",m=[{path:"/admin/",meta:{title:"CRMEB"},redirect:{name:"home_index"},component:p,children:[{path:"/admin/system/user",name:"systemUser",meta:{auth:!0,title:"个人中心"},component:function(){return n.e("chunk-2e90bd4b").then(n.bind(null,"265f"))}},{path:"/admin/system/files",name:"systemFiles",meta:{auth:["admin-setting-files"],title:"文件管理"},component:function(){return n.e("chunk-526c110a").then(n.bind(null,"ceb8a"))}},{path:"refresh",name:"refresh",hidden:!0,component:{beforeRouteEnter:function(t,e,n){n((function(t){return t.$router.replace(e.fullPath)}))},render:function(t){return t()}}},{path:"redirect/:route*",name:"redirect",hidden:!0,component:{beforeRouteEnter:function(t,e,n){n((function(t){return t.$router.replace(JSON.parse(e.params.route))}))},render:function(t){return t()}}}]},{path:"/admin/widget.images/index.html",name:"images",meta:{auth:["admin-user-user-index"],title:"上传图片"},component:function(){return n.e("chunk-464a5aac").then(n.bind(null,"7bcf"))}},{path:"/admin/widget.widgets/icon.html",name:"imagesIcon",meta:{auth:["admin-user-user-index"],title:"上传图标"},component:function(){return n.e("chunk-0ca76063").then(n.bind(null,"3182"))}},{path:"/admin/store.StoreProduct/index.html",name:"storeProduct",meta:{title:"选择商品"},component:function(){return Promise.resolve().then(n.bind(null,"c4ad"))}},{path:"/admin/system.User/list.html",name:"changeUser",meta:{title:"选择用户"},component:function(){return n.e("chunk-40e28c74").then(n.bind(null,"8c03"))}},{path:"/admin/widget.video/index.html",name:"video",meta:{title:"上传视频"},component:function(){return n.e("chunk-9368228a").then(n.bind(null,"4553"))}},m,b,j,h,r,O,w,E,I,C,_,s,{path:"/admin/division",name:"division",header:"division",redirect:{name:"".concat(l,"division")},meta:{auth:!0},component:p,children:[{path:"index",name:"".concat(l,"division"),meta:{auth:["agent-division-index"],title:"事业部列表"},component:function(){return n.e("chunk-53c7abcb").then(n.bind(null,"7ac0"))}},{path:"agent/index",name:"".concat(l,"agent"),meta:{auth:["agent-division-agent-index"],title:"代理商列表"},component:function(){return n.e("chunk-75572cdf").then(n.bind(null,"aa0e"))}},{path:"agent/applyList",name:"".concat(l,"agent"),meta:{auth:["agent-division-agent-applyList"],title:"代理商申请"},component:function(){return n.e("chunk-124c1be4").then(n.bind(null,"4c8e"))}},{path:"agent/agreement",name:"".concat(l,"agent"),meta:{auth:["agent-division-agent-agreement"],title:"代理商规则"},component:function(){return n.e("chunk-b30c10fe").then(n.bind(null,"ec81"))}}]}],b=d,j=[{path:"/admin/403",name:"403",meta:{title:"403"},component:function(){return n.e("chunk-07b5ff65").then(n.bind(null,"a7a0"))}},{path:"/admin/500",name:"500",meta:{title:"500"},component:function(){return n.e("chunk-b2498f9c").then(n.bind(null,"6077"))}},{path:"/admin/*",name:"404",meta:{title:"404"},component:function(){return n.e("chunk-b19bdce0").then(n.bind(null,"2911"))}}],[].concat(m,Object(o.a)(b),j)),M=n("4360"),U=n("a74e"),P=(i.default.use(c.a),new c.a({routes:R,mode:B.a.routerMode}));P.beforeEach(function(){var t=Object(a.a)(regeneratorRuntime.mark((function t(e,n,a){var i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(-1!=e.fullPath.indexOf("kefu"))return t.abrupt("return",a());t.next=2;break;case 2:e.matched.some((function(t){return t.meta.auth}))?(i=Object(f.d)("token"))&&"undefined"!==i?(i=M.a.state.userInfo.uniqueAuth,Object(U.a)(e.meta.auth,i)?a():0==i.length?(a({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),Object(f.m)("token"),Object(f.m)("expires_time"),Object(f.m)("uuid")):a({name:"403"})):(a({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),Object(f.m)("token"),Object(f.m)("expires_time"),Object(f.m)("uuid")):a();case 3:case"end":return t.stop()}}),t)})));return function(e,n,a){return t.apply(this,arguments)}}()),P.afterEach((function(t){Object(f.s)(t,P.app),window.scrollTo(0,0)})),e.a=P},a3be:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAIGklEQVR4Ae2ca2wUVRTH6RtNq4iE2mIR8BF8QIhFAlFAfGACBEWiBogkBdralmDSGOtHEuKHJqYmmNIXhBgDIRCICCIlkRajUUDAgKgBQUBoLUVKH9a+6+8atsyenW13Z2Znp8mdZDL3/O+9557zn3Mfc2d2R4zQh2ZAM6AZ0AxoBjQDmgHNgGZAM6AZ0AxoBjQDmoEIMxATYf221JeWliYnJSXd39fXN66np6czMTHxRnV19dVdu3b12lLscGVPkahIi4uLe5pzcX9///KYmJi0IP5+D76DszY7O/t0kDKuwZ4gcf369Ynp6emzIO1zPB8VpvenidIFDQ0N9ejpC7OuI8VjHdFiUwkEnofAw6gJl0DV8lQi9xI6dto0w3L1qEZiVVXVbLrtAQhMtuyBoSK6jvf29i7Ky8u7boAjnowaiZWVlUshbzseJgbzElJaKHOd6xXKjCQ9lvQErvHB6oBfJDJnrlq1qnGQMo5mRYXE8vLyWThagydJJt50gFVDVkVHR8fhdevWdRrLMPk8wCy9FCyLM9OY50tT91xdXd0UxsguHxbJq+s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oBjQDmgHNgGZAM6AZ0AxoBrzOwH+RWo57fkQWoQAAAABJRU5ErkJggg=="},a4b1:function(t,e,n){},a58f:function(t,e,n){"use strict";var a=n("b7db");n.n(a).a},a63e:function(t,e,n){},a700:function(t,e,n){},a74e:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var a=n("0122");function i(t,e){var n=!1;return!0===t||"object"===Object(a.a)(e)&&(e.forEach((function(e){t.includes(e)&&(n=!0)})),n)}n("d3b7"),n("159b"),n("caad"),n("2532")},a9d6:function(t,e,n){"use strict";n.r(e),n("a9e3");var a={name:"c_is_show",props:{name:{type:String},configData:{type:null},configNum:{type:Number|String,default:"default"}},data:function(){return{defaults:{},datas:this.configData[this.configNum]}},mounted:function(){},watch:{configData:{handler:function(t,e){this.datas=t[this.configNum]},immediate:!0,deep:!0}},methods:{}};n("c568"),n=n("2877"),n=Object(n.a)(a,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return e("div",{staticClass:"c_row-item"},[e("Col",{staticClass:"label",attrs:{span:"4"}},[t._v(" 是否显示 ")]),e("Col",{attrs:{span:"19"}},[e("i-switch",{model:{value:t.datas[t.name].val,callback:function(e){t.$set(t.datas[t.name],"val",e)},expression:"datas[name].val"}})],1)],1)}),[],!1,null,"64bc1227",null);e.default=n.exports},ab37:function(t,e){t.exports="require(\"core-js/modules/es.regexp.exec.js\");\n\nrequire(\"core-js/modules/es.string.match.js\");\n\nrequire(\"core-js/modules/es.object.to-string.js\");\n\nrequire(\"core-js/modules/es.function.name.js\");\n\nrequire(\"core-js/modules/es.string.split.js\");\n\nrequire(\"core-js/modules/es.array.join.js\");\n\nrequire(\"core-js/modules/es.regexp.to-string.js\");\n\nrequire(\"core-js/modules/es.array.slice.js\");\n\n// +----------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]\n// +----------------------------------------------------------------------\n// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.\n// +----------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权\n// +----------------------------------------------------------------------\n// | Author: CRMEB Team \n// +----------------------------------------------------------------------\n(function (view) {\n 'use strict';\n\n view.URL = view.URL || view.webkitURL;\n\n if (view.Blob && view.URL) {\n try {\n new Blob();\n return;\n } catch (e) {}\n } // Internally we use a BlobBuilder implementation to base Blob off of\n // in order to support older browsers that only have BlobBuilder\n\n\n var BlobBuilder = view.BlobBuilder || view.WebKitBlobBuilder || view.MozBlobBuilder || function (view) {\n var get_class = function get_class(object) {\n return Object.prototype.toString.call(object).match(/^\\[object\\s(.*)\\]$/)[1];\n },\n FakeBlobBuilder = function BlobBuilder() {\n this.data = [];\n },\n FakeBlob = function Blob(data, type, encoding) {\n this.data = data;\n this.size = data.length;\n this.type = type;\n this.encoding = encoding;\n },\n FBB_proto = FakeBlobBuilder.prototype,\n FB_proto = FakeBlob.prototype,\n FileReaderSync = view.FileReaderSync,\n FileException = function FileException(type) {\n this.code = this[this.name = type];\n },\n file_ex_codes = ('NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR ' + 'NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR').split(' '),\n file_ex_code = file_ex_codes.length,\n real_URL = view.URL || view.webkitURL || view,\n real_create_object_URL = real_URL.createObjectURL,\n real_revoke_object_URL = real_URL.revokeObjectURL,\n URL = real_URL,\n btoa = view.btoa,\n atob = view.atob,\n ArrayBuffer = view.ArrayBuffer,\n Uint8Array = view.Uint8Array;\n\n FakeBlob.fake = FB_proto.fake = true;\n\n while (file_ex_code--) {\n FileException.prototype[file_ex_codes[file_ex_code]] = file_ex_code + 1;\n }\n\n if (!real_URL.createObjectURL) {\n URL = view.URL = {};\n }\n\n URL.createObjectURL = function (blob) {\n var type = blob.type,\n data_URI_header;\n\n if (type === null) {\n type = 'application/octet-stream';\n }\n\n if (blob instanceof FakeBlob) {\n data_URI_header = 'data:' + type;\n\n if (blob.encoding === 'base64') {\n return data_URI_header + ';base64,' + blob.data;\n } else if (blob.encoding === 'URI') {\n return data_URI_header + ',' + decodeURIComponent(blob.data);\n }\n\n if (btoa) {\n return data_URI_header + ';base64,' + btoa(blob.data);\n } else {\n return data_URI_header + ',' + encodeURIComponent(blob.data);\n }\n } else if (real_create_object_URL) {\n return real_create_object_URL.call(real_URL, blob);\n }\n };\n\n URL.revokeObjectURL = function (object_URL) {\n if (object_URL.substring(0, 5) !== 'data:' && real_revoke_object_URL) {\n real_revoke_object_URL.call(real_URL, object_URL);\n }\n };\n\n FBB_proto.append = function (data\n /*, endings*/\n ) {\n var bb = this.data; // decode data to a binary string\n\n if (Uint8Array && (data instanceof ArrayBuffer || data instanceof Uint8Array)) {\n var str = '',\n buf = new Uint8Array(data),\n i = 0,\n buf_len = buf.length;\n\n for (; i < buf_len; i++) {\n str += String.fromCharCode(buf[i]);\n }\n\n bb.push(str);\n } else if (get_class(data) === 'Blob' || get_class(data) === 'File') {\n if (FileReaderSync) {\n var fr = new FileReaderSync();\n bb.push(fr.readAsBinaryString(data));\n } else {\n // async FileReader won't work as BlobBuilder is sync\n throw new FileException('NOT_READABLE_ERR');\n }\n } else if (data instanceof FakeBlob) {\n if (data.encoding === 'base64' && atob) {\n bb.push(atob(data.data));\n } else if (data.encoding === 'URI') {\n bb.push(decodeURIComponent(data.data));\n } else if (data.encoding === 'raw') {\n bb.push(data.data);\n }\n } else {\n if (typeof data !== 'string') {\n data += ''; // convert unsupported types to strings\n } // decode UTF-16 to binary string\n\n\n bb.push(unescape(encodeURIComponent(data)));\n }\n };\n\n FBB_proto.getBlob = function (type) {\n if (!arguments.length) {\n type = null;\n }\n\n return new FakeBlob(this.data.join(''), type, 'raw');\n };\n\n FBB_proto.toString = function () {\n return '[object BlobBuilder]';\n };\n\n FB_proto.slice = function (start, end, type) {\n var args = arguments.length;\n\n if (args < 3) {\n type = null;\n }\n\n return new FakeBlob(this.data.slice(start, args > 1 ? end : this.data.length), type, this.encoding);\n };\n\n FB_proto.toString = function () {\n return '[object Blob]';\n };\n\n FB_proto.close = function () {\n this.size = this.data.length = 0;\n };\n\n return FakeBlobBuilder;\n }(view);\n\n view.Blob = function Blob(blobParts, options) {\n var type = options ? options.type || '' : '';\n var builder = new BlobBuilder();\n\n if (blobParts) {\n for (var i = 0, len = blobParts.length; i < len; i++) {\n builder.append(blobParts[i]);\n }\n }\n\n return builder.getBlob(type);\n };\n})(typeof self !== 'undefined' && self || typeof window !== 'undefined' && window || this.content || this);"},ab81:function(t,e,n){"use strict";var a=n("8365");n.n(a).a},ae6a:function(t,e,n){},af8c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAMBklEQVR4Ae2bC3BUVxnH836SF4VoEEMpiBJtTEVsoRSCMhQHkVpNx/KSAEmllXZqBWTGShw7UMpUqTgUYgCF1j4yVWtooQ/bSEFaYErqVApSIYUQEh4JsZA0b3+f3V3OPexm7+69u5uZ3jNz5p7vO9/5zvf973nfc6OinOAg4CDgIOAg4CDgIOAg4CDgIOAg4CDQXxGI7geGxRQVFaWkpqYOiImJ+VRsbGxhb2/vuOjo6GHYlkEcQTrBZedR8pqh/0Z8q6ur65/d3d0tCQkJl8vLyzsj5UtEQSwuLs6Lj4+/BecnEm8iXhcIEAB6EfmDPPfxAl44depUzc6dO9sD0WGHbERAXLBgwVdpcffSmsbiRC4xxaIzXZSv6+npOYLO8osXL+6qrKxss6jTdPGwgjh79uz05OTku3B0BTHLtJUBCNIqO4mVALp0y5YtDRTtCaB4UKJhAZExLzkjI2MqXW45Vo7zZykgXAbkJp7SXbsV+QGkB5I3UOH5Sp6m/Fri0xUVFY2+hOzghxxEAByQlZX1E5y5B+cH9WH0f5HZRf7rxBOkW5g0hOdpSUwgKUwmGXFxcTnIjCd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7IVnOyusIGL9dM2DdoB9xeq2TCYgQCzXdMun1jGMwd4OJXRRS3S4QbxZs/Y8jh7QeEGRTCR7AbJJLYzuVFp5rsoLRTqsIOKUoVXgdBu7lgY7HJNvMOiT9aUaEthipquMUKTDBiLLkdFeHGhlvadPCF7EzLF4SRc1yRgmnT5PejT5oMiwgcjgL7cU9K67x8wNMLOeAaJ8luhQ5JuZoU8qdEiSYQORwV8OSO/EyZfx5Dixgv3zz+30ikPcF9EvR23Suo/TCpfDk7+onOAg4CDgIOAg4CDgIOAg4CDgIOAg4CDwCUXgf/tu1qctUMJMAAAAAElFTkSuQmCC"},b0e7:function(t,e,n){"use strict";var a=n("d0ff"),i=n("c964"),c=(n("96cf"),n("a9e3"),n("d3b7"),n("25f0"),n("d81d"),n("159b"),n("ac1f"),n("00b4"),n("a434"),n("4de4"),n("1276"),n("6b6c"));function o(t){return Object(c.a)({url:"file/category",method:"get",params:t})}var r=n("d708"),u=n("c276"),s={name:"uploadPictures",props:{isChoice:{type:String,default:""},gridBtn:{type:Object,default:null},gridPic:{type:Object,default:null},isShow:{type:Number,default:1},pageLimit:{type:Number,default:0}},data:function(){return{spinShow:!1,fileUrl:r.a.apiBaseURL+"/file/upload",modalPic:!1,treeData:[],treeData2:[],pictrueList:[],uploadData:{},checkPicList:[],uploadName:{name:""},FromData:null,treeId:0,isJudge:!1,buttonProps:{type:"default",size:"small"},fileData:{pid:0,page:1,limit:this.pageLimit||18},total:0,pids:0,list:[],modalTitleSs:"",isShowPic:!1,header:{},ids:[]}},mounted:function(){this.getToken(),this.getList(),this.getFileList()},methods:{enterMouse:function(t){t.realName=!t.realName},enterLeave:function(t){t.isShowEdit=!t.isShowEdit},getToken:function(){this.header["Authori-zation"]="Bearer "+Object(u.d)("token")},renderContent:function(t,e){var n=this,a=e.root,i=e.node,c=e.data;e=[];return 0==c.pid&&e.push(t("div",{class:["ivu-dropdown-item"],on:{click:function(){n.append(a,i,c)}}},"添加分类")),""!==c.id&&e.push(t("div",{class:["ivu-dropdown-item"],on:{click:function(){n.editPic(a,i,c)}}},"编辑分类"),t("div",{class:["ivu-dropdown-item"],on:{click:function(){n.remove(a,i,c,"分类")}}},"删除分类")),t("span",{class:["ivu-span"],style:{display:"inline-block",width:"88%",height:"32px",lineHeight:"32px",position:"relative",color:"rgba(0,0,0,0.6)",cursor:"pointer"},on:{mouseenter:function(){n.onMouseOver(a,i,c)},mouseleave:function(){n.onMouseOver(a,i,c)}}},[t("span",{on:{click:function(t){n.appendBtn(a,i,c,t)}}},c.title),t("div",{style:{display:"inline-block",float:"right"}},[t("Icon",{props:{type:"ios-more"},style:{marginRight:"8px",fontSize:"20px",display:"inline"},on:{click:function(t){n.onClick(a,i,c,t)}}}),t("div",{class:["right-menu ivu-poptip-inner"],style:{width:"80px",position:"absolute",zIndex:"9",top:"0",right:"0",display:c.flag2?"block":"none"}},e)])])},renderContentSel:function(t,e){var n=this,a=e.root,i=e.node,c=e.data;return t("div",{style:{display:"inline-block",width:"90%"}},[t("span",[t("span",{style:{cursor:"pointer"},class:["ivu-tree-title"],on:{click:function(t){n.handleCheckChange(a,i,c,t)}}},c.title)])])},handleCheckChange:function(t,e,n,a){this.list=[];for(var i=n.id,c=(n=n.title,this.list.push({value:i,title:n}),this.ids.length?(this.pids=i,this.getMove()):this.$Message.warning("请先选择图片"),this.$refs.reference.$el.querySelectorAll(".ivu-tree-title-selected")),o=0;oNumber(t))return this.$Message.warning("最多只能选"+t+"张图片");this.$emit("getPicD",this.checkPicList)}},editName:function(t){var e=t.real_name.split("."),n=null==e[1]?[]:e[1];e=e[0].length+n.length;t.editName=e<10?t.real_name:t.real_name.substr(0,2)+"..."+t.real_name.substr(-5,5)},bindTxt:function(t){var e,n,a=this;""==t.real_name&&this.$Message.error("请填写内容"),e=t.att_id,n={real_name:t.real_name},Object(c.a)({url:"file/file/update/"+e,method:"put",data:n}).then((function(e){a.editName(t),t.isEdit=!1,a.$Message.success(e.msg)})).catch((function(t){a.$Message.error(t.msg)}))}}};n("7e30"),n=n("2877"),n=Object(n.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"Modal"},[n("Row",{staticClass:"colLeft"},[n("Col",{staticClass:"colLeft",attrs:{xl:6,lg:6,md:6,sm:6,xs:24}},[n("div",{staticClass:"Nav"},[n("div",{staticClass:"input"},[n("Input",{staticStyle:{width:"90%"},attrs:{search:"","enter-button":"",placeholder:"请输入分类名称"},on:{"on-search":t.changePage},model:{value:t.uploadName.name,callback:function(e){t.$set(t.uploadName,"name",e)},expression:"uploadName.name"}})],1),n("div",{staticClass:"trees-coadd"},[n("div",{staticClass:"scollhide"},[n("div",{staticClass:"trees"},[n("Tree",{ref:"tree",staticClass:"treeBox",attrs:{data:t.treeData,render:t.renderContent,"load-data":t.loadData}})],1)])])])]),n("Col",{staticClass:"colLeft",attrs:{xl:18,lg:18,md:18,sm:18,xs:24}},[n("div",{staticClass:"conter"},[n("div",{staticClass:"bnt acea-row row-middle"},[n("Col",{attrs:{span:"24"}},[0!==t.isShow?n("Button",{staticClass:"mr10",attrs:{type:"primary",disabled:0===t.checkPicList.length},on:{click:t.checkPics}},[t._v("使用选中图片")]):t._e(),n("Upload",{staticClass:"mr10 mb10",staticStyle:{"margin-top":"1px",display:"inline-block"},attrs:{"show-upload-list":!1,action:t.fileUrl,"before-upload":t.beforeUpload,data:t.uploadData,headers:t.header,multiple:!0,format:["jpg","jpeg","png","gif"],"on-success":t.handleSuccess}},[n("Button",{attrs:{type:"primary"}},[t._v("上传图片")])],1),n("Button",{staticClass:"mr10",attrs:{type:"error",disabled:0===t.checkPicList.length},on:{click:function(e){return e.stopPropagation(),t.editPicList("图片")}}},[t._v("删除图片")]),n("i-select",{staticClass:"treeSel",staticStyle:{width:"250px"},attrs:{value:t.pids,placeholder:"图片移动至"}},[t._l(t.list,(function(e,a){return n("i-option",{key:a,staticStyle:{display:"none"},attrs:{value:e.value}},[t._v("\n "+t._s(e.title)+"\n ")])})),n("Tree",{ref:"reference",staticClass:"treeBox",attrs:{data:t.treeData2,render:t.renderContentSel,"load-data":t.loadData}})],2)],1)],1),n("div",{staticClass:"pictrueList acea-row"},[n("Row",{staticClass:"conter",attrs:{gutter:24}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.isShowPic,expression:"isShowPic"}],staticClass:"imagesNo"},[n("Icon",{attrs:{type:"ios-images",size:"60",color:"#dbdbdb"}}),n("span",{staticClass:"imagesNo_sp"},[t._v("图片库为空")])],1),n("div",{staticClass:"acea-row mb10"},t._l(t.pictrueList,(function(e,a){return n("div",{key:a,staticClass:"pictrueList_pic mr10 mb10",on:{mouseenter:function(n){return t.enterMouse(e)},mouseleave:function(n){return t.enterMouse(e)}}},[0