Commit ad80eede by Jings

update: dist

parent 11cf79ad
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
var host = window.location.host; var host = window.location.host;
host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'www.gicdev.com' : host; host = host.indexOf('localhost') > -1 || host.indexOf('192.168') > -1 ? 'www.gicdev.com' : host;
document.write('<script src="//'+ host + src +'"><\/script>') document.write('<script src="//'+ host + src +'"><\/script>')
})()</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.f45d94a44a582fa6ce0d.js></script><script type=text/javascript src=./static/js/vendor.4076faa8c37148ddb5c4.js></script><script type=text/javascript src=./static/js/app.b253d19d819084a46ae8.js></script></body></html> })()</script><script src=//web-1251519181.file.myqcloud.com/components/pagination.1.0.10.js></script><script src=//web-1251519181.file.myqcloud.com/components/common.1.0.3.js></script><script src=//web-1251519181.file.myqcloud.com/components/export-data.1.0.11.js></script><script type=text/javascript src=./static/js/manifest.f45d94a44a582fa6ce0d.js></script><script type=text/javascript src=./static/js/vendor.4076faa8c37148ddb5c4.js></script><script type=text/javascript src=./static/js/app.f03a5beee31c7ed96d18.js></script></body></html>
\ No newline at end of file \ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
webpackJsonp([127],{"/wAz":function(e,t){},0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"0xDb":function(e,t,a){"use strict";t.b=function e(t){if(!t&&"object"!==(void 0===t?"undefined":m()(t)))throw new Error("error arguments","shallowClone");var a=t.constructor===Array?[]:{};l()(t).forEach(function(o){t[o]&&"object"===m()(t[o])?(a[o]=t[o].constructor===Array?[]:{},a[o]=e(t[o])):a[o]=t[o]});return a},t.e=function(){var e=new Date((new Date).getTime()-864e5),t=e.getTime()-7776e6,a=e.getFullYear(),o=e.getMonth()+1,n=e.getDate()<10?"0"+e.getDate():e.getDate(),r=o<10?"0"+o:o,s=new Date(t),i=s.getFullYear(),p=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[i+"-"+(p<10?"0"+p:p)+"-"+c,a+"-"+r+"-"+n]},t.a=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=a.idName,n=void 0===o?"id":o,r=a.parentIdName,i=void 0===r?"parentId":r,c=a.childName,d=void 0===c?"children":c,l={},u=[],m=!0,h=!1,g=void 0;try{for(var f,v=p()(e);!(m=(f=v.next()).done);m=!0){var w=f.value,S=w[n],C=w[i];l[S]=l[S]?s()({},w,l[S]):w;var D=l[S];C===t?u.push(D):(l[C]||(l[C]={}),l[C][d]||(l[C][d]=[]),l[C][d].push(D))}}catch(e){h=!0,g=e}finally{try{!m&&v.return&&v.return()}finally{if(h)throw g}}return u},t.c=function(e,t){var a=[];return e.forEach(function(o){e.includes(o)&&!t.includes(o)&&a.push(o)}),a},t.d=function(e,t){for(var a=[],o=!1,r=0;r<e.length;r++){for(var s=0;s<t.length;s++){if(n()(e[r])===n()(t[s])){o=!1;break}o=r}!1!==o&&a.push(e[o])}return a};var o=a("mvHQ"),n=a.n(o),r=a("Dd8w"),s=a.n(r),i=a("BO1k"),p=a.n(i),c=a("woOf"),d=(a.n(c),a("fZjL")),l=a.n(d),u=a("pFYg"),m=a.n(u);new Date},"4qCZ":function(e,t){},"5tgt":function(e,t,a){e.exports=function(e,t){return function(o){a("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6bDD":function(e,t){},CNbB:function(e,t){},"Ch4/":function(e,t,a){"use strict";var o=a("l6IN"),n=(a.n(o),JSON.parse(sessionStorage.getItem("userInfos")||"{}")),r="string"==typeof n.gicHost?n.gicHost.replace(/\/$/,""):"";location.origin.indexOf("localhost")>=0&&(r=location.origin),t.a={errorMsg:function(e){if(1!=e.errorCode){if(4==e.errorCode)return window.location.href=r+"/gic-web/#/login?ishb=1",!1;if(10==e.errorCode)return window.location.href=r+"/haoban-3/#/index",!1;o.Message.error({duration:2e3,message:e.message||"接口异常"})}}}},FHfR:function(e,t){e.exports={multipleAssign:"multipleAssign",assign:"assign",willSyncTag:"willSyncTag",breakSyncTag:"breakSyncTag",addShowRules:"addShowRules",editShowRules:"editShowRules",delShowRules:"delShowRules",groupExpire:"groupExpire",syncGroup:"syncGroup",addGroupTemp:"addGroupTemp",editGroupTemp:"editGroupTemp",setStoreArea:"setStoreArea",delGroupTemp:"delGroupTemp",searchSetSave:"searchSetSave",saveTrafficTaskSet:"saveTrafficTaskSet",addCard:"addCard",editCard:"editCard",delCard:"delCard",sendCardLog:"sendCardLog",getCardLog:"getCardLog",saveEvaluateSet:"saveEvaluateSet",addMaterialGroup:"addMaterialGroup",editMaterialGroup:"editMaterialGroup",delMaterialGroup:"delMaterialGroup",multipleDelAssets:"multipleDelAssets",multipleMoveAssets:"multipleMoveAssets",addText:"addText",editText:"editText",delText:"delText",textAssignStore:"textAssignStore",addImage:"addImage",editImage:"editImage",delImage:"delImage",imageAssignStore:"imageAssignStore",addWeb:"addWeb",editWeb:"editWeb",delWeb:"delWeb",webAssignStore:"webAssignStore",addVideo:"addVideo",editVideo:"editVideo",delVideo:"delVideo",videoAssignStore:"videoAssignStore",addFile:"addFile",editFile:"editFile",delFile:"delFile",fileAssignStore:"fileAssignStore",addApps:"addApps",editApps:"editApps",delApps:"delApps",appsAssignStore:"appsAssignStore",saveGoodsSet:"saveGoodsSet",exportActiveUser:"exportActiveUser",exportLoginUser:"exportLoginUser",exportAreaLoginUser:"exportAreaLoginUser",multipleDelReport:"multipleDelReport",exportReport:"exportReport",reportDetail:"reportDetail",multipleDelReportDetail:"multipleDelReportDetail",delReportDetail:"delReportDetail",showReportDetail:"showReportDetail",multipleExportReport:"multipleExportReport",saveTaskSet:"saveTaskSet",settingSystemReport:"settingSystemReport",saveSystemReport:"saveSystemReport",addCustomReport:"addCustomReport",copyCustomReport:"copyCustomReport",editCustomReport:"editCustomReport",delCustomReport:"delCustomReport",monthTarget:"monthTarget",dayTarget:"dayTarget",exportMonthTask:"exportMonthTask",checkMonthTask:"checkMonthTask",multipleDelTask:"multipleDelTask",delTask:"delTask",exportStoreList:"exportStoreList",checkStoreList:"checkStoreList",exportStoreDetail:"exportStoreDetail",checkStoreDetail:"checkStoreDetail",exportStoreDetailPop:"exportStoreDetailPop",previewStoreDetail:"previewStoreDetail",exportGrTaskList:"exportGrTaskList",checkGrTaskList:"checkGrTaskList",exportTaskRecord:"exportTaskRecord",multipleDelTaskRecord:"multipleDelTaskRecord",checkTaskRecord:"checkTaskRecord",exportTaskDetail:"exportTaskDetail",multipleDelTaskDetail:"multipleDelTaskDetail",delTaskDetail:"delTaskDetail",resolveTaskDetail:"resolveTaskDetail",previewTaskDetail:"previewTaskDetail",exportTaskView:"exportTaskView",multipleDelTaskView:"multipleDelTaskView",checkTaskView:"checkTaskView",exportTaskViewDetail:"exportTaskViewDetail",multipleDelTaskViewDetail:"multipleDelTaskViewDetail",checkTaskDetail:"checkTaskDetail",exportTableTaskDetail:"exportTableTaskDetail",addSalutatory:"addSalutatory",editSalutatory:"editSalutatory",delSalutatory:"delSalutatory",multipleResolve:"multipleResolve",singleResolve:"singleResolve",singleReject:"singleReject",saveApplySetting:"saveApplySetting",refreshStoreMember:"refreshStoreMember",exportContact:"exportContact",checkContactDetail:"checkContactDetail",checkContactMemberDetail:"checkContactMemberDetail",checkLog:"checkLog",saveGuideSetting:"saveGuideSetting",saveAppsVisible:"saveAppsVisible",refreshStoreInfo:"refreshStoreInfo",saveMemberSecret:"saveMemberSecret",addMemberAppsSecret:"addMemberAppsSecret",editMemberAppsSecret:"editMemberAppsSecret",delMemberAppsSecret:"delMemberAppsSecret",addAppsSecret:"addAppsSecret",getAppsSecret:"getAppsSecret",editAppsSecret:"editAppsSecret",delAppsSecret:"delAppsSecret",checkAuth:"checkAuth",bindStoreList:"bindStoreList",refreshStore:"refreshStore",refreshAdminList:"refreshAdminList",addActCode:"addActCode",batchActCode:"batchActCode",batchGroup:"batchGroup",dataActCode:"dataActCode",infoActCode:"infoActCode",editActCode:"editActCode",downActCode:"downActCode",delActCode:"delActCode",recordCode:"recordCode",addLink:"addLink",dataLink:"dataLink",infoLink:"infoLink",editLink:"editLink",downLink:"downLink",recordLink:"recordLink"}},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),r=(a("j1ja"),a("hKoQ")),s=a.n(r),i=a("mvHQ"),p=a.n(i),c=a("//Fk"),d=a.n(c),l=a("lRwf"),u=a.n(l),m=a("Ch4/"),h=a("P9l9"),g=a("Gu7T"),f=a.n(g),v=a("pRNm"),w=a.n(v),S=a("5tgt"),C=a.n(S),D=[{path:"/staffActCode",name:"员工活码",component:C()("salesleads/actCodeManage/staffActCode","index"),meta:{componentName:"staffActCode",fromPath:["/actCodeEdit","/actCodeBatch","/actCodeDetail","/actCodeDetails"]}},{path:"/actCodeRecord",name:"查看记录",component:C()("salesleads/actCodeManage/staffActCode","actCodeRecord")},{path:"/actCodeDetail",name:"活码详情-数据",component:C()("salesleads/actCodeManage/staffActCode","actCodeDetail")},{path:"/actCodeDetails",name:"活码详情-详情",component:C()("salesleads/actCodeManage/staffActCode","actCodeDetail"),meta:{componentName:"actCodeDetail",fromPath:["/actCodeRecord"]}},{path:"/actCodeAdd",name:"新增活码",component:C()("salesleads/actCodeManage/staffActCode/views","setActCode")},{path:"/actCodeEdit",name:"编辑活码",component:C()("salesleads/actCodeManage/staffActCode/views","setActCode")},{path:"/actCodeBatch",name:"批量创建活码",component:C()("salesleads/actCodeManage/staffActCode/views","batchAddCode")}],k=[{path:"/attractFlowLink",name:"引流链接",component:C()("salesleads/actCodeManage/attractFlowLink","index"),meta:{componentName:"attractFlowLink",fromPath:["/attractFlowLinkEdit/:id","/attractFlowLinkInfo/:id","/attractFlowLinkInfos/:id"]}},{path:"/attractFlowLinkAdd",name:"新增引流链接",meta:{type:"add"},component:C()("salesleads/actCodeManage/attractFlowLink","detail")},{path:"/attractFlowLinkEdit/:id",name:"编辑引流链接",meta:{type:"edit"},component:C()("salesleads/actCodeManage/attractFlowLink","detail")},{path:"/attractFlowLinkInfo/:id",name:"详情引流链接",meta:{type:"info"},component:C()("salesleads/actCodeManage/attractFlowLink","info")},{path:"/attractFlowLinkInfos/:id",name:"详情引流链接",meta:{type:"info"},component:C()("salesleads/actCodeManage/attractFlowLink","info")},{path:"/attLinkRecord",name:"查看记录",component:C()("salesleads/actCodeManage/staffActCode","actCodeRecord")},{path:"/ladingPageList",name:"落地页列表",component:C()("salesleads/actCodeManage/attractFlowLink/landingPage","list"),meta:{componentName:"ladingPageList",fromPath:["/ladingPageEdit/:id"]}},{path:"/ladingPageAdd",name:"新建落地页",meta:{type:"add"},component:C()("salesleads/actCodeManage/attractFlowLink/landingPage","detail")},{path:"/ladingPageEdit/:id",name:"编辑落地页",meta:{type:"edit"},component:C()("salesleads/actCodeManage/attractFlowLink/landingPage","detail")},{path:"/operationLog",name:"操作日志",component:C()("salesleads/actCodeManage","operateLog")}],b=[].concat(f()(D),f()(k));u.a.use(w.a);var y=function(e){a.e(1).then(a.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var x=[{path:"/loginMore",name:"登录",component:C()("login","login-more")},{path:"/refresh",name:"刷新",component:C()("errorPage","refresh")},{path:"/",redirect:"/index",component:function(){return Promise.all([a.e(0),a.e(7)]).then(a.bind(null,"xW93"))},children:[{path:"/contactsList",name:"通讯录",component:C()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:C()("business","syncLog")},{path:"/authMerchant",name:"授权商户",component:C()("business","authMerchant")},{path:"/authMerchantForm",name:"新建授权商户",component:C()("business","authMerchant-form")},{path:"/merchantStoreList",name:"绑定门店列表",component:C()("business","storeList")},{path:"/enterpriseSet",name:"企业信息",component:C()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:C()("enterprise","adminList")},{path:"/material",name:"素材库",component:C()("enterprise","material")},{path:"/salutatory",name:"欢迎语",component:C()("enterprise","salutatoryIndex"),meta:{componentName:"salutatoryIndex",fromPath:["/editSalutatorySet"]}},{path:"/salutatorySet",name:"新建欢迎语",component:C()("enterprise","salutatorySet")},{path:"/editSalutatorySet",name:"编辑欢迎语",component:C()("enterprise","salutatorySet")},{path:"/guide-setting",name:"导购设置",component:C()("enterprise","guide-setting-new")},{path:"/setting",name:"操作设置",component:C()("setting","index")},{path:"/unreview",name:"未审核",component:C()("reviewCenter","unreview")},{path:"/reviewed",name:"已审核",component:C()("reviewCenter","reviewed")},{path:"/reviewSet",name:"审核设置",component:C()("reviewCenter","reviewSet")},{path:"/taskRecord",name:"话务任务记录",component:C()("salesleads/trafficTask","taskRecord"),meta:{componentName:"TaskRecord",fromPath:["/taskDetail"]}},{path:"/taskView",name:"话务任务记录",component:C()("salesleads/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:C()("salesleads/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:C()("salesleads/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:C()("salesleads/trafficTask","trafficTaskSet")},{path:"/grStoreList",name:"门店视图",component:C()("salesleads/groupSend","grStoreList"),meta:{componentName:"grStoreList",fromPath:["/grStoreDetail/:id"]}},{path:"/grStoreDetail/:id",name:"门店视图",component:C()("salesleads/groupSend","grStoreDetail")},{path:"/grTaskList",name:"计划视图",component:C()("salesleads/groupSend","grTaskList")},{path:"/enterpriseUseData",name:"好办使用详情",component:C()("enterpriseData","enterpriseUseData")},{path:"/activeDetail",name:"激活人员明细",component:C()("enterpriseData","activeDetail")},{path:"/loginDetail",name:"登录人员明细",component:C()("enterpriseData","loginDetail")},{path:"/areaLoginDetail",name:"区域登录人员明细",component:C()("enterpriseData","areaLoginDetail")},{path:"/overStoreList",name:"溢出门店",component:C()("overstore","overStoreList")},{path:"/memberShowSet",name:"客户展示设置",component:C()("apps/customerApp","memberShowSet")},{path:"/addMemberShowRules",name:"新增特殊策略",component:C()("apps/customerApp","add-member-show-rules")},{path:"/editMemberShowRules",name:"编辑特殊策略",component:C()("apps/customerApp","add-member-show-rules")},{path:"/memberGroupSet",name:"客户分组设置",component:C()("apps/customerApp","memberGroupSet"),meta:{componentName:"memberGroupSet",fromPath:["/addGroupTemplate","/editGroupTemplate","/storeRangeSet"]}},{path:"/memberSearchSet",name:"客户搜索设置",component:C()("apps/customerApp","memberSearchSet")},{path:"/memberTagSet",name:"客户标签设置",component:C()("apps/customerApp","memberTagSet")},{path:"/syncHistory",name:"同步历史",component:C()("apps/customerApp","syncHistory")},{path:"/myCustomerList",name:"我的客户列表",component:C()("apps/customerApp","myCustomerList")},{path:"/addGroupTemplate",name:"添加模板",component:C()("apps/customerApp","addGroupTemplate")},{path:"/editGroupTemplate",name:"编辑模板",component:C()("apps/customerApp","addGroupTemplate")},{path:"/storeRangeSet",name:"门店范围设置",component:C()("apps/customerApp","storeRangeSet")},{path:"/dailyRecord",name:"云日报记录",component:C()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:C()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:C()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:C()("apps/cloudDaily","taskAssign")},{path:"/daily-setting",name:"系统报表",component:C()("apps/cloudDaily","daily-setting")},{path:"/customReportSet",name:"新增自定义报表设置",component:C()("apps/cloudDaily","customReportSet")},{path:"/customReportCopy",name:"复制自定义报表设置",component:C()("apps/cloudDaily","customReportSet")},{path:"/customReportEdit",name:"编辑自定义报表设置",component:C()("apps/cloudDaily","customReportSet")},{path:"/monthList",name:"月指标列表",component:C()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:C()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:C()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:C()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:C()("apps/quota","monthTask"),meta:{componentName:"monthTask",fromPath:["/monthTaskDetail"]}},{path:"/monthTaskDetail",name:"月指标任务详情",component:C()("apps/quota","monthTaskDetail")},{path:"/cardList",name:"卡券列表",component:C()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:C()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:C()("apps/card","newCard")},{path:"/editCard",name:"编辑卡券",component:C()("apps/card","newCard")},{path:"/cardTemplate",name:"卡券模板",component:C()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:C()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:C()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:C()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:C()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:C()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:C()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:C()("apps/protectCard","cardGetRecord")},{path:"/goodsShowSet",name:"商品展示设置",component:C()("apps/shoppingCenter","goodsShowSet")},{path:"/evaluate-set",name:"订单评价",component:C()("apps/order-evaluate","evaluate-set")}].concat(f()(b),[{path:"/403",name:"无权访问",component:y},{path:"/404",name:"error404",component:y},{path:"/500",name:"error500",component:y}])},{path:"/gic-error",name:"gic跳转失败页",component:C()("errorPage","gic-error")}],A=new w.a({routes:x,scrollBehavior:function(){return{y:0}}}),T=["/login","/loginMore"],M="",R="";A.beforeEach(function(e,t,a){M=e.path,R=t.path,sessionStorage.getItem("hbReload")?sessionStorage.removeItem("hbReload"):T.includes(R)&&(sessionStorage.setItem("hbReload",1),setTimeout(function(){location.reload()},50)),a()});var L={name:"App",data:function(){return{loading:!0,menuList:[],pageRight:[]}},beforeDestroy:function(){document.removeEventListener("visibilitychange",this.checkUser)},created:function(){var e=this;document.addEventListener("visibilitychange",this.checkUser),this.getUserInfo().then(function(){T.includes(M)||T.includes(R)?e.loading=!1:d.a.all([e.getRight(),e.getMenuList()]).finally(function(){setTimeout(function(){return e.loading=!1},200)})})},methods:{checkUser:function(){var e=this;if(!document.hidden){var t=JSON.parse(sessionStorage.getItem("userInfos"));this.getUserInfo().then(function(){JSON.parse(sessionStorage.getItem("userInfos")).clerkId!=t.clerkId&&e.$router.push("/refresh")})}},getUserInfo:function(){return Object(h.g)("/haoban-manage3-web/get-login-info",{}).then(function(e){var t=e.data||{},a=t.errorCode,o=t.result;1==a?(sessionStorage.setItem("userInfos",p()(o)),o.enterpriseId&&(u.a.axios.defaults.headers.common.enterpriseId=o.enterpriseId)):m.a.errorMsg(e.data)})},getMenuList:function(){var e=this;return Object(h.b)("/haoban-manage3-web/get-haoban-menu",{}).then(function(t){var a=t.data||[],o=a.errorCode,n=a.result;1==o?Array.isArray(n)&&(e.menuList=n,e.setIndexRoute(n)):m.a.errorMsg(t.data)})},getRight:function(){var e=this;return Object(h.b)("/haoban-manage3-web/get-haoban-right",{}).then(function(t){var a=t.data||{},o=a.errorCode,n=a.result;1==o?(e.pageRight=e.getPageRight(n.menu),e.checkButtonRight(n.button),e.checkPageRight(e.pageRight,function(e){return function(e,t){e&&e.menuCode&&console.log(t.filter(function(t){return t.parentCode==e.menuCode}))}(e,n.button)})):m.a.errorMsg(t.data)})},getPageRight:function(e){return e.filter(function(e){return"string"==typeof e.menuUrl&&e.menuUrl.length>0}).map(function(e){for(var t=e.menuUrl,a=/(:.*)(\/?)/;a.test(t);)t=t.replace(a,"([\\d\\w]+[\\-]*[\\d\\w]*)$2");for(a=/(\/\*)(\/?)/;a.test(t);)t=t.replace(a,"([\\d\\w]+[\\-]*[\\d\\w]*)$2");return e.regexp=new RegExp("^/"+t+"$"),e})},checkButtonRight:function(e){u.a.prototype.$getButtonLimit=function(t){return 1==(e.find(function(e){return e.menuCode==t})||{}).hasRight}},checkPageRight:function(e,t){var a=e.find(function(e){return e.regexp.test(M)});if(a&&0==a.hasRight){var o=sessionStorage.getItem("hbReloadPath")||"";a.menuUrl==o.substr(1)?(this.$router.push("/index"),sessionStorage.removeItem("hbReloadPath")):this.$router.push({path:"/403"})}t(a),A.beforeEach(function(a,o,n){var r=e.find(function(e){return e.regexp.test(a.path)});if(t(r),r&&0==r.hasRight)return n({path:"/403"});n()})},setIndexRoute:function(e){var t="",a=[{path:"*",redirect:"/404"}];e.some(function(e){return e.hasRight&&e.isShow&&Array.isArray(e.childList)&&e.childList.some(function(e){return e.hasRight&&e.isShow&&Array.isArray(e.childList)&&e.childList.some(function(e){return e.hasRight&&e.isShow&&(t=e.menuUrl),e.hasRight&&e.isShow}),t}),t}),t&&a.push({path:"/index",redirect:"/"+t}),this.$router.addRoutes(a)}}},E={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:this.loading,expression:"loading"}],staticStyle:{"min-height":"100vh"},attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[this.loading?this._e():t("router-view",{attrs:{"menu-list":this.menuList,"page-right":this.pageRight}})],1)],1)},staticRenderFns:[]};var I,P=a("VU/8")(L,E,!1,function(e){a("CNbB")},null,null).exports,F=a("bOdI"),G=a.n(F),N=a("SJI6"),j=a.n(N),V=a("0xDb");u.a.use(j.a);var q=new j.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[],wxEnterpriseType:0,salesDate:Object(V.e)()},mutations:(I={},G()(I,"login",function(e,t){sessionStorage.token=t,e.token=t}),G()(I,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),G()(I,"title",function(e,t){e.title=t}),G()(I,"show",function(e,t){e.show=t}),G()(I,"saveAdd",function(e,t){e.addDepartment.push(t)}),G()(I,"saveEdit",function(e,t){e.editDepartment.push(t)}),G()(I,"saveDel",function(e,t){e.delDepartment.push(t)}),G()(I,"clearAdd",function(e){e.addDepartment=[]}),G()(I,"clearEdit",function(e){e.editDepartment=[]}),G()(I,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),G()(I,"changeWxEntertype",function(e,t){e.wxEnterpriseType=t}),G()(I,"changeSalesDate",function(e,t){e.salesDate=t}),I),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")},changeWxEntertypeData:function(e,t){e.commit("changeWxEntertype",t)},changeSales:function(e,t){e.commit("changeSalesDate",t)}}}),H={codeList:"https://www.yuque.com/exnmlu/oo64hg/thm172#WRdju",codeGl:"https://www.yuque.com/exnmlu/oo64hg/thm172#ADEzt",codeCkmx:"https://www.yuque.com/exnmlu/oo64hg/thm172#mDlza",linkList:"https://www.yuque.com/exnmlu/oo64hg/lggf7q#WRdju",linkGl:"https://www.yuque.com/exnmlu/oo64hg/lggf7q#ADEzt",linkCkmx:"https://www.yuque.com/exnmlu/oo64hg/lggf7q#mDlza"},U={clipboard:{bind:function(e,t,a,o){e.val=t.value,e.handler=function(){var t=e.val,a=document.createElement("input");e.appendChild(a),a.value=t,a.select(),document.execCommand("Copy"),u.a.prototype.$message({type:"success",message:"复制成功"}),a.parentNode.removeChild(a)},e.addEventListener("click",e.handler)},update:function(e,t,a,o){e.val=t.value},unbind:function(e){e.removeEventListener("click",e.handler)}},jumpLink:{bind:function(e,t){var a=t.arg;e.handler=function(){window.open(H[a])},e.addEventListener("click",e.handler)},unbind:function(e){e.removeEventListener("click",e.handler)}}},O=(a("/wAz"),a("pc4g"),a("4qCZ"),a("xtVA"),a("Q0Ca")),Y={props:{size:{type:[Number,String],default:20},iconname:{type:String,default:""}},computed:{ClassStyle:function(){return"width:"+parseInt(this.size)+";height:"+parseInt(this.size)+";"},IconName:function(){return"#"+this.iconname}}},z={render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon svg-icon svg-iconfont-hb3",style:this.ClassStyle,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.IconName}})])},staticRenderFns:[]};var W=a("VU/8")(Y,z,!1,function(e){a("6bDD")},"data-v-7a760b56",null).exports,$=a("TUaa"),B=a.n($),J=a("tyqE"),Q=a.n(J),X=a("pRVe"),Z=a.n(X),K=a("XsK6"),_=a.n(K),ee=a("QRL9"),te=a.n(ee),ae=a("eMjc"),oe=a.n(ae),ne=a("l9mu"),re=a.n(ne),se={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;oe()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,o=t.height,n=a/592.28*841.89,r=o,s=0,i=592.28/a*o,p=t.toDataURL("image/jpeg",1),c=new re.a("","pt","a4");if(r<n)c.addImage(p,"JPEG",0,0,595.28,i);else for(;r>0;)c.addImage(p,"JPEG",0,s,595.28,i),s-=841.89,(r-=n)>0&&c.addPage();c.save(e+".pdf")})}}},ie=a("/IwO"),pe=a.n(ie),ce=a("FHfR"),de=a.n(ce),le={name:"HbFormBottom",inject:["layoutVm"],props:{horizontal:{type:String,default:"center"}},data:function(){return{width:"0px"}},mounted:function(){this.width=this.$parent.$el.offsetWidth+"px",this.layoutVm.pagePaddingBottom=this.$el.offsetHeight+"px"},beforeDestroy:function(){this.layoutVm.pagePaddingBottom=null}},ue={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"hb-form-bottom",style:{width:this.width,"justify-content":"left"==this.horizontal?"flex-start":"right"==this.horizontal?"flex-end":"center"}},[this._t("default")],2)},staticRenderFns:[]};var me=a("VU/8")(le,ue,!1,function(e){a("mBu+")},"data-v-5e054248",null).exports;s.a.polyfill(),u.a.component("svg-icon",W),n()(U).map(function(e){return u.a.directive(e,U[e])}),u.a.use(pe.a),pe.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),window.ELEMENT.Dialog.props.closeOnClickModal.default=!1,u.a.use(se),u.a.use(_.a),u.a.use(te.a),u.a.use(Z.a),u.a.use(Q.a),u.a.use(B.a),u.a.component("hb-form-bottom",me),u.a.config.productionTip=!1,n()(O.a).forEach(function(e){u.a.filter(e,O.a[e])}),A.beforeEach(function(e,t,a){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var o=window.location.origin;o.indexOf("localhost"),a()}),u.a.prototype.$buttonCode=de.a,new u.a({el:"#app",router:A,store:q,components:{App:P},template:"<App/>"})},OMN4:function(e,t){e.exports=axios},Opzk:function(e,t,a){var o={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,65],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,118],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,116],"./apps/badEvaluate/index.vue":["AG22",0,40],"./apps/card/cardList.vue":["X5LE",0,79],"./apps/card/cardRecord.vue":["xDJN",0,33],"./apps/card/index.vue":["nV1L",0,62],"./apps/card/newCard.vue":["7/Zw",0,21],"./apps/cloudDaily/customReport.vue":["ak3k",0,94],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,8],"./apps/cloudDaily/daily-setting.vue":["RnLd",0,9],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,29],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,45],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,82],"./apps/cloudDaily/index.vue":["4QyY",0,80],"./apps/cloudDaily/systemReport.vue":["J/6z",0,10],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,98],"./apps/cloudDaily/template/block.vue":["O3gZ",70],"./apps/cloudDaily/template/date-range.vue":["2WGr",67],"./apps/cloudDaily/template/image.vue":["8dpP",59],"./apps/cloudDaily/template/input.vue":["zHtI",86],"./apps/cloudDaily/template/select.vue":["rYZf",68],"./apps/customerApp/add-member-show-rules.vue":["SUcx",106],"./apps/customerApp/addGroupTemplate.vue":["vIlm",0,48],"./apps/customerApp/index.vue":["QHTa",0,60],"./apps/customerApp/memberDetailSet.vue":["F1Rz",0,91],"./apps/customerApp/memberGroupList.vue":["scn4",0,71],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,17],"./apps/customerApp/memberGroupSetList.vue":["8fbE",0,57],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,55],"./apps/customerApp/memberShowSet.vue":["odfG",75],"./apps/customerApp/memberTagSet.vue":["HmLC",52],"./apps/customerApp/myCustomerList.vue":["9CCr",0,15],"./apps/customerApp/storeRangeSet.vue":["z3jf",0,74],"./apps/customerApp/syncHistory.vue":["T435",53],"./apps/index.vue":["K1Vb",0,64],"./apps/order-evaluate/bad-evaluate-set.vue":["z2RJ",0,61],"./apps/order-evaluate/evaluate-set.vue":["RvMj",69],"./apps/order-evaluate/index.vue":["NUSj",0,111],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,108],"./apps/protectCard/cardPut.vue":["cD4x",0,95],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,102],"./apps/protectCard/cardStrategy.vue":["rUvh",0,43],"./apps/protectCard/cardTemplate.vue":["c7iB",0,63],"./apps/protectCard/index.vue":["aWmL",0,114],"./apps/protectCard/newCardPut.vue":["9db3",0,16],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,19],"./apps/protectCard/newCardTemp.vue":["tF0P",0,92],"./apps/quota/companyDaySet.vue":["NiGE",0,87],"./apps/quota/index.vue":["qSX4",0,101],"./apps/quota/monthList.vue":["fAFA",0,77],"./apps/quota/monthTask.vue":["NpHY",0,107],"./apps/quota/monthTaskDetail.vue":["YKf6",0,104],"./apps/quota/salerMonthDetail.vue":["+qr5",0,78],"./apps/quota/storeMonthTask.vue":["qWC+",0,88],"./apps/shoppingCenter/goodsShowSet.vue":["XrL3",0,103],"./apps/shoppingCenter/index.vue":["FIFf",0,76],"./business/authMerchant-dailog.vue":["/cEq",0,46],"./business/authMerchant-form.vue":["2xxS",0,14],"./business/authMerchant.vue":["mjMK",72],"./business/contacts.vue":["/W60",0,4],"./business/index.vue":["jPcV",0,97],"./business/not-manager.vue":["9F6+",0],"./business/orgStructSet.vue":["OI5V",0,5],"./business/recycle.vue":["K8Yn",0,115],"./business/storeList.vue":["QZxC",100],"./business/syncLog.vue":["20P3",0,50],"./enterprise/adminList.vue":["zYBJ",0,54],"./enterprise/app-visible-setting.vue":["w5vQ",73],"./enterprise/enterpriseSet.vue":["x5Fx",0,24],"./enterprise/guide-auth-setting.vue":["i0rV",58],"./enterprise/guide-setting-new.vue":["A9IH",0,3],"./enterprise/guide-setting.vue":["tPY2",22],"./enterprise/index.vue":["m9dW",0,93],"./enterprise/material.vue":["q+Sm",0,2],"./enterprise/relationDialog.vue":["+hGG",0],"./enterprise/salutatory.vue":["xWf4",0,66],"./enterprise/salutatoryIndex.vue":["nExe",0,27],"./enterprise/salutatorySet.vue":["vqCN",0,20],"./enterpriseData/activeDetail.vue":["h9Ca",0,30],"./enterpriseData/areaLoginDetail.vue":["TLd+",0,32],"./enterpriseData/enterpriseUseData.vue":["i4c9",0,6],"./enterpriseData/index.vue":["CTf4",0,120],"./enterpriseData/loginDetail.vue":["kX6v",0,13],"./errorPage/403.vue":["6XGN",42],"./errorPage/404.vue":["AejC",41],"./errorPage/500.vue":["FskK",37],"./errorPage/gic-error.vue":["Q3j/",56],"./errorPage/index.vue":["ODjX",1],"./errorPage/refresh.vue":["0/JE",125],"./index/index.vue":["JXTs",0,36],"./login/index.vue":["T+/8",0,51],"./login/login-more.vue":["AVFt",0,44],"./overstore/index.vue":["Y55K",0,113],"./overstore/overStoreList.vue":["vuAV",0,109],"./reviewCenter/index.vue":["+lem",89],"./reviewCenter/reviewSet.vue":["6j9f",0,117],"./reviewCenter/reviewed.vue":["CLYF",0,28],"./reviewCenter/unreview.vue":["xCEU",0,18],"./salesleads/actCodeManage/attractFlowLink/detail.vue":["ATNk",0,49],"./salesleads/actCodeManage/attractFlowLink/index.vue":["7m4r",0,124],"./salesleads/actCodeManage/attractFlowLink/info.vue":["phd8",0,25],"./salesleads/actCodeManage/attractFlowLink/landingPage/cardView.vue":["4KYo",35],"./salesleads/actCodeManage/attractFlowLink/landingPage/detail.vue":["t/sc",0,84],"./salesleads/actCodeManage/attractFlowLink/landingPage/list.vue":["fjEt",0,12],"./salesleads/actCodeManage/attractFlowLink/landingPage/relationDialog.vue":["GdW8",0,85],"./salesleads/actCodeManage/attractFlowLink/newAddChart.vue":["tqu3",0,110],"./salesleads/actCodeManage/components/select-clerk/index.vue":["znzC",0],"./salesleads/actCodeManage/components/select-clerk/select-clerk.vue":["1Am8",0],"./salesleads/actCodeManage/components/select-clerk/selected-clerk-item.vue":["jMsE",0],"./salesleads/actCodeManage/operateLog.vue":["EzCA",0,81],"./salesleads/actCodeManage/staffActCode/actCodeDetail.vue":["DWsn",0,31],"./salesleads/actCodeManage/staffActCode/actCodeDetailStatistics.vue":["YQXN",0,90],"./salesleads/actCodeManage/staffActCode/actCodeRecord.vue":["jx8Q",0,39],"./salesleads/actCodeManage/staffActCode/index.vue":["tVK0",0,11],"./salesleads/actCodeManage/staffActCode/newAddChart.vue":["eaYI",0],"./salesleads/actCodeManage/staffActCode/views/act-code-table.vue":["XZyq",0,34],"./salesleads/actCodeManage/staffActCode/views/batchAddCode.vue":["/pg7",0,122],"./salesleads/actCodeManage/staffActCode/views/group-list.vue":["t6Nl",0,83],"./salesleads/actCodeManage/staffActCode/views/setActCode.vue":["txZy",0,112],"./salesleads/components/act-code-set.vue":["1fzb",0],"./salesleads/components/actCodeDetailInfo.vue":["DvcT",0],"./salesleads/components/dataDetail.vue":["/p6h",0],"./salesleads/components/welcomesItem.vue":["42hH",0],"./salesleads/groupSend/grStoreDetail.vue":["XF7X",0,26],"./salesleads/groupSend/grStoreList.vue":["w4UW",0,99],"./salesleads/groupSend/grTaskList.vue":["Uvr8",0,119],"./salesleads/index.vue":["owWS",0,38],"./salesleads/trafficTask/taskDetail.vue":["wRTX",0,23],"./salesleads/trafficTask/taskRecord.vue":["Wj0m",0,96],"./salesleads/trafficTask/taskView.vue":["TsS9",0,47],"./salesleads/trafficTask/taskViewDetail.vue":["f1qT",0,121],"./salesleads/trafficTask/trafficTaskSet.vue":["3Qek",0,123],"./setting/index.vue":["VlR1",0,105]};function n(e){var t=o[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}n.keys=function(){return Object.keys(o)},n.id="Opzk",e.exports=n},P9l9:function(e,t,a){"use strict";a.d(t,"b",function(){return D}),a.d(t,"a",function(){return k}),a.d(t,"g",function(){return b}),a.d(t,"f",function(){return y}),a.d(t,"e",function(){return x}),a.d(t,"d",function(){return A}),a.d(t,"c",function(){return T});var o=a("//Fk"),n=a.n(o),r=a("lRwf"),s=a.n(r),i=a("Rf8U"),p=a.n(i),c=a("OMN4"),d=a.n(c),l=a("mw3O"),u=a.n(l),m=a("l6IN");a.n(m);s.a.use(p.a,d.a),s.a.axios.defaults.withCredentials=!0,s.a.axios.defaults.headers.common.platform="haoban",s.a.axios.defaults.timeout=5e5;var h=window.location.origin,g=JSON.parse(sessionStorage.getItem("userInfos")||"{}"),f="string"==typeof g.gicHost?g.gicHost.replace(/\/$/,""):"";console.log(f),h.indexOf("localhost")>=0&&(f=h);var v=[],w=[],S=s.a.axios.CancelToken,C=function(e){for(var t in w)w[t].u===e.url+"&"+e.method&&(w[t].f(),w.splice(t,1))};s.a.axios.interceptors.request.use(function(e){if(C(e),e.cancelToken=new S(function(t){w.push({u:e.url+"&"+e.method,f:t})}),e.cancelToken=new s.a.axios.CancelToken(function(e){v.push({cancel:e})}),sessionStorage.getItem("userInfoBrandId")){var t=sessionStorage.getItem("userInfoBrandId");t&&(e.headers.enterpriseId=t)}return e},function(e){return m.Message.error({message:"请求超时!"}),n.a.resolve(e)}),s.a.axios.interceptors.response.use(function(e){if(C(e.config),e.status&&200==e.status&&1!=e.data.errorCode&&0!=e.data.code){if(4==e.data.errorCode){if(-1!=window.location.href.indexOf("gic-error"))return!1;window.location.href=f+"/gic-web/#/login?ishb=1"}return 10!=e.data.errorCode&&7!=e.data.errorCode||(window.location.href=f+"/haoban-3/#/index"),e}return e},function(e){return 502==e.response.status&&(window.location.href=f+"/gic-web/#/login?ishb=1",m.Message.error({message:"服务异常⊙﹏⊙∥"})),403!=e.response.status&&(window.location.href=f+"/gic-web/#/login?ishb=1",m.Message.error({message:"登录失效!"})),n.a.resolve(e)});var D=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"get",url:""+h+e,data:{},params:t,headers:{"Content-type":"application/x-www-form-urlencoded"}})},k=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"delete",url:""+h+e,data:{},params:t,headers:{"Content-type":"application/x-www-form-urlencoded"}})},b=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+h+e,data:u.a.stringify(t),headers:{"Content-type":"application/x-www-form-urlencoded"}})},y=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+h+e,data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})},x=function(e,t){return s.a.axios({method:"post",url:""+h+e,data:t,params:{requestProject:"haoban-manage-web"},headers:{"Content-Type":"application/json;charset=UTF-8"}})},A=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+h+e,data:t,headers:{}})},T=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+h+e,data:u.a.stringify(t),responseType:"blob",headers:{"content-type":"application/x-www-form-urlencoded"}})}},Q0Ca:function(e,t,a){"use strict";t.a={dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var a=new Date(e),o={"M+":a.getMonth()+1,"D+":a.getDate(),W:"日一二三四五六".charAt(a.getDay()),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var n in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),o)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?o[n]:("00"+o[n]).substr((""+o[n]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),s=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+n+"-"+o+" "+r+":"+s+":"+i}},timeStampToYm:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=a<10?"0"+a:a;return t.getFullYear()+"-"+o}},timeStampToYmd:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a;return t.getFullYear()+"-"+n+"-"+o}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),s=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+n+"."+o+" "+r+":"+s+":"+i}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},timeStampToYmd2:function(e){if(e){var t=new Date(e-864e5),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a;return t.getFullYear()+"-"+n+"-"+o}},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(a<0)return"";var o=a%864e5,n=o%36e5;return Math.floor(a/864e5)+"天"+Math.floor(o/36e5)+"小时"+Math.floor(n/6e4)+"分"}},formatTime:function(e){if(!e)return"00:00:00";var t=e/1e3,a=Math.floor(t/60/60/24);return(24*a+Math.floor(t/60/60)%24<10?"0"+(24*a+Math.floor(t/60/60)%24):24*a+Math.floor(t/60/60)%24)+":"+(Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60)+":"+(Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60)},formatInvalidStatus:function(e){var t="--";return 1==e?t="未失效":2==e&&(t="已失效"),t}}},SJI6:function(e,t){e.exports=Vuex},l6IN:function(e,t){e.exports=ELEMENT},lRwf:function(e,t){e.exports=Vue},"mBu+":function(e,t){},pRNm:function(e,t){e.exports=VueRouter},pc4g:function(e,t){},xtVA:function(e,t){}},[0]); webpackJsonp([127],{"/wAz":function(e,t){},0:function(e,t,a){a("j1ja"),e.exports=a("NHnr")},"0xDb":function(e,t,a){"use strict";t.b=function e(t){if(!t&&"object"!==(void 0===t?"undefined":m()(t)))throw new Error("error arguments","shallowClone");var a=t.constructor===Array?[]:{};l()(t).forEach(function(o){t[o]&&"object"===m()(t[o])?(a[o]=t[o].constructor===Array?[]:{},a[o]=e(t[o])):a[o]=t[o]});return a},t.e=function(){var e=new Date((new Date).getTime()-864e5),t=e.getTime()-7776e6,a=e.getFullYear(),o=e.getMonth()+1,n=e.getDate()<10?"0"+e.getDate():e.getDate(),r=o<10?"0"+o:o,s=new Date(t),i=s.getFullYear(),p=s.getMonth()+1,c=s.getDate()<10?"0"+s.getDate():s.getDate();return[i+"-"+(p<10?"0"+p:p)+"-"+c,a+"-"+r+"-"+n]},t.a=function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=a.idName,n=void 0===o?"id":o,r=a.parentIdName,i=void 0===r?"parentId":r,c=a.childName,d=void 0===c?"children":c,l={},u=[],m=!0,h=!1,g=void 0;try{for(var f,v=p()(e);!(m=(f=v.next()).done);m=!0){var w=f.value,S=w[n],C=w[i];l[S]=l[S]?s()({},w,l[S]):w;var D=l[S];C===t?u.push(D):(l[C]||(l[C]={}),l[C][d]||(l[C][d]=[]),l[C][d].push(D))}}catch(e){h=!0,g=e}finally{try{!m&&v.return&&v.return()}finally{if(h)throw g}}return u},t.c=function(e,t){var a=[];return e.forEach(function(o){e.includes(o)&&!t.includes(o)&&a.push(o)}),a},t.d=function(e,t){for(var a=[],o=!1,r=0;r<e.length;r++){for(var s=0;s<t.length;s++){if(n()(e[r])===n()(t[s])){o=!1;break}o=r}!1!==o&&a.push(e[o])}return a};var o=a("mvHQ"),n=a.n(o),r=a("Dd8w"),s=a.n(r),i=a("BO1k"),p=a.n(i),c=a("woOf"),d=(a.n(c),a("fZjL")),l=a.n(d),u=a("pFYg"),m=a.n(u);new Date},"4qCZ":function(e,t){},"5tgt":function(e,t,a){e.exports=function(e,t){return function(o){a("Opzk")("./"+e+"/"+t+".vue").then(function(e){o(e)})}}},"6bDD":function(e,t){},CNbB:function(e,t){},"Ch4/":function(e,t,a){"use strict";var o=a("l6IN"),n=(a.n(o),JSON.parse(sessionStorage.getItem("userInfos")||"{}")),r="string"==typeof n.gicHost?n.gicHost.replace(/\/$/,""):"";location.origin.indexOf("localhost")>=0&&(r=location.origin),t.a={errorMsg:function(e){if(1!=e.errorCode){if(4==e.errorCode)return window.location.href=r+"/gic-web/#/login?ishb=1",!1;if(10==e.errorCode)return window.location.href=r+"/haoban-3/#/index",!1;o.Message.error({duration:2e3,message:e.message||"接口异常"})}}}},FHfR:function(e,t){e.exports={multipleAssign:"multipleAssign",assign:"assign",willSyncTag:"willSyncTag",breakSyncTag:"breakSyncTag",addShowRules:"addShowRules",editShowRules:"editShowRules",delShowRules:"delShowRules",groupExpire:"groupExpire",syncGroup:"syncGroup",addGroupTemp:"addGroupTemp",editGroupTemp:"editGroupTemp",setStoreArea:"setStoreArea",delGroupTemp:"delGroupTemp",searchSetSave:"searchSetSave",saveTrafficTaskSet:"saveTrafficTaskSet",addCard:"addCard",editCard:"editCard",delCard:"delCard",sendCardLog:"sendCardLog",getCardLog:"getCardLog",saveEvaluateSet:"saveEvaluateSet",addMaterialGroup:"addMaterialGroup",editMaterialGroup:"editMaterialGroup",delMaterialGroup:"delMaterialGroup",multipleDelAssets:"multipleDelAssets",multipleMoveAssets:"multipleMoveAssets",addText:"addText",editText:"editText",delText:"delText",textAssignStore:"textAssignStore",addImage:"addImage",editImage:"editImage",delImage:"delImage",imageAssignStore:"imageAssignStore",addWeb:"addWeb",editWeb:"editWeb",delWeb:"delWeb",webAssignStore:"webAssignStore",addVideo:"addVideo",editVideo:"editVideo",delVideo:"delVideo",videoAssignStore:"videoAssignStore",addFile:"addFile",editFile:"editFile",delFile:"delFile",fileAssignStore:"fileAssignStore",addApps:"addApps",editApps:"editApps",delApps:"delApps",appsAssignStore:"appsAssignStore",saveGoodsSet:"saveGoodsSet",exportActiveUser:"exportActiveUser",exportLoginUser:"exportLoginUser",exportAreaLoginUser:"exportAreaLoginUser",multipleDelReport:"multipleDelReport",exportReport:"exportReport",reportDetail:"reportDetail",multipleDelReportDetail:"multipleDelReportDetail",delReportDetail:"delReportDetail",showReportDetail:"showReportDetail",multipleExportReport:"multipleExportReport",saveTaskSet:"saveTaskSet",settingSystemReport:"settingSystemReport",saveSystemReport:"saveSystemReport",addCustomReport:"addCustomReport",copyCustomReport:"copyCustomReport",editCustomReport:"editCustomReport",delCustomReport:"delCustomReport",monthTarget:"monthTarget",dayTarget:"dayTarget",exportMonthTask:"exportMonthTask",checkMonthTask:"checkMonthTask",multipleDelTask:"multipleDelTask",delTask:"delTask",exportStoreList:"exportStoreList",checkStoreList:"checkStoreList",exportStoreDetail:"exportStoreDetail",checkStoreDetail:"checkStoreDetail",exportStoreDetailPop:"exportStoreDetailPop",previewStoreDetail:"previewStoreDetail",exportGrTaskList:"exportGrTaskList",checkGrTaskList:"checkGrTaskList",exportTaskRecord:"exportTaskRecord",multipleDelTaskRecord:"multipleDelTaskRecord",checkTaskRecord:"checkTaskRecord",exportTaskDetail:"exportTaskDetail",multipleDelTaskDetail:"multipleDelTaskDetail",delTaskDetail:"delTaskDetail",resolveTaskDetail:"resolveTaskDetail",previewTaskDetail:"previewTaskDetail",exportTaskView:"exportTaskView",multipleDelTaskView:"multipleDelTaskView",checkTaskView:"checkTaskView",exportTaskViewDetail:"exportTaskViewDetail",multipleDelTaskViewDetail:"multipleDelTaskViewDetail",checkTaskDetail:"checkTaskDetail",exportTableTaskDetail:"exportTableTaskDetail",addSalutatory:"addSalutatory",editSalutatory:"editSalutatory",delSalutatory:"delSalutatory",multipleResolve:"multipleResolve",singleResolve:"singleResolve",singleReject:"singleReject",saveApplySetting:"saveApplySetting",refreshStoreMember:"refreshStoreMember",exportContact:"exportContact",checkContactDetail:"checkContactDetail",checkContactMemberDetail:"checkContactMemberDetail",checkLog:"checkLog",saveGuideSetting:"saveGuideSetting",saveAppsVisible:"saveAppsVisible",refreshStoreInfo:"refreshStoreInfo",saveMemberSecret:"saveMemberSecret",addMemberAppsSecret:"addMemberAppsSecret",editMemberAppsSecret:"editMemberAppsSecret",delMemberAppsSecret:"delMemberAppsSecret",addAppsSecret:"addAppsSecret",getAppsSecret:"getAppsSecret",editAppsSecret:"editAppsSecret",delAppsSecret:"delAppsSecret",checkAuth:"checkAuth",bindStoreList:"bindStoreList",refreshStore:"refreshStore",refreshAdminList:"refreshAdminList",addActCode:"addActCode",batchActCode:"batchActCode",batchGroup:"batchGroup",dataActCode:"dataActCode",infoActCode:"infoActCode",editActCode:"editActCode",downActCode:"downActCode",delActCode:"delActCode",recordCode:"recordCode",addLink:"addLink",dataLink:"dataLink",infoLink:"infoLink",editLink:"editLink",downLink:"downLink",recordLink:"recordLink"}},NHnr:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=a("fZjL"),n=a.n(o),r=(a("j1ja"),a("hKoQ")),s=a.n(r),i=a("mvHQ"),p=a.n(i),c=a("//Fk"),d=a.n(c),l=a("lRwf"),u=a.n(l),m=a("Ch4/"),h=a("P9l9"),g=a("Gu7T"),f=a.n(g),v=a("pRNm"),w=a.n(v),S=a("5tgt"),C=a.n(S),D=[{path:"/staffActCode",name:"员工活码",component:C()("salesleads/actCodeManage/staffActCode","index"),meta:{componentName:"staffActCode",fromPath:["/actCodeEdit","/actCodeBatch","/actCodeDetail","/actCodeDetails"]}},{path:"/actCodeRecord",name:"查看记录",component:C()("salesleads/actCodeManage/staffActCode","actCodeRecord")},{path:"/actCodeDetail",name:"活码详情-数据",component:C()("salesleads/actCodeManage/staffActCode","actCodeDetail")},{path:"/actCodeDetails",name:"活码详情-详情",component:C()("salesleads/actCodeManage/staffActCode","actCodeDetail"),meta:{componentName:"actCodeDetail",fromPath:["/actCodeRecord"]}},{path:"/actCodeAdd",name:"新增活码",component:C()("salesleads/actCodeManage/staffActCode/views","setActCode")},{path:"/actCodeEdit",name:"编辑活码",component:C()("salesleads/actCodeManage/staffActCode/views","setActCode")},{path:"/actCodeBatch",name:"批量创建活码",component:C()("salesleads/actCodeManage/staffActCode/views","batchAddCode")}],k=[{path:"/attractFlowLink",name:"引流链接",component:C()("salesleads/actCodeManage/attractFlowLink","index"),meta:{componentName:"attractFlowLink",fromPath:["/attractFlowLinkEdit/:id","/attractFlowLinkInfo/:id","/attractFlowLinkInfos/:id"]}},{path:"/attractFlowLinkAdd",name:"新增引流链接",meta:{type:"add"},component:C()("salesleads/actCodeManage/attractFlowLink","detail")},{path:"/attractFlowLinkEdit/:id",name:"编辑引流链接",meta:{type:"edit"},component:C()("salesleads/actCodeManage/attractFlowLink","detail")},{path:"/attractFlowLinkInfo/:id",name:"详情引流链接",meta:{type:"info"},component:C()("salesleads/actCodeManage/attractFlowLink","info")},{path:"/attractFlowLinkInfos/:id",name:"详情引流链接",meta:{type:"info"},component:C()("salesleads/actCodeManage/attractFlowLink","info")},{path:"/attLinkRecord",name:"查看记录",component:C()("salesleads/actCodeManage/staffActCode","actCodeRecord")},{path:"/ladingPageList",name:"落地页列表",component:C()("salesleads/actCodeManage/attractFlowLink/landingPage","list"),meta:{componentName:"ladingPageList",fromPath:["/ladingPageEdit/:id"]}},{path:"/ladingPageAdd",name:"新建落地页",meta:{type:"add"},component:C()("salesleads/actCodeManage/attractFlowLink/landingPage","detail")},{path:"/ladingPageEdit/:id",name:"编辑落地页",meta:{type:"edit"},component:C()("salesleads/actCodeManage/attractFlowLink/landingPage","detail")},{path:"/operationLog",name:"操作日志",component:C()("salesleads/actCodeManage","operateLog")}],b=[].concat(f()(D),f()(k));u.a.use(w.a);var y=function(e){a.e(1).then(a.bind(null,"ODjX")).then(function(t){e(t)})};window.sessionStorage.getItem("token")&&store.commit(types.LOGIN,window.sessionStorage.getItem("token"));var x=[{path:"/loginMore",name:"登录",component:C()("login","login-more")},{path:"/refresh",name:"刷新",component:C()("errorPage","refresh")},{path:"/",redirect:"/index",component:function(){return Promise.all([a.e(0),a.e(7)]).then(a.bind(null,"xW93"))},children:[{path:"/contactsList",name:"通讯录",component:C()("business","contacts")},{path:"/syncLog",name:"通讯录日志",component:C()("business","syncLog")},{path:"/authMerchant",name:"授权商户",component:C()("business","authMerchant")},{path:"/authMerchantForm",name:"新建授权商户",component:C()("business","authMerchant-form")},{path:"/merchantStoreList",name:"绑定门店列表",component:C()("business","storeList")},{path:"/enterpriseSet",name:"企业信息",component:C()("enterprise","enterpriseSet")},{path:"/adminList",name:"企业信息",component:C()("enterprise","adminList")},{path:"/material",name:"素材库",component:C()("enterprise","material")},{path:"/salutatory",name:"欢迎语",component:C()("enterprise","salutatoryIndex"),meta:{componentName:"salutatoryIndex",fromPath:["/editSalutatorySet"]}},{path:"/salutatorySet",name:"新建欢迎语",component:C()("enterprise","salutatorySet")},{path:"/editSalutatorySet",name:"编辑欢迎语",component:C()("enterprise","salutatorySet")},{path:"/guide-setting",name:"导购设置",component:C()("enterprise","guide-setting-new")},{path:"/setting",name:"操作设置",component:C()("setting","index")},{path:"/unreview",name:"未审核",component:C()("reviewCenter","unreview")},{path:"/reviewed",name:"已审核",component:C()("reviewCenter","reviewed")},{path:"/reviewSet",name:"审核设置",component:C()("reviewCenter","reviewSet")},{path:"/taskRecord",name:"话务任务记录",component:C()("salesleads/trafficTask","taskRecord"),meta:{componentName:"TaskRecord",fromPath:["/taskDetail"]}},{path:"/taskView",name:"话务任务记录",component:C()("salesleads/trafficTask","taskView")},{path:"/taskDetail",name:"话务任务详情",component:C()("salesleads/trafficTask","taskDetail")},{path:"/taskViewDetail",name:"话务任务详情",component:C()("salesleads/trafficTask","taskViewDetail")},{path:"/trafficTaskSet",name:"话务任务设置",component:C()("salesleads/trafficTask","trafficTaskSet")},{path:"/grStoreList",name:"门店视图",component:C()("salesleads/groupSend","grStoreList"),meta:{componentName:"grStoreList",fromPath:["/grStoreDetail/:id"]}},{path:"/grStoreDetail/:id",name:"门店视图",component:C()("salesleads/groupSend","grStoreDetail")},{path:"/grTaskList",name:"计划视图",component:C()("salesleads/groupSend","grTaskList")},{path:"/enterpriseUseData",name:"好办使用详情",component:C()("enterpriseData","enterpriseUseData")},{path:"/activeDetail",name:"激活人员明细",component:C()("enterpriseData","activeDetail")},{path:"/loginDetail",name:"登录人员明细",component:C()("enterpriseData","loginDetail")},{path:"/areaLoginDetail",name:"区域登录人员明细",component:C()("enterpriseData","areaLoginDetail")},{path:"/overStoreList",name:"溢出门店",component:C()("overstore","overStoreList")},{path:"/memberShowSet",name:"客户展示设置",component:C()("apps/customerApp","memberShowSet")},{path:"/addMemberShowRules",name:"新增特殊策略",component:C()("apps/customerApp","add-member-show-rules")},{path:"/editMemberShowRules",name:"编辑特殊策略",component:C()("apps/customerApp","add-member-show-rules")},{path:"/memberGroupSet",name:"客户分组设置",component:C()("apps/customerApp","memberGroupSet"),meta:{componentName:"memberGroupSet",fromPath:["/addGroupTemplate","/editGroupTemplate","/storeRangeSet"]}},{path:"/memberSearchSet",name:"客户搜索设置",component:C()("apps/customerApp","memberSearchSet")},{path:"/memberTagSet",name:"客户标签设置",component:C()("apps/customerApp","memberTagSet")},{path:"/syncHistory",name:"同步历史",component:C()("apps/customerApp","syncHistory")},{path:"/myCustomerList",name:"我的客户列表",component:C()("apps/customerApp","myCustomerList")},{path:"/addGroupTemplate",name:"添加模板",component:C()("apps/customerApp","addGroupTemplate")},{path:"/editGroupTemplate",name:"编辑模板",component:C()("apps/customerApp","addGroupTemplate")},{path:"/storeRangeSet",name:"门店范围设置",component:C()("apps/customerApp","storeRangeSet")},{path:"/dailyRecord",name:"云日报记录",component:C()("apps/cloudDaily","dailyRecord")},{path:"/dailyExport",name:"云日报导出",component:C()("apps/cloudDaily","dailyExport")},{path:"/dailyDetail",name:"日报详情",component:C()("apps/cloudDaily","dailyDetail")},{path:"/taskAssign",name:"任务下发设置",component:C()("apps/cloudDaily","taskAssign")},{path:"/daily-setting",name:"系统报表",component:C()("apps/cloudDaily","daily-setting")},{path:"/customReportSet",name:"新增自定义报表设置",component:C()("apps/cloudDaily","customReportSet")},{path:"/customReportCopy",name:"复制自定义报表设置",component:C()("apps/cloudDaily","customReportSet")},{path:"/customReportEdit",name:"编辑自定义报表设置",component:C()("apps/cloudDaily","customReportSet")},{path:"/monthList",name:"月指标列表",component:C()("apps/quota","monthList")},{path:"/storeMonthTask",name:"门店月指标",component:C()("apps/quota","storeMonthTask")},{path:"/salerMonthDetail",name:"导购月指标详情",component:C()("apps/quota","salerMonthDetail")},{path:"/companyDaySet",name:"商户日权重",component:C()("apps/quota","companyDaySet")},{path:"/monthTask",name:"月指标任务",component:C()("apps/quota","monthTask"),meta:{componentName:"monthTask",fromPath:["/monthTaskDetail"]}},{path:"/monthTaskDetail",name:"月指标任务详情",component:C()("apps/quota","monthTaskDetail")},{path:"/cardList",name:"卡券列表",component:C()("apps/card","cardList")},{path:"/cardRecord",name:"卡券记录",component:C()("apps/card","cardRecord")},{path:"/newCard",name:"新建卡券",component:C()("apps/card","newCard")},{path:"/editCard",name:"编辑卡券",component:C()("apps/card","newCard")},{path:"/cardTemplate",name:"卡券模板",component:C()("apps/protectCard","cardTemplate")},{path:"/newCardTemp",name:"新建模板",component:C()("apps/protectCard","newCardTemp")},{path:"/cardStrategy",name:"卡券策略",component:C()("apps/protectCard","cardStrategy")},{path:"/newCardStrategy",name:"新建策略",component:C()("apps/protectCard","newCardStrategy")},{path:"/cardPut",name:"内购券投放",component:C()("apps/protectCard","cardPut")},{path:"/newCardPut",name:"新建补发",component:C()("apps/protectCard","newCardPut")},{path:"/cardPutRecord",name:"投放记录",component:C()("apps/protectCard","cardPutRecord")},{path:"/cardGetRecord",name:"领取记录",component:C()("apps/protectCard","cardGetRecord")},{path:"/goodsShowSet",name:"商品展示设置",component:C()("apps/shoppingCenter","goodsShowSet")},{path:"/evaluate-set",name:"订单评价",component:C()("apps/order-evaluate","evaluate-set")}].concat(f()(b),[{path:"/403",name:"无权访问",component:y},{path:"/404",name:"error404",component:y},{path:"/500",name:"error500",component:y}])},{path:"/gic-error",name:"gic跳转失败页",component:C()("errorPage","gic-error")}],A=new w.a({routes:x,scrollBehavior:function(){return{y:0}}}),T=["/login","/loginMore"],R="",M="";A.beforeEach(function(e,t,a){R=e.path,M=t.path,sessionStorage.getItem("hbReload")?sessionStorage.removeItem("hbReload"):T.includes(M)&&(sessionStorage.setItem("hbReload",1),setTimeout(function(){location.reload()},50)),a()});var L={name:"App",data:function(){return{loading:!0,menuList:[],pageRight:[]}},beforeDestroy:function(){document.removeEventListener("visibilitychange",this.checkUser)},created:function(){var e=this;document.addEventListener("visibilitychange",this.checkUser),this.getUserInfo().then(function(){T.includes(R)||T.includes(M)?e.loading=!1:d.a.all([e.getRight(),e.getMenuList()]).finally(function(){setTimeout(function(){return e.loading=!1},200)})})},methods:{checkUser:function(){var e=this;if(!document.hidden){var t=JSON.parse(sessionStorage.getItem("userInfos"));this.getUserInfo().then(function(){JSON.parse(sessionStorage.getItem("userInfos")).clerkId!=t.clerkId&&e.$router.push("/refresh")})}},getUserInfo:function(){return Object(h.g)("/haoban-manage3-web/get-login-info",{}).then(function(e){var t=e.data||{},a=t.errorCode,o=t.result;1==a?(sessionStorage.setItem("userInfos",p()(o)),o.enterpriseId&&(u.a.axios.defaults.headers.common.enterpriseId=o.enterpriseId)):m.a.errorMsg(e.data)})},getMenuList:function(){var e=this;return Object(h.b)("/haoban-manage3-web/get-haoban-menu",{}).then(function(t){var a=t.data||[],o=a.errorCode,n=a.result;1==o?Array.isArray(n)&&(e.menuList=n,e.setIndexRoute(n)):m.a.errorMsg(t.data)})},getRight:function(){var e=this;return Object(h.b)("/haoban-manage3-web/get-haoban-right",{}).then(function(t){var a=t.data||{},o=a.errorCode,n=a.result;1==o?(e.pageRight=e.getPageRight(n.menu),e.checkButtonRight(n.button),e.checkPageRight(e.pageRight,function(e){return function(e,t){e&&e.menuCode&&console.log(t.filter(function(t){return t.parentCode==e.menuCode}))}(e,n.button)})):m.a.errorMsg(t.data)})},getPageRight:function(e){return e.filter(function(e){return"string"==typeof e.menuUrl&&e.menuUrl.length>0}).map(function(e){for(var t=e.menuUrl,a=/(:.*)(\/?)/;a.test(t);)t=t.replace(a,"([\\d\\w]+[\\-]*[\\d\\w]*)$2");for(a=/(\/\*)(\/?)/;a.test(t);)t=t.replace(a,"([\\d\\w]+[\\-]*[\\d\\w]*)$2");return e.regexp=new RegExp("^/"+t+"$"),e})},checkButtonRight:function(e){u.a.prototype.$getButtonLimit=function(t){return 1==(e.find(function(e){return e.menuCode==t})||{}).hasRight}},checkPageRight:function(e,t){var a=e.find(function(e){return e.regexp.test(R)});if(a&&0==a.hasRight){var o=sessionStorage.getItem("hbReloadPath")||"";a.menuUrl==o.substr(1)?(this.$router.push("/index"),sessionStorage.removeItem("hbReloadPath")):this.$router.push({path:"/403"})}t(a),A.beforeEach(function(a,o,n){var r=e.find(function(e){return e.regexp.test(a.path)});if(t(r),r&&0==r.hasRight)return n({path:"/403"});n()})},setIndexRoute:function(e){var t="",a=[{path:"*",redirect:"/404"}];e.some(function(e){return e.hasRight&&e.isShow&&Array.isArray(e.childList)&&e.childList.some(function(e){return e.hasRight&&e.isShow&&Array.isArray(e.childList)&&e.childList.some(function(e){return e.hasRight&&e.isShow&&(t=e.menuUrl),e.hasRight&&e.isShow}),t}),t}),t&&a.push({path:"/index",redirect:"/"+t}),this.$router.addRoutes(a)}}},E={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{directives:[{name:"loading",rawName:"v-loading",value:this.loading,expression:"loading"}],staticStyle:{"min-height":"100vh"},attrs:{id:"app"}},[t("transition",{attrs:{name:"fade",mode:"out-in"}},[this.loading?this._e():t("router-view",{attrs:{"menu-list":this.menuList,"page-right":this.pageRight}})],1)],1)},staticRenderFns:[]};var I,P=a("VU/8")(L,E,!1,function(e){a("CNbB")},null,null).exports,F=a("bOdI"),G=a.n(F),N=a("SJI6"),V=a.n(N),j=a("0xDb");u.a.use(V.a);var q=new V.a.Store({state:{user:{},token:null,title:"",show:!1,bgHeight:window.screen.availHeight-440-24+"px",addDepartment:[],editDepartment:[],delDepartment:[],wxEnterpriseType:0,salesDate:Object(j.e)()},mutations:(I={},G()(I,"login",function(e,t){sessionStorage.token=t,e.token=t}),G()(I,"logout",function(e){sessionStorage.removeItem("token"),e.token=null}),G()(I,"title",function(e,t){e.title=t}),G()(I,"show",function(e,t){e.show=t}),G()(I,"saveAdd",function(e,t){e.addDepartment.push(t)}),G()(I,"saveEdit",function(e,t){e.editDepartment.push(t)}),G()(I,"saveDel",function(e,t){e.delDepartment.push(t)}),G()(I,"clearAdd",function(e){e.addDepartment=[]}),G()(I,"clearEdit",function(e){e.editDepartment=[]}),G()(I,"clearData",function(e){e.addDepartment=[],e.editDepartment=[],e.delDepartment=[]}),G()(I,"changeWxEntertype",function(e,t){e.wxEnterpriseType=t}),G()(I,"changeSalesDate",function(e,t){e.salesDate=t}),I),actions:{saveAddInfo:function(e,t){e.commit("saveAdd",t)},saveEditInfo:function(e,t){e.commit("saveEdit",t)},saveDelInfo:function(e,t){e.commit("saveDel",t)},clearAddData:function(e,t){e.commit("clearAdd")},clearEditData:function(e,t){e.commit("clearEdit")},clearTreeData:function(e,t){e.commit("clearData")},changeWxEntertypeData:function(e,t){e.commit("changeWxEntertype",t)},changeSales:function(e,t){e.commit("changeSalesDate",t)}}}),H={codeList:"https://www.yuque.com/exnmlu/oo64hg/kwp16k#z559K",codeGl:"https://www.yuque.com/exnmlu/oo64hg/kwp16k#z559K",codeCkmx:"https://www.yuque.com/exnmlu/oo64hg/kwp16k#z559K",linkList:"https://www.yuque.com/exnmlu/oo64hg/nwnrv5#FdRZy",linkGl:"https://www.yuque.com/exnmlu/oo64hg/nwnrv5#FdRZy",linkCkmx:"https://www.yuque.com/exnmlu/oo64hg/nwnrv5#FdRZy"},U={clipboard:{bind:function(e,t,a,o){e.val=t.value,e.handler=function(){var t=e.val,a=document.createElement("input");e.appendChild(a),a.value=t,a.select(),document.execCommand("Copy"),u.a.prototype.$message({type:"success",message:"复制成功"}),a.parentNode.removeChild(a)},e.addEventListener("click",e.handler)},update:function(e,t,a,o){e.val=t.value},unbind:function(e){e.removeEventListener("click",e.handler)}},jumpLink:{bind:function(e,t){var a=t.arg;e.handler=function(){window.open(H[a])},e.addEventListener("click",e.handler)},unbind:function(e){e.removeEventListener("click",e.handler)}}},O=(a("/wAz"),a("pc4g"),a("4qCZ"),a("xtVA"),a("Q0Ca")),Y={props:{size:{type:[Number,String],default:20},iconname:{type:String,default:""}},computed:{ClassStyle:function(){return"width:"+parseInt(this.size)+";height:"+parseInt(this.size)+";"},IconName:function(){return"#"+this.iconname}}},z={render:function(){var e=this.$createElement,t=this._self._c||e;return t("svg",{staticClass:"icon svg-icon svg-iconfont-hb3",style:this.ClassStyle,attrs:{"aria-hidden":"true"}},[t("use",{attrs:{"xlink:href":this.IconName}})])},staticRenderFns:[]};var W=a("VU/8")(Y,z,!1,function(e){a("6bDD")},"data-v-7a760b56",null).exports,$=a("TUaa"),B=a.n($),J=a("tyqE"),Q=a.n(J),X=a("pRVe"),Z=a.n(X),K=a("XsK6"),_=a.n(K),ee=a("QRL9"),te=a.n(ee),ae=a("eMjc"),oe=a.n(ae),ne=a("l9mu"),re=a.n(ne),se={install:function(e,t){e.prototype.getPdf=function(){var e=this.htmlTitle;oe()(document.querySelector("#pdfDom"),{allowTaint:!0,foreignObjectRendering:!0}).then(function(t){var a=t.width,o=t.height,n=a/592.28*841.89,r=o,s=0,i=592.28/a*o,p=t.toDataURL("image/jpeg",1),c=new re.a("","pt","a4");if(r<n)c.addImage(p,"JPEG",0,0,595.28,i);else for(;r>0;)c.addImage(p,"JPEG",0,s,595.28,i),s-=841.89,(r-=n)>0&&c.addPage();c.save(e+".pdf")})}}},ie=a("/IwO"),pe=a.n(ie),ce=a("FHfR"),de=a.n(ce),le={name:"HbFormBottom",inject:["layoutVm"],props:{horizontal:{type:String,default:"center"}},data:function(){return{width:"0px"}},mounted:function(){this.width=this.$parent.$el.offsetWidth+"px",this.layoutVm.pagePaddingBottom=this.$el.offsetHeight+"px"},beforeDestroy:function(){this.layoutVm.pagePaddingBottom=null}},ue={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"hb-form-bottom",style:{width:this.width,"justify-content":"left"==this.horizontal?"flex-start":"right"==this.horizontal?"flex-end":"center"}},[this._t("default")],2)},staticRenderFns:[]};var me=a("VU/8")(le,ue,!1,function(e){a("mBu+")},"data-v-5e054248",null).exports;s.a.polyfill(),u.a.component("svg-icon",W),n()(U).map(function(e){return u.a.directive(e,U[e])}),u.a.use(pe.a),pe.a.initAMapApiLoader({key:"d53a58848be368a7398dc56d5670fe9c",plugin:["Autocomplete","PlaceSearch","Scale","OverView","Geocoder","ToolBar","MapType","PolyEditor","AMap.CircleEditor"],v:"1.4.4"}),window.ELEMENT.Dialog.props.closeOnClickModal.default=!1,u.a.use(se),u.a.use(_.a),u.a.use(te.a),u.a.use(Z.a),u.a.use(Q.a),u.a.use(B.a),u.a.component("hb-form-bottom",me),u.a.config.productionTip=!1,n()(O.a).forEach(function(e){u.a.filter(e,O.a[e])}),A.beforeEach(function(e,t,a){window.axiosPromiseArr&&axiosPromiseArr.forEach(function(e,t){e.cancel(),delete axiosPromiseArr[t]});var o=window.location.origin;o.indexOf("localhost"),a()}),u.a.prototype.$buttonCode=de.a,new u.a({el:"#app",router:A,store:q,components:{App:P},template:"<App/>"})},OMN4:function(e,t){e.exports=axios},Opzk:function(e,t,a){var o={"./apps/badEvaluate/badEvaluateDetail.vue":["Yz8m",0,65],"./apps/badEvaluate/badEvaluateRecord.vue":["DCIc",0,118],"./apps/badEvaluate/badEvaluateSet.vue":["moBL",0,116],"./apps/badEvaluate/index.vue":["AG22",0,40],"./apps/card/cardList.vue":["X5LE",0,79],"./apps/card/cardRecord.vue":["xDJN",0,33],"./apps/card/index.vue":["nV1L",0,62],"./apps/card/newCard.vue":["7/Zw",0,21],"./apps/cloudDaily/customReport.vue":["ak3k",0,94],"./apps/cloudDaily/customReportSet.vue":["LTPC",0,8],"./apps/cloudDaily/daily-setting.vue":["RnLd",0,9],"./apps/cloudDaily/dailyDetail.vue":["JwJ7",0,29],"./apps/cloudDaily/dailyExport.vue":["H3Dc",0,45],"./apps/cloudDaily/dailyRecord.vue":["IuWw",0,82],"./apps/cloudDaily/index.vue":["4QyY",0,80],"./apps/cloudDaily/systemReport.vue":["J/6z",0,10],"./apps/cloudDaily/taskAssign.vue":["Hb/M",0,98],"./apps/cloudDaily/template/block.vue":["O3gZ",70],"./apps/cloudDaily/template/date-range.vue":["2WGr",67],"./apps/cloudDaily/template/image.vue":["8dpP",59],"./apps/cloudDaily/template/input.vue":["zHtI",86],"./apps/cloudDaily/template/select.vue":["rYZf",68],"./apps/customerApp/add-member-show-rules.vue":["SUcx",106],"./apps/customerApp/addGroupTemplate.vue":["vIlm",0,48],"./apps/customerApp/index.vue":["QHTa",0,60],"./apps/customerApp/memberDetailSet.vue":["F1Rz",0,91],"./apps/customerApp/memberGroupList.vue":["scn4",0,71],"./apps/customerApp/memberGroupSet.vue":["JuNN",0,17],"./apps/customerApp/memberGroupSetList.vue":["8fbE",0,57],"./apps/customerApp/memberSearchSet.vue":["Z3Aa",0,55],"./apps/customerApp/memberShowSet.vue":["odfG",75],"./apps/customerApp/memberTagSet.vue":["HmLC",52],"./apps/customerApp/myCustomerList.vue":["9CCr",0,15],"./apps/customerApp/storeRangeSet.vue":["z3jf",0,74],"./apps/customerApp/syncHistory.vue":["T435",53],"./apps/index.vue":["K1Vb",0,64],"./apps/order-evaluate/bad-evaluate-set.vue":["z2RJ",0,61],"./apps/order-evaluate/evaluate-set.vue":["RvMj",69],"./apps/order-evaluate/index.vue":["NUSj",0,111],"./apps/protectCard/cardGetRecord.vue":["5GE8",0,108],"./apps/protectCard/cardPut.vue":["cD4x",0,95],"./apps/protectCard/cardPutRecord.vue":["dhLd",0,102],"./apps/protectCard/cardStrategy.vue":["rUvh",0,43],"./apps/protectCard/cardTemplate.vue":["c7iB",0,63],"./apps/protectCard/index.vue":["aWmL",0,114],"./apps/protectCard/newCardPut.vue":["9db3",0,16],"./apps/protectCard/newCardStrategy.vue":["8Rwt",0,19],"./apps/protectCard/newCardTemp.vue":["tF0P",0,92],"./apps/quota/companyDaySet.vue":["NiGE",0,87],"./apps/quota/index.vue":["qSX4",0,101],"./apps/quota/monthList.vue":["fAFA",0,77],"./apps/quota/monthTask.vue":["NpHY",0,107],"./apps/quota/monthTaskDetail.vue":["YKf6",0,104],"./apps/quota/salerMonthDetail.vue":["+qr5",0,78],"./apps/quota/storeMonthTask.vue":["qWC+",0,88],"./apps/shoppingCenter/goodsShowSet.vue":["XrL3",0,103],"./apps/shoppingCenter/index.vue":["FIFf",0,76],"./business/authMerchant-dailog.vue":["/cEq",0,46],"./business/authMerchant-form.vue":["2xxS",0,14],"./business/authMerchant.vue":["mjMK",72],"./business/contacts.vue":["/W60",0,4],"./business/index.vue":["jPcV",0,97],"./business/not-manager.vue":["9F6+",0],"./business/orgStructSet.vue":["OI5V",0,5],"./business/recycle.vue":["K8Yn",0,115],"./business/storeList.vue":["QZxC",100],"./business/syncLog.vue":["20P3",0,50],"./enterprise/adminList.vue":["zYBJ",0,54],"./enterprise/app-visible-setting.vue":["w5vQ",73],"./enterprise/enterpriseSet.vue":["x5Fx",0,24],"./enterprise/guide-auth-setting.vue":["i0rV",58],"./enterprise/guide-setting-new.vue":["A9IH",0,3],"./enterprise/guide-setting.vue":["tPY2",22],"./enterprise/index.vue":["m9dW",0,93],"./enterprise/material.vue":["q+Sm",0,2],"./enterprise/relationDialog.vue":["+hGG",0],"./enterprise/salutatory.vue":["xWf4",0,66],"./enterprise/salutatoryIndex.vue":["nExe",0,27],"./enterprise/salutatorySet.vue":["vqCN",0,20],"./enterpriseData/activeDetail.vue":["h9Ca",0,30],"./enterpriseData/areaLoginDetail.vue":["TLd+",0,32],"./enterpriseData/enterpriseUseData.vue":["i4c9",0,6],"./enterpriseData/index.vue":["CTf4",0,120],"./enterpriseData/loginDetail.vue":["kX6v",0,13],"./errorPage/403.vue":["6XGN",42],"./errorPage/404.vue":["AejC",41],"./errorPage/500.vue":["FskK",37],"./errorPage/gic-error.vue":["Q3j/",56],"./errorPage/index.vue":["ODjX",1],"./errorPage/refresh.vue":["0/JE",125],"./index/index.vue":["JXTs",0,36],"./login/index.vue":["T+/8",0,51],"./login/login-more.vue":["AVFt",0,44],"./overstore/index.vue":["Y55K",0,113],"./overstore/overStoreList.vue":["vuAV",0,109],"./reviewCenter/index.vue":["+lem",89],"./reviewCenter/reviewSet.vue":["6j9f",0,117],"./reviewCenter/reviewed.vue":["CLYF",0,28],"./reviewCenter/unreview.vue":["xCEU",0,18],"./salesleads/actCodeManage/attractFlowLink/detail.vue":["ATNk",0,49],"./salesleads/actCodeManage/attractFlowLink/index.vue":["7m4r",0,124],"./salesleads/actCodeManage/attractFlowLink/info.vue":["phd8",0,25],"./salesleads/actCodeManage/attractFlowLink/landingPage/cardView.vue":["4KYo",35],"./salesleads/actCodeManage/attractFlowLink/landingPage/detail.vue":["t/sc",0,84],"./salesleads/actCodeManage/attractFlowLink/landingPage/list.vue":["fjEt",0,12],"./salesleads/actCodeManage/attractFlowLink/landingPage/relationDialog.vue":["GdW8",0,85],"./salesleads/actCodeManage/attractFlowLink/newAddChart.vue":["tqu3",0,110],"./salesleads/actCodeManage/components/select-clerk/index.vue":["znzC",0],"./salesleads/actCodeManage/components/select-clerk/select-clerk.vue":["1Am8",0],"./salesleads/actCodeManage/components/select-clerk/selected-clerk-item.vue":["jMsE",0],"./salesleads/actCodeManage/operateLog.vue":["EzCA",0,81],"./salesleads/actCodeManage/staffActCode/actCodeDetail.vue":["DWsn",0,31],"./salesleads/actCodeManage/staffActCode/actCodeDetailStatistics.vue":["YQXN",0,90],"./salesleads/actCodeManage/staffActCode/actCodeRecord.vue":["jx8Q",0,39],"./salesleads/actCodeManage/staffActCode/index.vue":["tVK0",0,11],"./salesleads/actCodeManage/staffActCode/newAddChart.vue":["eaYI",0],"./salesleads/actCodeManage/staffActCode/views/act-code-table.vue":["XZyq",0,34],"./salesleads/actCodeManage/staffActCode/views/batchAddCode.vue":["/pg7",0,122],"./salesleads/actCodeManage/staffActCode/views/group-list.vue":["t6Nl",0,83],"./salesleads/actCodeManage/staffActCode/views/setActCode.vue":["txZy",0,112],"./salesleads/components/act-code-set.vue":["1fzb",0],"./salesleads/components/actCodeDetailInfo.vue":["DvcT",0],"./salesleads/components/dataDetail.vue":["/p6h",0],"./salesleads/components/welcomesItem.vue":["42hH",0],"./salesleads/groupSend/grStoreDetail.vue":["XF7X",0,26],"./salesleads/groupSend/grStoreList.vue":["w4UW",0,99],"./salesleads/groupSend/grTaskList.vue":["Uvr8",0,119],"./salesleads/index.vue":["owWS",0,38],"./salesleads/trafficTask/taskDetail.vue":["wRTX",0,23],"./salesleads/trafficTask/taskRecord.vue":["Wj0m",0,96],"./salesleads/trafficTask/taskView.vue":["TsS9",0,47],"./salesleads/trafficTask/taskViewDetail.vue":["f1qT",0,121],"./salesleads/trafficTask/trafficTaskSet.vue":["3Qek",0,123],"./setting/index.vue":["VlR1",0,105]};function n(e){var t=o[e];return t?Promise.all(t.slice(1).map(a.e)).then(function(){return a(t[0])}):Promise.reject(new Error("Cannot find module '"+e+"'."))}n.keys=function(){return Object.keys(o)},n.id="Opzk",e.exports=n},P9l9:function(e,t,a){"use strict";a.d(t,"b",function(){return D}),a.d(t,"a",function(){return k}),a.d(t,"g",function(){return b}),a.d(t,"f",function(){return y}),a.d(t,"e",function(){return x}),a.d(t,"d",function(){return A}),a.d(t,"c",function(){return T});var o=a("//Fk"),n=a.n(o),r=a("lRwf"),s=a.n(r),i=a("Rf8U"),p=a.n(i),c=a("OMN4"),d=a.n(c),l=a("mw3O"),u=a.n(l),m=a("l6IN");a.n(m);s.a.use(p.a,d.a),s.a.axios.defaults.withCredentials=!0,s.a.axios.defaults.headers.common.platform="haoban",s.a.axios.defaults.timeout=5e5;var h=window.location.origin,g=JSON.parse(sessionStorage.getItem("userInfos")||"{}"),f="string"==typeof g.gicHost?g.gicHost.replace(/\/$/,""):"";console.log(f),h.indexOf("localhost")>=0&&(f=h);var v=[],w=[],S=s.a.axios.CancelToken,C=function(e){for(var t in w)w[t].u===e.url+"&"+e.method&&(w[t].f(),w.splice(t,1))};s.a.axios.interceptors.request.use(function(e){if(C(e),e.cancelToken=new S(function(t){w.push({u:e.url+"&"+e.method,f:t})}),e.cancelToken=new s.a.axios.CancelToken(function(e){v.push({cancel:e})}),sessionStorage.getItem("userInfoBrandId")){var t=sessionStorage.getItem("userInfoBrandId");t&&(e.headers.enterpriseId=t)}return e},function(e){return m.Message.error({message:"请求超时!"}),n.a.resolve(e)}),s.a.axios.interceptors.response.use(function(e){if(C(e.config),e.status&&200==e.status&&1!=e.data.errorCode&&0!=e.data.code){if(4==e.data.errorCode){if(-1!=window.location.href.indexOf("gic-error"))return!1;window.location.href=f+"/gic-web/#/login?ishb=1"}return 10!=e.data.errorCode&&7!=e.data.errorCode||(window.location.href=f+"/haoban-3/#/index"),e}return e},function(e){return 502==e.response.status&&(window.location.href=f+"/gic-web/#/login?ishb=1",m.Message.error({message:"服务异常⊙﹏⊙∥"})),403!=e.response.status&&(window.location.href=f+"/gic-web/#/login?ishb=1",m.Message.error({message:"登录失效!"})),n.a.resolve(e)});var D=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"get",url:""+h+e,data:{},params:t,headers:{"Content-type":"application/x-www-form-urlencoded"}})},k=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"delete",url:""+h+e,data:{},params:t,headers:{"Content-type":"application/x-www-form-urlencoded"}})},b=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+h+e,data:u.a.stringify(t),headers:{"Content-type":"application/x-www-form-urlencoded"}})},y=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+h+e,data:t,headers:{"Content-Type":"application/json;charset=UTF-8"}})},x=function(e,t){return s.a.axios({method:"post",url:""+h+e,data:t,params:{requestProject:"haoban-manage-web"},headers:{"Content-Type":"application/json;charset=UTF-8"}})},A=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+h+e,data:t,headers:{}})},T=function(e,t){return t.requestProject="haoban-manage-web",s.a.axios({method:"post",url:""+h+e,data:u.a.stringify(t),responseType:"blob",headers:{"content-type":"application/x-www-form-urlencoded"}})}},Q0Ca:function(e,t,a){"use strict";t.a={dateFormat:function(e,t){if(e){e=10===e.toString().length?1e3*e:e;var a=new Date(e),o={"M+":a.getMonth()+1,"D+":a.getDate(),W:"日一二三四五六".charAt(a.getDay()),"h+":a.getHours(),"m+":a.getMinutes(),"s+":a.getSeconds(),"q+":Math.floor((a.getMonth()+3)/3),S:a.getMilliseconds()};for(var n in/(Y+)/.test(t)&&(t=t.replace(RegExp.$1,(a.getFullYear()+"").substr(4-RegExp.$1.length))),o)new RegExp("("+n+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?o[n]:("00"+o[n]).substr((""+o[n]).length)));return t}},formatTimeStamp:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),s=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"-"+n+"-"+o+" "+r+":"+s+":"+i}},timeStampToYm:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=a<10?"0"+a:a;return t.getFullYear()+"-"+o}},timeStampToYmd:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a;return t.getFullYear()+"-"+n+"-"+o}},timeStampToHms:function(e){if(e){var t=new Date(e);return(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}},formatTimeYmdHms:function(e){if(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a,r=t.getHours()<10?"0"+t.getHours():t.getHours(),s=t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes(),i=t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds();return t.getFullYear()+"."+n+"."+o+" "+r+":"+s+":"+i}},formatPhoneNum:function(e){return e?(e=e.toString()).substr(0,3)+"****"+e.substr(7,11):""},timeStampToYmd2:function(e){if(e){var t=new Date(e-864e5),a=t.getMonth()+1,o=t.getDate()<10?"0"+t.getDate():t.getDate(),n=a<10?"0"+a:a;return t.getFullYear()+"-"+n+"-"+o}},formatName:function(e){return e?"**"+(e=e.toString()).substr(e.length-1,e.length):""},timeStampSpace:function(e){if(e){var t=new Date,a=new Date(Number(e)).getTime()-t.getTime();if(a<0)return"";var o=a%864e5,n=o%36e5;return Math.floor(a/864e5)+"天"+Math.floor(o/36e5)+"小时"+Math.floor(n/6e4)+"分"}},formatTime:function(e){if(!e)return"00:00:00";var t=e/1e3,a=Math.floor(t/60/60/24);return(24*a+Math.floor(t/60/60)%24<10?"0"+(24*a+Math.floor(t/60/60)%24):24*a+Math.floor(t/60/60)%24)+":"+(Math.floor(t/60)%60<10?"0"+Math.floor(t/60)%60:Math.floor(t/60)%60)+":"+(Math.floor(t)%60<10?"0"+Math.floor(t)%60:Math.floor(t)%60)},formatInvalidStatus:function(e){var t="--";return 1==e?t="未失效":2==e&&(t="已失效"),t}}},SJI6:function(e,t){e.exports=Vuex},l6IN:function(e,t){e.exports=ELEMENT},lRwf:function(e,t){e.exports=Vue},"mBu+":function(e,t){},pRNm:function(e,t){e.exports=VueRouter},pc4g:function(e,t){},xtVA:function(e,t){}},[0]);
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment