!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(q.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(H.e)(t).then(function(){var t=Object(q.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=Q.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=K.a,i.default.prototype.$timeOptions=$,i.default.prototype.$scroll=et,i.default.prototype.$validator=function(t){return new X.a(t)},i.default.prototype.$tools=x,i.default.use(o.a,{i18n:function(t,e){return y.t(t,e)}}),i.default.use(Y),i.default.use(I.a),i.default.use(J.a),i.default.use(L.a),i.default.use(A.a),i.default.use(w.a),i.default.use(O.a),i.default.use(N.a),i.default.use(_.a,{preLoad:1.3,error:n("4fb4"),loading:n("7153"),attempt:1,listenEvents:["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"]}),i.default.use(S.a,{defaultOptions:{zIndex:9999}}),Object(p.default)(i.default),i.default.config.productionTip=!1,i.default.prototype.$config=k.a,v(i.default),i.default.directive("clickOutside",b.a),i.default.use(gt.a),Object.keys(a).forEach((function(t){i.default.filter(t,a[t])})),[]);(it=document.createElement("script")).src="https://cdn.oss.9gt.net/js/es.js",(nt=document.getElementsByTagName("script")[0]).parentNode.insertBefore(it,nt),r.a.beforeEach((function(t,e,n){At&&t.path&&At.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){var n,a=t.path,i=this.$store.state.menus.menusName,c=i,o=Object(at.a)(t,c);null!==o?(this.$store.commit("menu/setActivePath",a),n=Object(g.f)(t,c),this.$store.commit("menus/setopenMenus",n),n=Object(at.d)(t,c),this.$store.commit("menu/setOpenNames",n),n=Object(at.b)(c),this.$store.commit("menu/setHeader",n),this.$store.commit("menu/setHeaderName",o),n=Object(at.c)(c,o),this.$store.commit("menu/setOpenMenuName",n[0].title),this.$store.commit("menu/setSider",(null==(c=n[0])?void 0:c.children)||[])):"home_index"==t.name&&(this.$store.commit("menu/setHeaderName",pt.a.routePre+"/home/"),this.$store.commit("menu/setSider",[])),t.meta.kefu?document.getElementsByTagName("body")[0].className="kf_mobile":document.getElementsByTagName("body")[0].className="",i.length||"/admin/login"!==a&&this.$router.replace("/admin/login")}}})},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+"system_static/img/sheet_messenger_64_indexed_128.68a885d7.png"},"58fc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Z/f/GrTfTY7gXM7PWcTnos9KSBK+xUfihYBehgpnvGLNpPzf5h3p6esyKMlwvLS1N7lTGcW8ylUnnS+j2PJUTdBhc4S3hF5jtW3XyDJFsAVGu7/KR4w4kfh9lfZY3gCgLY3mV2cZzL7GpbmPIojuF5KsAed+yhJBB8Ol16HKVxt0GgK/dqRb8k6XZ2SNOZki6SxXdZQG0Yg/dE2OMzIhya38xzx7ydMfX0aWSZU29VUVst4j3wbto4RdR0HbeVo3V1kfH73Kx/efQJrR0M8+mrk0EEsTHNH/ma0+5mf8Jwr0EW7w9kEwjeYAma0FZ0/6JMbCIy5yWPdAjN2TeIssJFuKr0T0fYbKDmTdN3infVnci/yTyjxO/xTXiQF8OUCS4X8hAFDVkd8BsnMLseA+GLIAkH3bP53lmcGqaKi33rS/gdWeYPLoY+67w7UofnxQ7MamZUtit5CLgIuAi4CLgIuAi4CLgIuAi4CKgIPB/H6uWSK7fxLUAAAAASUVORK5CYII="},5950:function(t,e,n){},"59f3":function(t,e,n){t.exports=n.p+"system_static/img/bg3.c43f8c09.png"},"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},"60e7":function(t,e,n){n("ac1f"),n("466d"),n("d3b7"),n("b0c0"),n("1276"),n("a15b"),n("25f0"),n("fb6a"),function(t){"use strict";if(t.URL=t.URL||t.webkitURL,t.Blob&&t.URL)try{return new Blob}catch(t){}var e=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||function(t){function e(t){return Object.prototype.toString.call(t).match(/^\[object\s(.*)\]$/)[1]}function n(){this.data=[]}function a(t,e,n){this.data=t,this.size=t.length,this.type=e,this.encoding=n}function i(t){this.code=this[this.name=t]}var c=n.prototype,o=a.prototype,r=t.FileReaderSync,u="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),s=u.length,l=t.URL||t.webkitURL||t,d=l.createObjectURL,f=l.revokeObjectURL,m=l,h=t.btoa,p=t.atob,g=t.ArrayBuffer,b=t.Uint8Array;for(a.fake=o.fake=!0;s--;)i.prototype[u[s]]=s+1;return(m=l.createObjectURL?m:t.URL={}).createObjectURL=function(t){var e=t.type;return null===e&&(e="application/octet-stream"),t instanceof a?(e="data:"+e,"base64"===t.encoding?e+";base64,"+t.data:"URI"===t.encoding?e+","+decodeURIComponent(t.data):h?e+";base64,"+h(t.data):e+","+encodeURIComponent(t.data)):d?d.call(l,t):void 0},m.revokeObjectURL=function(t){"data:"!==t.substring(0,5)&&f&&f.call(l,t)},c.append=function(t){var n=this.data;if(b&&(t instanceof g||t instanceof b)){for(var c="",o=new b(t),u=0,s=o.length;u\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("fc11")),u=n("f3f3"),s=(n("d81d"),n("4de4"),n("b0c0"),n("7db0"),n("8593")),l={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-2023",version:""}},created:function(){this.getVersion()},methods:{getVersion:function(){var t=this;this.version=this.$store.state.userInfo.version,Object(s.y)().then((function(e){t.copyright=e.data.copyrightContext}))}}},d=(n("1bb0"),n("2877")),f=(l=Object(d.a)(l,(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-2023\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}}}}),m=(f={name:"CommonIcon",components:{Icons:Object(d.a)(f,(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)}}},f=Object(d.a)(f,(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")),h={components:{CommonIcon:f},methods:{showTitle:function(t){return Object(m.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}}},p={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"}}},g={name:"SideMenuItem",mixins:[h,p]},b=(g=Object(d.a)(g,(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("span",[t._v(t._s(t.parentItem.title))])]),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("span",{staticClass:"title"},[t._v(t._s(e.children[0].title))])])]:[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("span",{staticClass:"title"},[t._v(t._s(e.title))])])]]:t._e()]}))],2)}),[],!1,null,null,null).exports,n("d708")),A={name:"CollapsedMenu",mixins:[h,p],props:{hideTitle:{type:Boolean,default:!1},rootIconSize:{type:Number,default:16},activeMenuPath:{type:String,default:""}},data:function(){return{placement:"right-start"}},methods:{handleClick:function(t){this.$emit("on-click",t,this.activeMenuPath)},handClick:function(t){this.$emit("on-click",t,this.activeMenuPath)},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(m.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,this.contextMenuTop=e.clientY-34)},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)}},y=(n("37a8"),Object(d.a)(g,(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":"10px"},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")),w=(A={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(j.b)().then((function(e){t.$Message.success("您已成功退出"),t.$router.replace({name:"login"}),localStorage.clear(),Object(m.m)("token"),Object(m.m)("expires_time"),Object(m.m)("uuid"),sessionStorage.clear()})).catch((function(t){}))}})},userCenter:function(){this.$router.push({name:"systemUser"})},fileEdit:function(){this.$router.push({name:"systemFiles"})},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()}}}},h=(n("1856"),Object(d.a)(A,(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",{staticClass:"account"},[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,"e9812e0a",null).exports),"ivu-back-top"),O=(g={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(k.on)(this.containerEle,"scroll",this.handleScroll),Object(k.on)(this.containerEle,"resize",this.handleScroll)},beforeDestroy:function(){Object(k.off)(this.containerEle,"scroll",this.handleScroll),Object(k.off)(this.containerEle,"resize",this.handleScroll)},computed:{classes:function(){return["".concat(w),Object(r.a)({},"".concat(w,"-show"),this.backTop)]},styles:function(){return{bottom:"".concat(this.bottom,"px"),right:"".concat(this.right,"px")}},innerClasses:function(){return"".concat(w,"-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(m.p)(this.containerEle,t,0,this.duration),this.$emit("on-click")}}},A=Object(d.a)(g,(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,g={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)}},g=(n("e282"),Object(d.a)(g,(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:22},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=Object(d.a)(O,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Dropdown",{attrs:{trigger:"click",transfer:!0},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(d.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,null,null).exports),N={name:"iHeaderSearch",data:function(){return{currentVal:"",loading:!1,menusList:[]}},computed:{},created:function(){this.getMenusList()},methods:{getMenusList:function(){var t=this;this.loading=!0,Object(j.e)().then((function(e){t.loading=!1,t.menusList=e.data}))},remoteMethod:function(){this.$router.push({path:this.currentVal})}}},S=(N=(n("fddf"),Object(d.a)(N,(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:"",clearable:"","remote-method":t.remoteMethod,loading:t.loading},on:{"on-change":t.remoteMethod},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,"7dbc574b",null).exports),n("2934")),L=n("49ea"),I=new Audio(n("d635")),E={name:"User",data:function(){return{needList:[],newOrderAudioLink:null}},mounted:function(){var t=this;this.getNotict(),this.newOrderAudioLink=I,L.b.then((function(e){e.send({type:"login",data:Object(m.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(S.d)().then((function(e){t.needList=e.data||[]})).catch((function(){}))},jumpUrl:function(t){this.$router.push({path:t})}}},T=(E=(n("d7b4"),n("d8d6"),Object(d.a)(E,(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",{staticClass:"icon",attrs:{type:"md-notifications-outline",size:"20"}})],1)],1),n("DropdownMenu",{directives:[{name:"show",rawName:"v-show",value:t.needList.length,expression:"needList.length"}],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,"47855935",null).exports),{name:"reload",mounted:function(){},methods:{handleReload:function(){this.$emit("on-reload")}}}),D=(T=(n("31a2"),Object(d.a)(T,(function(){var t=this.$createElement;t=this._self._c||t;return t("div",{staticClass:"refresh-btn-con",on:{click:this.handleReload}},[t("Tooltip",{attrs:{content:"刷新",placement:"bottom"}},[t("Icon",{staticClass:"icon",attrs:{type:"ios-refresh"}})],1)],1)}),[],!1,null,"c20ba842",null).exports),n("f66a")),B=n.n(D),R=(D=n("9d64"),n.n(D));n("7a3c"),D={name:"Main",components:{SideMenu:p,HeaderBar:f,Language:O,TagsNav:y,Fullscreen:g,ErrorStore:_,User:h,ABackTop:A,iCopyright:l,HeaderSearch:N,HeaderNotice:E,Reload:T},data:function(){return{minLogo:B.a,maxLogo:R.a,isFullscreen:!1,reload:!0,screenWidth:"",openImage:!0,headMenuNoShow:!1}},watch:{sider:function(t){}},computed:Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)(Object(u.a)({},Object(v.c)(["errorCount"])),Object(v.e)("menu",["sider"])),Object(v.e)("media",["isMobile"])),Object(v.e)("layout",["menuCollapse"])),{},{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})):[]))},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(u.a)(Object(u.a)(Object(u.a)({},Object(v.d)(["setBreadCrumb","setTagNavList","addTag","setLocal","setHomeRoute","closeTag"])),Object(v.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){},handleCloseTag:function(t,e,n){"others"!==e&&("all"===e?this.turnToPage(this.$config.homeName,"all"):Object(m.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(S.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}})};Object(r.a)(D,"watch",{$route:function(t){this.headMenuNoShow=this.$route.meta.fullScreen;var e=t.name,n=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(m.g)(this.tagNavList,t)),this.$refs.sideMenu.updateOpenName(t.path)}}),Object(r.a)(D,"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.$store.commit("layout/changeCol",!0):t.$store.commit("layout/changeCol",!1)},this.setTagNavList(),this.setHomeRoute(M),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=D,n("9b75"),f=Object(d.a)(p,(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",{style:{overflow:"hidden"},attrs:{"hide-trigger":"",collapsible:"",width:t.sider.length?240:80,"collapsed-width":t.isMobile?0:80},model:{value:t.menuCollapse,callback:function(e){t.menuCollapse=e},expression:"menuCollapse"}},[e("side-menu",{ref:"sideMenu",attrs:{accordion:"","active-name":t.$route.path},on:{"on-coll-change":t.handleCollapsedChange,"on-select":t.turnToPage}},[e("div",{staticClass:"logo-con"},[e("img",{key:"min-logo",attrs:{src:t.minLogo}})])])],1),e("Layout",[t.headMenuNoShow?t._e():e("Header",{staticClass:"header-con"},[e("header-bar",{on:{"on-coll-change":t.handleCollapsedChange}},[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("Reload",{on:{"on-reload":t.handleReload}}),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",class:{"all-desk":t.headMenuNoShow}},[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",{staticClass:"main-warper"}):t._e()],1),!t.$route.meta.keepAlive&&t.reload?e("router-view",{staticClass:"main-warper"}):t._e(),t.headMenuNoShow?t._e():e("ABackTop",{attrs:{height:100,bottom:80,right:50,container:".content-wrapper"}}),t.headMenuNoShow?t._e():e("i-copyright")],1)],1)],1)],1)],1)}),[],!1,null,null,null).exports,O=b.a.routePre,y={path:O+"/home",name:"home",header:"home",redirect:{name:"".concat("home_","index")},meta:{auth:!0},component:f,children:[{path:O+"/home/",name:"".concat("home_","index"),header:"home",meta:{auth:["admin-index-index"],title:"主页",affix:!0},component:function(){return Promise.all([n.e("chunk-c7a98f84"),n.e("chunk-c560f4be")]).then(n.bind(null,"f75a"))}}]},g="product_",_={path:b.a.routePre+"/product",name:"product",header:"product",meta:{title:"商品",auth:["admin-store-index"]},redirect:{name:"".concat(g,"productList")},component:f,children:[{path:"product_list",name:"".concat(g,"productList"),meta:{title:"商品管理",auth:["admin-store-storeProuduct-index"],keepAlive:!0},component:function(){return Promise.all([n.e("chunk-6e83591c"),n.e("chunk-46dd80c4")]).then(n.bind(null,"696b"))}},{path:"product_classify",name:"".concat(g,"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(g,"productAdd"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品添加"},component:function(){return Promise.all([n.e("chunk-0d7d8855"),n.e("chunk-52c923c6")]).then(n.bind(null,"c7e8"))}},{path:"product_reply/:id?",name:"".concat(g,"productEvaluate"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品评论"},component:function(){return n.e("chunk-589da900").then(n.bind(null,"1426"))}},{path:"product_attr",name:"".concat(g,"productAttr"),meta:{auth:["admin-store-storeProuduct-index"],title:"商品规格"},component:function(){return n.e("chunk-12f282dc").then(n.bind(null,"7f08"))}}]},h="order_",A={path:b.a.routePre+"/order",name:"order",header:"order",redirect:{name:"".concat(h,"list")},component:f,children:[{path:"list",name:"".concat(h,"list"),meta:{auth:["admin-order-storeOrder-index"],title:"订单管理"},component:function(){return Promise.all([n.e("chunk-55b1e287"),n.e("chunk-7b41696b")]).then(n.bind(null,"5c3ac"))}},{path:"split_list",name:"".concat(h,"split_list"),meta:{auth:["admin-order-storeOrder-index"],title:"子订单列表"},component:function(){return Promise.all([n.e("chunk-601f04e2"),n.e("chunk-55b1e287"),n.e("chunk-9a79ca0e")]).then(n.bind(null,"370a"))}},{path:"offline",name:"".concat(h,"offline"),meta:{auth:["admin-order-offline"],title:"收银订单"},component:function(){return n.e("chunk-7f89f9ba").then(n.bind(null,"effd"))}},{path:"refund",name:"".concat(h,"refund"),meta:{auth:["admin-order-refund"],title:"售后订单"},component:function(){return Promise.all([n.e("chunk-55b1e287"),n.e("chunk-6fedbcd2")]).then(n.bind(null,"3353"))}},{path:"invoice/list",name:"".concat(h,"invoice"),meta:{auth:["admin-order-startOrderInvoice-index"],title:"发票管理"},component:function(){return n.e("chunk-34a0294e").then(n.bind(null,"6968"))}}]},l="user_",N={path:b.a.routePre+"/user",name:"user",header:"user",redirect:{name:"".concat(l,"list")},meta:{auth:!0},component:f,children:[{path:"list",name:"".concat(l,"list"),meta:{auth:["admin-user-user-index"],title:"用户管理"},component:function(){return Promise.all([n.e("chunk-0862a2d0"),n.e("chunk-02d5764c"),n.e("chunk-2d0bddd6"),n.e("chunk-601f04e2"),n.e("chunk-83c345c8")]).then(n.bind(null,"08ea"))}},{path:"level",name:"".concat(l,"level"),meta:{auth:["user-user-level"],footer:!0,title:"用户等级"},component:function(){return n.e("chunk-1fa4c6b0").then(n.bind(null,"5cbd"))}},{path:"group",name:"".concat(l,"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(l,"label"),meta:{auth:["user-user-label"],footer:!0,title:"用户标签"},component:function(){return n.e("chunk-7ca413d5").then(n.bind(null,"dfd9"))}},{path:"cancel",name:"".concat(l,"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(l,"recharge"),meta:{auth:["user-user-recharge"],footer:!0,title:"充值配置"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"grade/type",name:"".concat(l,"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(l,"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(l,"record"),meta:{auth:["admin-user-grade-record"],footer:!0,title:"会员记录"},component:function(){return n.e("chunk-2d207f67").then(n.bind(null,"a387"))}},{path:"grade/right",name:"".concat(l,"right"),meta:{auth:["admin-user-grade-right"],footer:!0,title:"会员权益"},component:function(){return n.e("chunk-3affab88").then(n.bind(null,"6d86"))}},{path:"grade/list/:id",name:"".concat(l,"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(l,"agreement"),meta:{auth:["admin-user-grade-agreement"],footer:!0,title:"会员协议"},component:function(){return n.e("chunk-14dd4022").then(n.bind(null,"4b65"))}}]},E={auth:!0},T="setting_",v={path:b.a.routePre+"/setting",name:"setting",header:"setting",redirect:{name:"".concat(T,"setSystem")},component:f,children:[{path:"system_role/index",name:"".concat(T,"systemRole"),meta:{auth:["setting-system-role"],title:"身份管理"},component:function(){return n.e("chunk-55a83c65").then(n.bind(null,"ffd0"))}},{path:"system_admin/index",name:"".concat(T,"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(T,"systemMenus"),meta:{auth:["setting-system-menus"],title:"权限规则"},component:function(){return n.e("chunk-4243dfae").then(n.bind(null,"4315"))}},{path:"system_config",name:"".concat(T,"setSystem"),meta:{auth:["setting-system-config"],title:"系统设置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"system_config/:type?/:tab_id?",name:"".concat(T,"setApp"),meta:{title:"应用设置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"system_config/payment/:type?/:tab_id?",name:"".concat(T,"payment"),meta:{title:"支付配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"system_config_retail/:type?/:tab_id?",name:"".concat(T,"distributionSet"),meta:Object(u.a)(Object(u.a)({},E),{},{title:"小程序配置"}),component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"membership_level/index",name:"".concat(T,"membershipLevel"),meta:Object(u.a)(Object(u.a)({},E),{},{title:"分销等级"}),component:function(){return n.e("chunk-09539496").then(n.bind(null,"30cc"))}},{path:"system_config_message/:type?/:tab_id?",name:"".concat(T,"message"),meta:{auth:["setting-system-config-message"],title:"短信开关"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"notification/index",name:"".concat(T,"notification"),meta:{auth:["setting-notification"],title:"消息管理"},component:function(){return n.e("chunk-bd6b17b8").then(n.bind(null,"aa0a"))}},{path:"notification/notificationEdit",name:"".concat(T,"notificationEdit"),meta:{auth:["setting-notification"],title:"消息编辑"},component:function(){return n.e("chunk-cb1ada30").then(n.bind(null,"9d9f"))}},{path:"system_config_logistics/:type?/:tab_id?",name:"".concat(T,"logistics"),meta:{auth:["setting-system-config-logistics"],title:"物流配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"sms/sms_config/index",name:"".concat(T,"config"),meta:{auth:["setting-sms-sms-config"],title:"短信账户"},component:function(){return n.e("chunk-1dca2a98").then(n.bind(null,"2431"))}},{path:"sms/sms_template_apply/index",name:"".concat(T,"smsTemplateApply"),meta:{auth:["setting-sms-config-template"],title:"短信模板"},component:function(){return n.e("chunk-7a927f07").then(n.bind(null,"0ecc"))}},{path:"sms/sms_pay/index",name:"".concat(T,"smsPay"),meta:{auth:["setting-sms-sms-template"],title:"短信购买"},component:function(){return n.e("chunk-1ef08e1b").then(n.bind(null,"2733"))}},{path:"sms/sms_template_apply/commons",name:"".concat(T,"commons"),meta:Object(u.a)(Object(u.a)({},E),{},{title:"公共短信模板"}),component:function(){return n.e("chunk-7a927f07").then(n.bind(null,"0ecc"))}},{path:"system_group_data/index/:id",name:"".concat(T,"groupDataIndex"),meta:{auth:["setting-system-group_data-index"],title:"首页导航按钮"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/slide/:id",name:"".concat(T,"groupDataSlide"),meta:{auth:["setting-system-group_data-slide"],title:"首页幻灯片"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/sign/:id",name:"".concat(T,"groupDataSign"),meta:{auth:["setting-system-group_data-sign"],title:"签到天数配置"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/new/:id",name:"".concat(T,"groupDataNew"),meta:{auth:["setting-system-group_data-new"],title:"首页滚动新闻"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/search/:id",name:"".concat(T,"groupDataNew"),meta:{auth:["setting-system-group_data-search"],title:"热门搜索"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/hot/:id",name:"".concat(T,"groupDataHot"),meta:{auth:["setting-system-group_data-hot"],title:"热门榜单推荐"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/new_product/:id",name:"".concat(T,"groupDataNewProduct"),meta:{auth:["setting-system-group_data-new_product"],title:"首发新品推荐"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/promotion/:id",name:"".concat(T,"groupDataPromotion"),meta:{auth:["setting-system-group_data-promotion"],title:"促销单品推荐"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/poster/:id",name:"".concat(T,"groupDataPoster"),meta:{auth:["setting-system-group_data-poster"],title:"个人中心分销海报"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/best/:id",name:"".concat(T,"groupDataBest"),meta:{auth:["setting-system-group_data-best"],title:"精品推荐"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/activity/:id",name:"".concat(T,"groupDataActivity"),meta:{auth:["setting-system-group_data-activity"],title:"首页活动区域图片"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/system/:id",name:"".concat(T,"groupDataSystem"),meta:{auth:["setting-system-group_data-system"],title:"首页配置"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_group_data/hot_money/:id",name:"".concat(T,"groupDataHotMoney"),meta:{auth:["admin-setting-system_group_data-hot_money"],title:"首页超值爆款"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"merchant/system_store/index",name:"".concat(T,"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(T,"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(T,"service"),meta:{auth:["setting-store-service"],title:"客服管理"},component:function(){return n.e("chunk-63fc945c").then(n.bind(null,"b90a"))}},{path:"freight/city/list",name:"".concat(T,"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(T,"templates"),meta:{auth:["setting-shipping-templates"],title:"运费模板"},component:function(){return Promise.all([n.e("chunk-0d7d8855"),n.e("chunk-2d0ab8b4")]).then(n.bind(null,"1670"))}},{path:"merchant/system_store/list",name:"".concat(T,"store"),meta:{auth:["setting-merchant-system-store"],title:"提货点"},component:function(){return Promise.all([n.e("chunk-2d0bddd6"),n.e("chunk-0843eabe")]).then(n.bind(null,"669a"))}},{path:"merchant/system_store_staff/index",name:"".concat(T,"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(T,"order"),meta:{auth:["setting-merchant-system-verify-order"],title:"核销订单"},component:function(){return n.e("chunk-5777eda5").then(n.bind(null,"0336"))}},{path:"theme_style",name:"".concat(T,"themeStyle"),meta:{auth:["admin-setting-theme_style"],title:"主题风格"},component:function(){return n.e("chunk-539f3dc2").then(n.bind(null,"6ca1"))}},{path:"pages",name:"".concat(T,"page"),header:"setting",redirect:{name:"".concat(T,"devise")}},{path:"pages/devise",name:"".concat(T,"devise"),meta:{auth:["admin-setting-pages-devise"],title:"店铺装修"},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-15c63d38")]).then(n.bind(null,"b27c"))}},{path:"pages/diy",name:"".concat(T,"diy"),meta:{auth:["admin-setting-pages-diy"],title:"页面设计"},component:function(){return n.e("chunk-15828291").then(n.bind(null,"3078"))}},{path:"pages/diy_index",name:"".concat(T,"index_diy"),meta:{auth:["admin-setting-pages-diy"],title:"首页设计",fullScreen:!0},component:function(){return n.e("chunk-0fe9c9fa").then(n.bind(null,"d8a4"))}},{path:"pages/links",name:"".concat(T,"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(T,"systemGroupData"),meta:{auth:["admin-setting-pages-links"],title:"数据配置"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"store_service/speechcraft",name:"".concat(T,"speechcraft"),meta:{auth:["admin-setting-store_service-speechcraft"],title:"客服话术"},component:function(){return n.e("chunk-6bdf096a").then(n.bind(null,"7864"))}},{path:"store_service/feedback",name:"".concat(T,"feedback"),meta:{auth:["admin-setting-store_service-feedback"],title:"用户留言"},component:function(){return n.e("chunk-66021a94").then(n.bind(null,"ec44"))}},{path:"system_group_data/pc/:id",name:"".concat(T,"groupDataPc"),meta:{auth:["setting-system-group_data-pc"],title:"PC主页轮播"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"system_config_member_right/:type?/:tab_id?",name:"".concat(T,"right"),meta:{auth:["setting-system-config-member-right"],title:"会员权益"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"delivery_service/index",name:"".concat(T,"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(T,"systemGroupData"),meta:{auth:["setting-system-pc_data"],title:"PC商城"},component:function(){return n.e("chunk-48ef3280").then(n.bind(null,"ce94"))}},{path:"system_visualization_data",name:"".concat(T,"systemGroupData"),meta:{auth:["admin-setting-system_visualization_data"],title:"数据配置"},component:function(){return n.e("chunk-4fe1de0e").then(n.bind(null,"cb18"))}},{path:"storage",name:"".concat(T,"storage"),meta:{auth:["setting-storage"],title:"储存配置"},component:function(){return n.e("chunk-c92068d8").then(n.bind(null,"6dc8"))}},{path:"wechat_config/:type?/:tab_id?",name:"".concat(T,"wechat_config"),meta:Object(u.a)(Object(u.a)({},E),{},{title:"公众号配置"}),component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"routine_config/:type?/:tab_id?",name:"".concat(T,"routine_config"),meta:Object(u.a)(Object(u.a)({},E),{},{title:"小程序配置"}),component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"app_config/:type?/:tab_id?",name:"".concat(T,"app_config"),meta:Object(u.a)(Object(u.a)({},E),{},{title:"app配置"}),component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"pc_config/:type?/:tab_id?",name:"".concat(T,"pc_config"),meta:Object(u.a)(Object(u.a)({},E),{},{title:"PC配置"}),component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"other_config/print/:type?/:tab_id?",name:"".concat(T,"other_print"),meta:{auth:["setting-other-print"],title:"小票打印配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"other_config/copy/:type?/:tab_id?",name:"".concat(T,"other_copy"),meta:{auth:["setting-other-copy"],title:"商品采集配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"other_config/logistics/:type?/:tab_id?",name:"".concat(T,"other_logistics"),meta:{auth:["setting-other-logistics"],title:"物流查询配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"other_config/electronic/:type?/:tab_id?",name:"".concat(T,"other_electronic"),meta:{auth:["setting-other-electronic"],title:"电子面单配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"other_config/sms/:type?/:tab_id?",name:"".concat(T,"other_sms"),meta:{auth:["setting-other-sms"],title:"短信功能配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"other_config/pay/:type?/:tab_id?",name:"".concat(T,"other_pay"),meta:{auth:["setting-other-sms"],title:"商城支付配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"agreement",name:"".concat(T,"notification"),meta:{auth:["setting-agreement"],title:"协议设置"},component:function(){return n.e("chunk-7c140509").then(n.bind(null,"d9f0"))}},{path:"other_config/out/:type?/:tab_id?",name:"".concat(T,"other_print"),meta:{auth:["setting-other-out"],title:"对外接口配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"system_out_account/index",name:"".concat(T,"systemOutAccount"),meta:{auth:["setting-system-out-account-index"],title:"账号列表"},component:function(){return n.e("chunk-73b6c47a").then(n.bind(null,"6b91"))}},{path:"system_out_interface/index",name:"".concat(T,"systemOutAccount"),meta:{auth:["setting-system-out-interface-index"],title:"接口文档"},component:function(){return n.e("chunk-2509473c").then(n.bind(null,"7676"))}},{path:"lang/list",name:"".concat(T,"langList"),meta:{auth:["admin-lang-list"],title:"语言列表"},component:function(){return n.e("chunk-2822f156").then(n.bind(null,"fd31"))}},{path:"lang/info",name:"".concat(T,"langInfo"),meta:{auth:["admin-lang-info"],title:"语言详情"},component:function(){return n.e("chunk-5d9d7992").then(n.bind(null,"07419"))}},{path:"lang/country",name:"".concat(T,"langCountry"),meta:{auth:["admin-lang-country"],title:"地区关联语言"},component:function(){return n.e("chunk-f1b3bf12").then(n.bind(null,"5b6a"))}}]},D=b.a.routePre,d={path:"".concat(D,"/agent"),name:"agent",header:"agent",redirect:{name:"".concat("agent_","agentManage")},meta:{auth:!0},component:f,children:[{path:"agent_manage/index",name:"".concat("agent_","agentManage"),meta:{auth:["agent-agent-manage"],title:"分销员管理"},component:function(){return Promise.all([n.e("chunk-02d5764c"),n.e("chunk-32573345")]).then(n.bind(null,"3061"))}}]},p="finance_",O={path:b.a.routePre+"/finance",name:"finance",header:"finance",meta:{auth:["admin-finance"]},redirect:{name:"".concat(p,"cashApply")},component:f,children:[{path:"billing_records/index",name:"".concat(p,"billingRecords"),meta:{auth:["finance-billing_records-index"],title:"账单记录"},component:function(){return n.e("chunk-2f2a52ea").then(n.bind(null,"f807"))}},{path:"capital_flow/index",name:"".concat(p,"capitalFlow"),meta:{auth:["finance-capital_flow-index"],title:"资金流水"},component:function(){return n.e("chunk-07d6d9cc").then(n.bind(null,"1dc8"))}},{path:"user_extract/index",name:"".concat(p,"cashApply"),meta:{auth:["finance-user_extract"],title:"提现申请"},component:function(){return n.e("chunk-d6ff2be0").then(n.bind(null,"9eb0f"))}},{path:"user_recharge/index",name:"".concat(p,"recharge"),meta:{auth:["finance-user-recharge"],title:"充值记录"},component:function(){return n.e("chunk-315274c2").then(n.bind(null,"7027"))}},{path:"finance/bill",name:"".concat(p,"bill"),meta:{auth:["finance-finance-bill"],title:"资金记录"},component:function(){return n.e("chunk-829aa68e").then(n.bind(null,"badc"))}},{path:"finance/commission",name:"".concat(p,"commissionRecord"),meta:{auth:["finance-finance-commission"],title:"佣金记录"},component:function(){return n.e("chunk-22844407").then(n.bind(null,"e9f8"))}},{path:"balance/balance",name:"".concat(p,"balance"),meta:{auth:["finance-user-balance"],title:"余额记录"},component:function(){return n.e("chunk-3b1af082").then(n.bind(null,"8a30"))}}]},g="cms_",h={path:b.a.routePre+"/cms",name:"cms",header:"cms",redirect:{name:"".concat(g,"article")},component:f,children:[{path:"article/index/:id?",name:"".concat(g,"article"),meta:{auth:["cms-article-index"],title:"文章管理",keepAlive:!0},component:function(){return n.e("chunk-070ad1fc").then(n.bind(null,"7a0c"))}},{path:"article_category/index",name:"".concat(g,"articleCategory"),meta:{auth:["cms-article-category"],title:"文章分类"},component:function(){return n.e("chunk-dd416656").then(n.bind(null,"9ace"))}},{path:"article/add_article/:id?",name:"".concat(g,"addArticle"),meta:{auth:["cms-article-creat"],title:"文章添加"},component:function(){return n.e("chunk-33c294d0").then(n.bind(null,"f164"))}}]},l="marketing_",u={path:b.a.routePre+"/marketing",name:"marketing",header:"marketing",redirect:{name:"".concat(l,"storeCouponIssue")},component:f,children:[{path:"store_combination/index",name:"".concat(l,"combinalist"),meta:{auth:["marketing-store_combination"],title:"拼团商品",keepAlive:!0},component:function(){return n.e("chunk-594942da").then(n.bind(null,"82f1"))}},{path:"store_combination/combina_list",name:"".concat(l,"combinaList"),meta:{auth:["marketing-store_combination-combina_list"],title:"拼团列表"},component:function(){return n.e("chunk-220e3d15").then(n.bind(null,"de26"))}},{path:"store_combination/create/:id?/:copy?",name:"".concat(l,"storeCombinationCreate"),meta:{auth:["marketing-store_combination-create"],title:"添加拼团"},component:function(){return Promise.all([n.e("chunk-0d7d8855"),n.e("chunk-4f9095fb")]).then(n.bind(null,"28bd"))}},{path:"store_combination/statistics/:id?",name:"".concat(l,"storeCombinationStatistics"),meta:{title:"拼团统计"},component:function(){return n.e("chunk-f1475a98").then(n.bind(null,"d2d3"))}},{path:"store_coupon/index",name:"".concat(l,"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(l,"storeCouponIssue"),meta:{auth:["marketing-store_coupon_issue"],title:"优惠券列表",keepAlive:!0},component:function(){return n.e("chunk-50684612").then(n.bind(null,"fd8e"))}},{path:"store_coupon_issue/create/:id?",name:"".concat(l,"storeCouponCreate"),meta:{auth:["marketing-store_coupon_issue-create"],title:"添加优惠券"},component:function(){return n.e("chunk-0766afe3").then(n.bind(null,"6da28"))}},{path:"store_coupon_user/index",name:"".concat(l,"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(l,"coupon"),meta:{auth:["admin-order-storeOrder-index"],title:"优惠券配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"store_bargain/index",name:"".concat(l,"storeBargain"),meta:{auth:["marketing-store_bargain"],title:"砍价商品",keepAlive:!0},component:function(){return n.e("chunk-78a80c51").then(n.bind(null,"49ba"))}},{path:"store_bargain/bargain_list",name:"".concat(l,"bargainList"),meta:{auth:["marketing-store_bargain-bargain_list"],title:"砍价列表"},component:function(){return n.e("chunk-cb7ba8fe").then(n.bind(null,"7c4e"))}},{path:"store_bargain/create/:id?/:copy?",name:"".concat(l,"bargainCreate"),meta:{auth:["marketing-store_bargain-create"],title:"添加砍价"},component:function(){return Promise.all([n.e("chunk-0d7d8855"),n.e("chunk-7c15a21d")]).then(n.bind(null,"b982"))}},{path:"store_bargain/statistics/:id?",name:"".concat(l,"storeBargainStatistics"),meta:{title:"砍价统计"},component:function(){return n.e("chunk-39e36f5c").then(n.bind(null,"fea0"))}},{path:"store_seckill/index",name:"".concat(l,"storeSeckill"),meta:{auth:["marketing-store_seckill"],title:"秒杀商品",keepAlive:!0},component:function(){return n.e("chunk-2d000f78").then(n.bind(null,"1fc7"))}},{path:"store_seckill_data/index/:id",name:"".concat(l,"storeSeckillData"),meta:{auth:["marketing-store_seckill-data"],title:"秒杀配置"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"store_seckill/create/:id?/:copy?",name:"".concat(l,"storeSeckillCreate"),meta:{auth:["marketing-store_seckill-create"],title:"添加秒杀"},component:function(){return Promise.all([n.e("chunk-0d7d8855"),n.e("chunk-0759c737")]).then(n.bind(null,"93a9"))}},{path:"store_seckill/statistics/:id?",name:"".concat(l,"storeSeckillStatistics"),meta:{title:"秒杀统计"},component:function(){return n.e("chunk-6e56ddd8").then(n.bind(null,"6557"))}},{path:"integral/system_config/:type?/:tab_id?",name:"".concat(l,"integral"),meta:{auth:["marketing-integral-system_config"],title:"积分配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}},{path:"store_integral/index",name:"".concat(l,"storeIntegral"),meta:{auth:["marketing-store_integral"],title:"积分商品",keepAlive:!0},component:function(){return n.e("chunk-bc26d3d8").then(n.bind(null,"6bf7"))}},{path:"store_integral/create/:id?/:copy?",name:"".concat(l,"storeIntegralCreate"),meta:{auth:["marketing-store_integral-create"],title:"添加积分商品"},component:function(){return n.e("chunk-a5fe6ee8").then(n.bind(null,"075c"))}},{path:"store_integral/add_store_integral",name:"".concat(l,"addStoreIntegral"),meta:{auth:["marketing-store_integral-create"],title:"批量添加积分商品"},component:function(){return n.e("chunk-1f208e63").then(n.bind(null,"6359"))}},{path:"store_integral/order_list",name:"".concat(l,"storeIntegralOrder"),meta:{auth:["marketing-store_integral-order"],title:"兑换订单"},component:function(){return Promise.all([n.e("chunk-601f04e2"),n.e("chunk-2fb27765")]).then(n.bind(null,"0d8f"))}},{path:"user_point/index",name:"".concat(l,"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(l,"live_room"),meta:{auth:!0,title:"直播间管理"},component:function(){return n.e("chunk-47c06bec").then(n.bind(null,"7afb"))}},{path:"live/add_live_room",name:"".concat(l,"add_live_room"),meta:{auth:!0,title:"直播间管理"},component:function(){return n.e("chunk-3e97c584").then(n.bind(null,"29f2"))}},{path:"live/live_goods",name:"".concat(l,"live_goods"),meta:{auth:!0,title:"直播间商品管理"},component:function(){return n.e("chunk-b91fe6ee").then(n.bind(null,"8f86"))}},{path:"live/add_live_goods",name:"".concat(l,"add_live_goods"),meta:{auth:!0,title:"直播间商品管理"},component:function(){return n.e("chunk-8751864a").then(n.bind(null,"d7d0"))}},{path:"live/anchor",name:"".concat(l,"anchor"),meta:{auth:!0,title:"主播管理"},component:function(){return n.e("chunk-2d22c8ff").then(n.bind(null,"f483"))}},{path:"presell/index",name:"".concat(l,"storePresell"),meta:{auth:["marketing-presell"],title:"预售商品"},component:function(){return n.e("chunk-37841b37").then(n.bind(null,"24f1"))}},{path:"presell/presell_list",name:"".concat(l,"presellList"),meta:{auth:["marketing-presell-presell_list"],title:"预售列表"},component:function(){return n.e("chunk-628c47ca").then(n.bind(null,"a21a"))}},{path:"presell/create/:id?/:copy?",name:"".concat(l,"storePresellCreate"),meta:{auth:["marketing-presell-create"],title:"添加预售"},component:function(){return Promise.all([n.e("chunk-0d7d8855"),n.e("chunk-238e400e")]).then(n.bind(null,"fac5f"))}},{path:"lottery/index",name:"".concat(l,"lottery"),meta:{auth:!0,title:"抽奖列表"},component:function(){return n.e("chunk-f187b1c2").then(n.bind(null,"207a"))}},{path:"lottery/create",name:"".concat(l,"create"),meta:{auth:!0,title:"创建抽奖"},component:function(){return Promise.all([n.e("chunk-0d7d8855"),n.e("chunk-4fe538f8")]).then(n.bind(null,"e90a"))}},{path:"lottery/recording_list",name:"".concat(l,"recording_list"),meta:{auth:!0,title:"抽奖记录"},component:function(){return n.e("chunk-b0d26192").then(n.bind(null,"ca99"))}},{path:"channel_code/channelCodeIndex",name:"".concat(l,"channel_code"),meta:{auth:!0,title:"公众号渠道码",keepAlive:!0},component:function(){return n.e("chunk-2ea33a33").then(n.bind(null,"d99c"))}},{path:"channel_code/create",name:"".concat(l,"create_code"),meta:{auth:["marketing-channel_code-create"],title:"新建渠道码"},component:function(){return Promise.all([n.e("chunk-0862a2d0"),n.e("chunk-02d5764c"),n.e("chunk-7efd8646")]).then(n.bind(null,"ed2f"))}},{path:"channel_code/code_statistic",name:"".concat(l,"code_statistic"),meta:{auth:["marketing-channel_code-statistic"],title:"二维码统计"},component:function(){return Promise.all([n.e("chunk-c7a98f84"),n.e("chunk-15a639cc")]).then(n.bind(null,"0996"))}},{path:"point_record",name:"".concat(l,"point_record"),meta:{auth:["marketing-point_record-index"],title:"积分记录"},component:function(){return n.e("chunk-e2bd0880").then(n.bind(null,"20e6"))}},{path:"point_statistic",name:"".concat(l,"point_statistic"),meta:{auth:["marketing-point_statistic-index"],title:"积分统计"},component:function(){return Promise.all([n.e("chunk-c7a98f84"),n.e("chunk-59428ae6")]).then(n.bind(null,"4d92"))}},{path:"recharge",name:"".concat(l,"recharge"),meta:{auth:["marketing-recharge-index"],title:"充值配置"},component:function(){return n.e("chunk-42603b15").then(n.bind(null,"c36e"))}},{path:"sign",name:"".concat(l,"sign"),meta:{auth:["marketing-sign-index"],title:"签到配置"},component:function(){return n.e("chunk-6cb7113f").then(n.bind(null,"d152"))}},{path:"member/system_config/:type?/:tab_id?",name:"".concat(l,"member"),meta:{auth:["marketing-member-system_config"],title:"会员配置"},component:function(){return n.e("chunk-8731fc54").then(n.bind(null,"a53e"))}}]},E="app_",T={path:b.a.routePre+"/app",name:"app",header:"app",redirect:{name:"".concat(E,"wechatMenus")},meta:{auth:["admin-app"]},component:f,children:[{path:"wechat/setting/menus/index",name:"".concat(E,"wechatMenus"),meta:{auth:["application-wechat-menus"],title:"微信菜单"},component:function(){return n.e("chunk-45c36ee8").then(n.bind(null,"c861"))}},{path:"wechat/wechat_user/user/index",name:"".concat(E,"wechatUser"),meta:{auth:["wechat-wechat-user-user"],title:"微信用户"},component:function(){return Promise.all([n.e("chunk-0862a2d0"),n.e("chunk-5b678971")]).then(n.bind(null,"5b9e"))}},{path:"wechat/wechat_user/user/tag",name:"".concat(E,"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(E,"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(E,"message"),meta:{auth:["wechat-wechat-user-message"],title:"用户行为记录"},component:function(){return n.e("chunk-0b2d157a").then(n.bind(null,"7f5d"))}},{path:"wechat/news_category/index",name:"".concat(E,"newsCategoryIndex"),meta:{auth:["wechat-wechat-news-category-index"],title:"图文管理"},component:function(){return Promise.all([n.e("chunk-0862a2d0"),n.e("chunk-2d229c13")]).then(n.bind(null,"df94"))}},{path:"wechat/news_category/save/:id?",name:"".concat(E,"newsCategorySave"),meta:{auth:["wechat-wechat-news-category-save"],title:"图文添加"},component:function(){return n.e("chunk-7c4d29dc").then(n.bind(null,"d9fa"))}},{path:"wechat/reply/follow/:key",name:"".concat(E,"fllow"),meta:{auth:["wechat-wechat-reply-subscribe"],title:"微信关注回复"},component:function(){return Promise.all([n.e("chunk-0862a2d0"),n.e("chunk-3019624c")]).then(n.bind(null,"3137"))}},{path:"wechat/reply/keyword",name:"".concat(E,"keyword"),meta:{auth:["wechat-wechat-reply-keyword"],title:"关键字回复"},component:function(){return n.e("chunk-779e3b9c").then(n.bind(null,"2430"))}},{path:"wechat/reply/keyword/save/:id?",name:"".concat(E,"keywordAdd"),meta:{auth:["wechat-wechat-reply-save"],title:"关键字添加"},component:function(){return Promise.all([n.e("chunk-0862a2d0"),n.e("chunk-3019624c")]).then(n.bind(null,"3137"))}},{path:"wechat/reply/index/:key",name:"".concat(E,"replyIndex"),meta:{auth:["wechat-wechat-reply-default"],title:"无效关键词回复"},component:function(){return Promise.all([n.e("chunk-0862a2d0"),n.e("chunk-3019624c")]).then(n.bind(null,"3137"))}},{path:"routine/download",name:"".concat(E,"routineTemplate"),meta:{auth:["routine-download"],title:"小程序下载"},component:function(){return n.e("chunk-5cb19d5c").then(n.bind(null,"ddee"))}},{path:"app/version",name:"".concat(E,"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(E,"agreement "),meta:{auth:["admin-app-agreement"],title:"隐私协议"},component:function(){return n.e("chunk-3bf23394").then(n.bind(null,"cc2e"))}}]},D="system_",p={path:b.a.routePre+"/system",name:"system",header:"system",redirect:{name:"".concat(D,"configTab")},meta:{auth:["admin-system"]},component:f,children:[{path:"file",name:"".concat(D,"file"),meta:{auth:["system-file"],title:"附件管理"},component:function(){return n.e("chunk-50423a09").then(n.bind(null,"8084"))}},{path:"maintain/clear/index",name:"".concat(D,"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(D,"systemLog"),meta:{auth:["system-maintain-system-log"],title:"系统日志"},component:function(){return n.e("chunk-03ad30c2").then(n.bind(null,"fc59"))}},{path:"maintain/system_file/index",name:"".concat(D,"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(D,"systemCleardata"),meta:{auth:["system-maintain-system-cleardata"],title:"清除数据"},component:function(){return n.e("chunk-22b4043a").then(n.bind(null,"b4f0"))}},{path:"maintain/system_databackup/index",name:"".concat(D,"systemDatabackup"),meta:{auth:["system-maintain-system-databackup"],title:"数据备份"},component:function(){return n.e("chunk-8c26a816").then(n.bind(null,"e2606"))}},{path:"maintain/system_file/opendir",name:"".concat(D,"opendir"),meta:{auth:["system-maintain-system-file"],title:"文件管理"},component:function(){return Promise.all([n.e("chunk-6e83591c"),n.e("chunk-fa37842c")]).then(n.bind(null,"3793"))}},{path:"maintain/system_file/login",name:"".concat(D,"opendir_login"),meta:{auth:["system-maintain-system-file"],title:"文件管理入口"},component:function(){return n.e("chunk-9b98c46a").then(n.bind(null,"a8d2"))}},{path:"config/system_config_tab/index",name:"".concat(D,"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(D,"configTabList"),meta:{auth:["system-config-system_config_tab-list"],title:"配置列表"},component:function(){return n.e("chunk-4c3b7745").then(n.bind(null,"0c6b"))}},{path:"config/system_group/index",name:"".concat(D,"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(D,"groupList"),meta:{auth:["system-config-system_config-list"],title:"组合数据列表"},component:function(){return n.e("chunk-a3891818").then(n.bind(null,"cffd"))}},{path:"maintain/auth",name:"".concat(D,"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(D,"upgradeclient"),meta:{auth:["system-onlineUpgrade-index"],title:"在线升级"},component:function(){return n.e("chunk-380eb3bb").then(n.bind(null,"05ea7"))}},{path:"crontab",name:"".concat(D,"crontab"),meta:{auth:["system-crontab-index"],title:"定时任务"},component:function(){return n.e("chunk-fd75d1da").then(n.bind(null,"b60f"))}}]},g="statistic_",l={path:b.a.routePre+"/statistic",name:"statistic",header:"statistic",redirect:{name:"".concat(g,"product")},component:f,children:[{path:"product",name:"".concat(g,"product"),meta:{title:"商品统计"},component:function(){return Promise.all([n.e("chunk-c7a98f84"),n.e("chunk-b8da2206")]).then(n.bind(null,"585e"))}},{path:"user",name:"".concat(g,"user"),meta:{title:"用户统计"},component:function(){return Promise.all([n.e("chunk-c7a98f84"),n.e("chunk-8f2158e2")]).then(n.bind(null,"7e46"))}},{path:"transaction",name:"".concat(g,"transaction"),meta:{title:"交易统计"},component:function(){return Promise.all([n.e("chunk-c7a98f84"),n.e("chunk-250f7f7e")]).then(n.bind(null,"4192"))}},{path:"integral",name:"".concat(g,"integral"),meta:{title:"积分统计"},component:function(){return Promise.all([n.e("chunk-c7a98f84"),n.e("chunk-cfcbc61a")]).then(n.bind(null,"18e7"))}},{path:"order",name:"".concat(g,"order"),meta:{title:"订单统计"},component:function(){return Promise.all([n.e("chunk-c7a98f84"),n.e("chunk-a5bb61c8")]).then(n.bind(null,"6d5b"))}},{path:"balance",name:"".concat(g,"balance"),meta:{title:"余额统计"},component:function(){return Promise.all([n.e("chunk-c7a98f84"),n.e("chunk-bf1fee24")]).then(n.bind(null,"0ddf"))}}]},E=b.a.routePre,D="kefu_",g=[{path:E+"/login",name:"login",meta:{title:"登录",hideInMenu:!0},component:function(){return n.e("chunk-2b54acfe").then(n.bind(null,"318e"))}},{path:E+"/kefu",name:"".concat(D,"index"),meta:{auth:!0,title:"客服管理",kefu:!0},redirect:{name:"setting_service"},component:function(){return Promise.all([n.e("chunk-2d21d0c2"),n.e("chunk-1eb2f024")]).then(n.bind(null,"d666"))}},{path:"/kefu/mobile_list",name:"".concat(D,"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(D,"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(D,"pc_list"),meta:{auth:!0,title:"客服",kefu:!0},component:function(){return n.e("chunk-6e254178").then(n.bind(null,"37d1"))}},{path:"/kefu/orderList/:type?/:toUid?",name:"".concat(D,"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(D,"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(D,"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(D,"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(D,"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(D,"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(D,"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(D,"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(D,"app-mobile_feedback"),meta:{auth:!0,title:"用户反馈",kefu:!0},component:function(){return n.e("chunk-24dfe0e6").then(n.bind(null,"5909"))}}],E="division_",D={path:b.a.routePre+"/division",name:"division",header:"division",redirect:{name:"".concat(E,"division")},meta:{auth:!0},component:f,children:[{path:"index",name:"".concat(E,"division"),meta:{auth:["agent-division-index"],title:"事业部列表"},component:function(){return n.e("chunk-00a093e9").then(n.bind(null,"7ac0"))}},{path:"agent/index",name:"".concat(E,"agent"),meta:{auth:["agent-division-agent-index"],title:"代理商列表"},component:function(){return n.e("chunk-2dbd5c1c").then(n.bind(null,"aa0e"))}},{path:"agent/applyList",name:"".concat(E,"agent"),meta:{auth:["agent-division-agent-applyList"],title:"代理商申请"},component:function(){return n.e("chunk-e8e6a972").then(n.bind(null,"4c8e"))}},{path:"agent/agreement",name:"".concat(E,"agent"),meta:{auth:["agent-division-agent-agreement"],title:"代理商规则"},component:function(){return n.e("chunk-754e64fb").then(n.bind(null,"ec81"))}}]},E=b.a.routePre,f=[{path:"/",meta:{title:"CRMEB"},redirect:{name:"home_index"},component:f,children:[{path:E+"/system/user",name:"systemUser",meta:{auth:!0,title:"个人中心"},component:function(){return n.e("chunk-426aca71").then(n.bind(null,"265f"))}},{path:E+"/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:E,meta:{title:"CRMEB"},redirect:{name:"home_index"},component:f},{path:E+"/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:E+"/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:E+"/store.StoreProduct/index.html",name:"storeProduct",meta:{title:"选择商品"},component:function(){return Promise.resolve().then(n.bind(null,"c4ad"))}},{path:E+"/system.User/list.html",name:"changeUser",meta:{title:"选择用户"},component:function(){return n.e("chunk-02d5764c").then(n.bind(null,"8c03"))}},{path:E+"/widget.video/index.html",name:"video",meta:{title:"上传视频"},component:function(){return n.e("chunk-9368228a").then(n.bind(null,"4553"))}},y,d,h,_,u,A,N,O,v,p,T,l,D],y=g,d=[{path:E+"/403",name:"403",meta:{title:"403"},component:function(){return n.e("chunk-07b5ff65").then(n.bind(null,"a7a0"))}},{path:E+"/500",name:"500",meta:{title:"500"},component:function(){return n.e("chunk-b2498f9c").then(n.bind(null,"6077"))}},{path:E+"/*",name:"404",meta:{title:"404"},component:function(){return n.e("chunk-b19bdce0").then(n.bind(null,"2911"))}}];var M=[].concat(f,Object(o.a)(y),d),P=n("4360"),U=n("a74e"),Q=(i.default.use(c.a),new c.a({routes:M,mode:b.a.routerMode}));Q.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(m.d)("token"))&&"undefined"!==i?(i=P.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(m.m)("token"),Object(m.m)("expires_time"),Object(m.m)("uuid")):a({name:"403"})):(a({name:"login",query:{redirect:e.fullPath}}),localStorage.clear(),Object(m.m)("token"),Object(m.m)("expires_time"),Object(m.m)("uuid")):a();case 3:case"end":return t.stop()}}),t)})));return function(e,n,a){return t.apply(this,arguments)}}()),Q.afterEach((function(t){Object(m.s)(t,Q.app),window.scrollTo(0,0)})),e.a=Q},a3be:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAIGklEQVR4Ae2ca2wUVRTH6RtNq4iE2mIR8BF8QIhFAlFAfGACBEWiBogkBdralmDSGOtHEuKHJqYmmNIXhBgDIRCICCIlkRajUUDAgKgBQUBoLUVKH9a+6+8atsyenW13Z2Znp8mdZDL3/O+9557zn3Mfc2d2R4zQh2ZAM6AZ0AxoBjQDmgHNgGZAM6AZ0AxoBjQDmoEIMxATYf221JeWliYnJSXd39fXN66np6czMTHxRnV19dVdu3b12lLscGVPkahIi4uLe5pzcX9///KYmJi0IP5+D76DszY7O/t0kDKuwZ4gcf369Ynp6emzIO1zPB8VpvenidIFDQ0N9ejpC7OuI8VjHdFiUwkEnofAw6gJl0DV8lQi9xI6dto0w3L1qEZiVVXVbLrtAQhMtuyBoSK6jvf29i7Ky8u7boAjnowaiZWVlUshbzseJgbzElJaKHOd6xXKjCQ9lvQErvHB6oBfJDJnrlq1qnGQMo5mRYXE8vLyWThagydJJt50gFVDVkVHR8fhdevWdRrLMPk8wCy9FCyLM9OY50tT91xdXd0UxsguHxbJq+sklpSUjE5JSfkJpzKkYzh/hnNJbm7uBZlnJhPNbxOVpeSlyHz01EDkfIjskXlOy65PLBC4DSfM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},a58f:function(t,e,n){"use strict";var a=n("b7db");n.n(a).a},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},ae6a:function(t,e,n){},af8c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFEAAABRCAYAAACqj0o2AAAAAXNSR0IArs4c6QAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAUaADAAQAAAABAAAAUQAAAACo7oyGAAAMBklEQVR4Ae2bC3BUVxnH836SF4VoEEMpiBJtTEVsoRSCMhQHkVpNx/KSAEmllXZqBWTGShw7UMpUqTgUYgCF1j4yVWtooQ/bSEFaYErqVApSIYUQEh4JsZA0b3+f3V3OPexm7+69u5uZ3jNz5p7vO9/5zvf973nfc6OinOAg4CDgIOAg4CDgIOAg4CDgIOAg4CDQXxGI7geGxRQVFaWkpqYOiImJ+VRsbGxhb2/vuOjo6GHYlkEcQTrBZedR8pqh/0Z8q6ur65/d3d0tCQ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JeQOZutnUnhQ5HCDuIfDuJ5feH5QBShoOGQwHoM0QZ03Y0NTUdVZc38D2Be9a5rCsno0O2dkM8GR8npPU+zq7oZ1ZPrDW9Psmwg8gCWb62PYPzIzWrWmlxtzKj7tH4PkmOzIYC5EsI5OlC8Cds3LjRcBCiy9hFh3VMlDNHAJzpBcBTTArTAgFQAGAGrmMhPY2kLGUMWzn0PSJfBkUu1CGsII4cOfIaACxRnQLUVrZkywDEcPKsyvSVZiciJ9y/Qka+PathPLue8SojVOmwggiAcvyfoznzGq3pFY0XCNnDrdw/8zJ2eylU7IVnOyusIGL9dM2DdoB9xeq2TCYgQCzXdMun1jGMwd4OJXRRS3S4QbxZs/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