1 line
71 KiB
JavaScript
1 line
71 KiB
JavaScript
(function(e){function t(t){for(var n,r,i=t[0],c=t[1],l=t[2],u=0,d=[];u<i.length;u++)r=i[u],Object.prototype.hasOwnProperty.call(s,r)&&s[r]&&d.push(s[r][0]),s[r]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);f&&f(t);while(d.length)d.shift()();return o.push.apply(o,l||[]),a()}function a(){for(var e,t=0;t<o.length;t++){for(var a=o[t],n=!0,r=1;r<a.length;r++){var i=a[r];0!==s[i]&&(n=!1)}n&&(o.splice(t--,1),e=c(c.s=a[0]))}return e}var n={},r={app:0},s={app:0},o=[];function i(e){return c.p+"js/"+({fail:"fail","lang-zh-CN":"lang-zh-CN","lang-zh-CN-account":"lang-zh-CN-account","lang-zh-CN-account-settings":"lang-zh-CN-account-settings","lang-zh-CN-dashboard":"lang-zh-CN-dashboard","lang-zh-CN-dashboard-analysis":"lang-zh-CN-dashboard-analysis","lang-zh-CN-form":"lang-zh-CN-form","lang-zh-CN-form-basicForm":"lang-zh-CN-form-basicForm","lang-zh-CN-global":"lang-zh-CN-global","lang-zh-CN-menu":"lang-zh-CN-menu","lang-zh-CN-result":"lang-zh-CN-result","lang-zh-CN-result-fail":"lang-zh-CN-result-fail","lang-zh-CN-result-success":"lang-zh-CN-result-success","lang-zh-CN-setting":"lang-zh-CN-setting","lang-zh-CN-user":"lang-zh-CN-user",user:"user"}[e]||e)+"."+{"chunk-2187724d":"87acf797","chunk-2515aa86":"e134053f","chunk-2672acfa":"6aeca79c","chunk-35f6c8ac":"b3f38079","chunk-7da4eb58":"1f0ad88a","chunk-182ca22a":"e35d5816","chunk-1ab37f3c":"db692e2b","chunk-25728828":"11ad8445","chunk-3f8d11fc":"0c2faebc","chunk-8b6319a2":"57646986","chunk-a31b7d0a":"493c1515","chunk-c70de2f6":"8a4c6239","chunk-f6267108":"a5a97ea4",fail:"35d299df","lang-zh-CN":"4df4bdd0","lang-zh-CN-account":"31178b83","lang-zh-CN-account-settings":"c67af352","lang-zh-CN-dashboard":"8c2660f7","lang-zh-CN-dashboard-analysis":"2fc3e69f","lang-zh-CN-form":"9e72dbc7","lang-zh-CN-form-basicForm":"2de7abab","lang-zh-CN-global":"2ab19788","lang-zh-CN-menu":"3e33ed30","lang-zh-CN-result":"5e7f6923","lang-zh-CN-result-fail":"e3747840","lang-zh-CN-result-success":"349556c5","lang-zh-CN-setting":"78d9e9d1","lang-zh-CN-user":"696e6d3c",user:"f9e13a72"}[e]+".js"}function c(t){if(n[t])return n[t].exports;var a=n[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,c),a.l=!0,a.exports}c.e=function(e){var t=[],a={"chunk-7da4eb58":1,"chunk-1ab37f3c":1,"chunk-25728828":1,"chunk-8b6319a2":1,user:1};r[e]?t.push(r[e]):0!==r[e]&&a[e]&&t.push(r[e]=new Promise((function(t,a){for(var n="css/"+({fail:"fail","lang-zh-CN":"lang-zh-CN","lang-zh-CN-account":"lang-zh-CN-account","lang-zh-CN-account-settings":"lang-zh-CN-account-settings","lang-zh-CN-dashboard":"lang-zh-CN-dashboard","lang-zh-CN-dashboard-analysis":"lang-zh-CN-dashboard-analysis","lang-zh-CN-form":"lang-zh-CN-form","lang-zh-CN-form-basicForm":"lang-zh-CN-form-basicForm","lang-zh-CN-global":"lang-zh-CN-global","lang-zh-CN-menu":"lang-zh-CN-menu","lang-zh-CN-result":"lang-zh-CN-result","lang-zh-CN-result-fail":"lang-zh-CN-result-fail","lang-zh-CN-result-success":"lang-zh-CN-result-success","lang-zh-CN-setting":"lang-zh-CN-setting","lang-zh-CN-user":"lang-zh-CN-user",user:"user"}[e]||e)+"."+{"chunk-2187724d":"31d6cfe0","chunk-2515aa86":"31d6cfe0","chunk-2672acfa":"31d6cfe0","chunk-35f6c8ac":"31d6cfe0","chunk-7da4eb58":"e728df71","chunk-182ca22a":"31d6cfe0","chunk-1ab37f3c":"3d18d222","chunk-25728828":"1a0c6d40","chunk-3f8d11fc":"31d6cfe0","chunk-8b6319a2":"2634f734","chunk-a31b7d0a":"31d6cfe0","chunk-c70de2f6":"31d6cfe0","chunk-f6267108":"31d6cfe0",fail:"31d6cfe0","lang-zh-CN":"31d6cfe0","lang-zh-CN-account":"31d6cfe0","lang-zh-CN-account-settings":"31d6cfe0","lang-zh-CN-dashboard":"31d6cfe0","lang-zh-CN-dashboard-analysis":"31d6cfe0","lang-zh-CN-form":"31d6cfe0","lang-zh-CN-form-basicForm":"31d6cfe0","lang-zh-CN-global":"31d6cfe0","lang-zh-CN-menu":"31d6cfe0","lang-zh-CN-result":"31d6cfe0","lang-zh-CN-result-fail":"31d6cfe0","lang-zh-CN-result-success":"31d6cfe0","lang-zh-CN-setting":"31d6cfe0","lang-zh-CN-user":"31d6cfe0",user:"6ccd4506"}[e]+".css",s=c.p+n,o=document.getElementsByTagName("link"),i=0;i<o.length;i++){var l=o[i],u=l.getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(u===n||u===s))return t()}var d=document.getElementsByTagName("style");for(i=0;i<d.length;i++){l=d[i],u=l.getAttribute("data-href");if(u===n||u===s)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var n=t&&t.target&&t.target.src||s,o=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");o.code="CSS_CHUNK_LOAD_FAILED",o.request=n,delete r[e],f.parentNode.removeChild(f),a(o)},f.href=s;var m=document.getElementsByTagName("head")[0];m.appendChild(f)})).then((function(){r[e]=0})));var n=s[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,a){n=s[e]=[t,a]}));t.push(n[2]=o);var l,u=document.createElement("script");u.charset="utf-8",u.timeout=120,c.nc&&u.setAttribute("nonce",c.nc),u.src=i(e);var d=new Error;l=function(t){u.onerror=u.onload=null,clearTimeout(f);var a=s[e];if(0!==a){if(a){var n=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+n+": "+r+")",d.name="ChunkLoadError",d.type=n,d.request=r,a[1](d)}s[e]=void 0}};var f=setTimeout((function(){l({type:"timeout",target:u})}),12e4);u.onerror=u.onload=l,document.head.appendChild(u)}return Promise.all(t)},c.m=e,c.c=n,c.d=function(e,t,a){c.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,t){if(1&t&&(e=c(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(c.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)c.d(a,n,function(t){return e[t]}.bind(null,n));return a},c.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(t,"a",t),t},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.p="/",c.oe=function(e){throw console.error(e),e};var l=window["webpackJsonp"]=window["webpackJsonp"]||[],u=l.push.bind(l);l.push=t,l=l.slice();for(var d=0;d<l.length;d++)t(l[d]);var f=u;o.push([0,"chunk-vendors"]),a()})({0:function(e,t,a){e.exports=a("56d7")},"0af2":function(e,t,a){"use strict";a.r(t),t["default"]={"form.basic-form.basic.title":"Basic form","form.basic-form.basic.description":"Form pages are used to collect or verify information to users, and basic forms are common in scenarios where there are fewer data items.","form.basic-form.title.label":"Title","form.basic-form.title.placeholder":"Give the target a name","form.basic-form.title.required":"Please enter a title","form.basic-form.date.label":"Start and end date","form.basic-form.placeholder.start":"Start date","form.basic-form.placeholder.end":"End date","form.basic-form.date.required":"Please select the start and end date","form.basic-form.goal.label":"Goal description","form.basic-form.goal.placeholder":"Please enter your work goals","form.basic-form.goal.required":"Please enter a description of the goal","form.basic-form.standard.label":"Metrics","form.basic-form.standard.placeholder":"Please enter a metric","form.basic-form.standard.required":"Please enter a metric","form.basic-form.client.label":"Client","form.basic-form.label.tooltip":"Target service object","form.basic-form.client.placeholder":"Please describe your customer service, internal customers directly @ Name / job number","form.basic-form.client.required":"Please describe the customers you serve","form.basic-form.invites.label":"Inviting critics","form.basic-form.invites.placeholder":"Please direct @ Name / job number, you can invite up to 5 people","form.basic-form.weight.label":"Weight","form.basic-form.weight.placeholder":"Please enter weight","form.basic-form.public.label":"Target disclosure","form.basic-form.label.help":"Customers and invitees are shared by default","form.basic-form.radio.public":"Public","form.basic-form.radio.partially-public":"Partially public","form.basic-form.radio.private":"Private","form.basic-form.publicUsers.placeholder":"Open to","form.basic-form.option.A":"Colleague A","form.basic-form.option.B":"Colleague B","form.basic-form.option.C":"Colleague C","form.basic-form.email.required":"Please enter your email!","form.basic-form.email.wrong-format":"The email address is in the wrong format!","form.basic-form.userName.required":"Please enter your userName!","form.basic-form.password.required":"Please enter your password!","form.basic-form.password.twice":"The passwords entered twice do not match!","form.basic-form.strength.msg":"Please enter at least 6 characters and don't use passwords that are easy to guess.","form.basic-form.strength.strong":"Strength: strong","form.basic-form.strength.medium":"Strength: medium","form.basic-form.strength.short":"Strength: too short","form.basic-form.confirm-password.required":"Please confirm your password!","form.basic-form.phone-number.required":"Please enter your phone number!","form.basic-form.phone-number.wrong-format":"Malformed phone number!","form.basic-form.verification-code.required":"Please enter the verification code!","form.basic-form.form.get-captcha":"Get Captcha","form.basic-form.captcha.second":"sec","form.basic-form.form.optional":" (optional) ","form.basic-form.form.submit":"Submit","form.basic-form.form.save":"Save","form.basic-form.email.placeholder":"Email","form.basic-form.password.placeholder":"Password","form.basic-form.confirm-password.placeholder":"Confirm password","form.basic-form.phone-number.placeholder":"Phone number","form.basic-form.verification-code.placeholder":"Verification code"}},"0d3a":function(e,t,a){},"0dbd":function(e,t,a){var n=a("b2b7");e.exports={__esModule:!0,default:n.svgComponent({tag:"svg",attrsMap:{t:"1551058675966",class:"icon",style:"",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7872","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"200",height:"200"},children:[{tag:"defs"},{tag:"path",attrsMap:{d:"M85.333333 512h85.333334a340.736 340.736 0 0 1 99.712-241.621333 337.493333 337.493333 0 0 1 108.458666-72.96 346.453333 346.453333 0 0 1 261.546667-1.749334A106.154667 106.154667 0 0 0 746.666667 298.666667C805.802667 298.666667 853.333333 251.136 853.333333 192S805.802667 85.333333 746.666667 85.333333c-29.397333 0-55.978667 11.776-75.221334 30.933334-103.722667-41.514667-222.848-40.874667-325.76 2.517333a423.594667 423.594667 0 0 0-135.68 91.264 423.253333 423.253333 0 0 0-91.306666 135.637333A426.88 426.88 0 0 0 85.333333 512z m741.248 133.205333c-17.109333 40.618667-41.685333 77.141333-72.96 108.416s-67.797333 55.850667-108.458666 72.96a346.453333 346.453333 0 0 1-261.546667 1.749334A106.154667 106.154667 0 0 0 277.333333 725.333333C218.197333 725.333333 170.666667 772.864 170.666667 832S218.197333 938.666667 277.333333 938.666667c29.397333 0 55.978667-11.776 75.221334-30.933334A425.173333 425.173333 0 0 0 512 938.666667a425.941333 425.941333 0 0 0 393.258667-260.352A426.325333 426.325333 0 0 0 938.666667 512h-85.333334a341.034667 341.034667 0 0 1-26.752 133.205333z","p-id":"7873"}},{tag:"path",attrsMap:{d:"M512 318.378667c-106.752 0-193.621333 86.869333-193.621333 193.621333S405.248 705.621333 512 705.621333s193.621333-86.869333 193.621333-193.621333S618.752 318.378667 512 318.378667z m0 301.909333c-59.690667 0-108.288-48.597333-108.288-108.288S452.309333 403.712 512 403.712s108.288 48.597333 108.288 108.288-48.597333 108.288-108.288 108.288z","p-id":"7874"}}]})}},"1d4b":function(e,t,a){"use strict";var n=a("5530"),r=(a("d3b7"),a("ed3b"));t["a"]=function(e){function t(t,a,s){var o=this;if(s=s||{},o&&o._isVue){var i=document.querySelector("body>div[type=dialog]");i||(i=document.createElement("div"),i.setAttribute("type","dialog"),document.body.appendChild(i));var c=function(e,t){if(e instanceof Function){var a=e();a instanceof Promise?a.then((function(e){e&&t()})):a&&t()}else e||t()},l=new e({data:function(){return{visible:!0}},router:o.$router,store:o.$store,mounted:function(){var e=this;this.$on("close",(function(t){e.handleClose()}))},methods:{handleClose:function(){var e=this;c(this.$refs._component.onCancel,(function(){e.visible=!1,e.$refs._component.$emit("close"),e.$refs._component.$emit("cancel"),l.$destroy()}))},handleOk:function(){var e=this;c(this.$refs._component.onOK||this.$refs._component.onOk,(function(){e.visible=!1,e.$refs._component.$emit("close"),e.$refs._component.$emit("ok"),l.$destroy()}))}},render:function(e){var o=this,i=s&&s.model;i&&delete s.model;var c=Object.assign({},i&&{model:i}||{},{attrs:Object.assign({},Object(n["a"])({},s.attrs||s),{visible:this.visible}),on:Object.assign({},Object(n["a"])({},s.on||s),{ok:function(){o.handleOk()},cancel:function(){o.handleClose()}})}),l=a&&a.model;l&&delete a.model;var u=Object.assign({},l&&{model:l}||{},{ref:"_component",attrs:Object.assign({},Object(n["a"])({},a&&a.attrs||a)),on:Object.assign({},Object(n["a"])({},a&&a.on||a))});return e(r["a"],c,[e(t,u)])}}).$mount(i)}}Object.defineProperty(e.prototype,"$dialog",{get:function(){return function(){t.apply(this,arguments)}}})}},"29fd":function(e,t,a){"use strict";a.r(t);var n=a("5530"),r=a("4404");t["default"]=Object(n["a"])({},r["default"])},"2a47":function(e,t,a){},"31fc":function(e,t,a){"use strict";var n,r,s=a("8bbf"),o=a.n(s),i=new o.a,c=a("5530"),l=(a("b0c0"),a("7db0"),a("d3b7"),a("4de4"),a("caad"),a("2532"),a("159b"),a("d81d"),{name:"MultiTab",data:function(){return{fullPathList:[],pages:[],activeKey:"",newTabIndex:0}},created:function(){var e=this;i.$on("open",(function(t){if(!t)throw new Error("multi-tab: open tab ".concat(t," err"));e.activeKey=t})).$on("close",(function(t){t?e.closeThat(t):e.closeThat(e.activeKey)})).$on("rename",(function(t){var a=t.key,n=t.name;try{var r=e.pages.find((function(e){return e.path===a}));r.meta.customTitle=n,e.$forceUpdate()}catch(s){}})),this.pages.push(this.$route),this.fullPathList.push(this.$route.fullPath),this.selectedLastPath()},methods:{onEdit:function(e,t){this[t](e)},remove:function(e){this.pages=this.pages.filter((function(t){return t.fullPath!==e})),this.fullPathList=this.fullPathList.filter((function(t){return t!==e})),this.fullPathList.includes(this.activeKey)||this.selectedLastPath()},selectedLastPath:function(){this.activeKey=this.fullPathList[this.fullPathList.length-1]},closeThat:function(e){this.fullPathList.length>1?this.remove(e):this.$message.info("这是最后一个标签了, 无法被关闭")},closeLeft:function(e){var t=this,a=this.fullPathList.indexOf(e);a>0?this.fullPathList.forEach((function(e,n){n<a&&t.remove(e)})):this.$message.info("左侧没有标签")},closeRight:function(e){var t=this,a=this.fullPathList.indexOf(e);a<this.fullPathList.length-1?this.fullPathList.forEach((function(e,n){n>a&&t.remove(e)})):this.$message.info("右侧没有标签")},closeAll:function(e){var t=this,a=this.fullPathList.indexOf(e);this.fullPathList.forEach((function(e,n){n!==a&&t.remove(e)}))},closeMenuClick:function(e,t){this[e](t)},renderTabPaneMenu:function(e){var t=this,a=this.$createElement;return a("a-menu",{on:Object(c["a"])({},{click:function(a){var n=a.key;a.item,a.domEvent;t.closeMenuClick(n,e)}})},[a("a-menu-item",{key:"closeThat"},["关闭当前标签"]),a("a-menu-item",{key:"closeRight"},["关闭右侧"]),a("a-menu-item",{key:"closeLeft"},["关闭左侧"]),a("a-menu-item",{key:"closeAll"},["关闭全部"])])},renderTabPane:function(e,t){var a=this.$createElement,n=this.renderTabPaneMenu(t);return a("a-dropdown",{attrs:{overlay:n,trigger:["contextmenu"]}},[a("span",{style:{userSelect:"none"}},[e])])}},watch:{$route:function(e){this.activeKey=e.fullPath,this.fullPathList.indexOf(e.fullPath)<0&&(this.fullPathList.push(e.fullPath),this.pages.push(e))},activeKey:function(e){this.$router.push({path:e})}},render:function(){var e=this,t=arguments[0],a=this.onEdit,n=this.$data.pages,r=n.map((function(a){return t("a-tab-pane",{style:{height:0},attrs:{tab:e.renderTabPane(a.meta.customTitle||a.meta.title,a.fullPath),closable:n.length>1},key:a.fullPath})}));return t("div",{class:"ant-pro-multi-tab"},[t("div",{class:"ant-pro-multi-tab-wrapper"},[t("a-tabs",{attrs:{hideAdd:!0,type:"editable-card",tabBarStyle:{background:"#FFF",margin:0,paddingLeft:"16px",paddingTop:"1px"}},on:Object(c["a"])({},{edit:a}),model:{value:e.activeKey,callback:function(t){e.activeKey=t}}},[r])])])}}),u=l,d=a("2877"),f=Object(d["a"])(u,n,r,!1,null,null,null),m=f.exports,h=(a("3489"),{open:function(e){i.$emit("open",e)},rename:function(e,t){i.$emit("rename",{key:e,name:t})},closeCurrentPage:function(){this.close()},close:function(e){i.$emit("close",e)}});m.install=function(e){e.prototype.$multiTab||(h.instance=i,e.prototype.$multiTab=h,e.component("multi-tab",m))};t["a"]=m},3489:function(e,t,a){},4360:function(e,t,a){"use strict";var n,r=a("8bbf"),s=a.n(r),o=a("5880"),i=a.n(o),c=a("ade3"),l=(a("d3b7"),a("8ded")),u=a.n(l),d=a("9fb0"),f=a("bf0f"),m={state:{sideCollapsed:!1,isMobile:!1,theme:"dark",layout:"",contentWidth:"",fixedHeader:!1,fixedSidebar:!1,autoHideHeader:!1,color:"",weak:!1,multiTab:!0,lang:"en-US",_antLocale:{}},mutations:(n={},Object(c["a"])(n,d["d"],(function(e,t){e.sideCollapsed=t,u.a.set(d["d"],t)})),Object(c["a"])(n,d["k"],(function(e,t){e.isMobile=t})),Object(c["a"])(n,d["m"],(function(e,t){e.theme=t,u.a.set(d["m"],t)})),Object(c["a"])(n,d["j"],(function(e,t){e.layout=t,u.a.set(d["j"],t)})),Object(c["a"])(n,d["g"],(function(e,t){e.fixedHeader=t,u.a.set(d["g"],t)})),Object(c["a"])(n,d["h"],(function(e,t){e.fixedSidebar=t,u.a.set(d["h"],t)})),Object(c["a"])(n,d["f"],(function(e,t){e.contentWidth=t,u.a.set(d["f"],t)})),Object(c["a"])(n,d["i"],(function(e,t){e.autoHideHeader=t,u.a.set(d["i"],t)})),Object(c["a"])(n,d["e"],(function(e,t){e.color=t,u.a.set(d["e"],t)})),Object(c["a"])(n,d["n"],(function(e,t){e.weak=t,u.a.set(d["n"],t)})),Object(c["a"])(n,d["b"],(function(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.lang=t,e._antLocale=a,u.a.set(d["b"],t)})),Object(c["a"])(n,d["l"],(function(e,t){u.a.set(d["l"],t),e.multiTab=t})),n),actions:{setLang:function(e,t){var a=e.commit;return new Promise((function(e,n){a(d["b"],t),Object(f["c"])(t).then((function(){e()})).catch((function(e){n(e)}))}))}}},h=m,p=(a("b0c0"),a("d81d"),a("b775")),g={Login:"/auth/login",Logout:"/auth/logout",ForgePassword:"/auth/forge-password",Register:"/auth/register",twoStepCode:"/auth/2step-code",SendSms:"/account/sms",SendSmsErr:"/account/sms_err",UserInfo:"/user/info",UserMenu:"/user/nav"};function b(e){return Object(p["b"])({url:g.Login,method:"post",data:e})}function y(){return Object(p["b"])({url:g.UserInfo,method:"get",headers:{"Content-Type":"application/json;charset=UTF-8"}})}var v=a("ca00"),C={state:{token:"",name:"",welcome:"",avatar:"",roles:[],info:{}},mutations:{SET_TOKEN:function(e,t){e.token=t},SET_NAME:function(e,t){var a=t.name,n=t.welcome;e.name=a,e.welcome=n},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_INFO:function(e,t){e.info=t}},actions:{Login:function(e,t){var a=e.commit;return new Promise((function(e,n){b(t).then((function(t){var n=t.data;u.a.set(d["a"],n.token,36e5),a("SET_TOKEN",n.token),e()})).catch((function(e){n(e)}))}))},GetInfo:function(e){var t=e.commit;return new Promise((function(e,a){y().then((function(n){var r=n.data;if(r["role"]={permissions:Object(v["a"])(r.role)},r.role&&r.role.permissions.length>0){var s=r.role;s.permissions=r.role.permissions,s.permissions.map((function(e){if(null!=e.actionEntitySet&&e.actionEntitySet.length>0){var t=e.actionEntitySet.map((function(e){return e.action}));e.actionList=t}})),s.permissionList=s.permissions.map((function(e){return e.permissionId})),t("SET_ROLES",r.role),t("SET_INFO",r)}else a(new Error("getInfo: roles must be a non-null array !"));t("SET_NAME",{name:r.username,welcome:Object(v["c"])()}),e(n)})).catch((function(e){a(e)}))}))},Logout:function(e){var t=e.commit;e.state;return new Promise((function(e){t("SET_TOKEN",""),t("SET_ROLES",[]),u.a.remove(d["a"]),e()}))}}},k=C,w=(a("caad"),a("2532"),a("4de4"),a("99af"),a("d73b")),N=a("cd3f"),S=a.n(N);function z(e,t){if(t.meta&&t.meta.permission){for(var a=!1,n=0,r=e.length;n<r;n++)if(a=t.meta.permission.includes(e[n]),a)return!0;return!1}return!0}function P(e,t){var a=e.filter((function(e){return!!z(t.permissionList,e)&&(e.children&&e.children.length&&(e.children=P(e.children,t)),!0)}));return a}var j={state:{routers:w["b"],addRouters:[]},mutations:{SET_ROUTERS:function(e,t){e.addRouters=t,e.routers=w["b"].concat(t)}},actions:{GenerateRoutes:function(e,t){var a=e.commit;return new Promise((function(e){var n=t.roles,r=S()(w["a"]),s=P(r,n);a("SET_ROUTERS",s),e()}))}}},L=j,x={isMobile:function(e){return e.app.isMobile},lang:function(e){return e.app.lang},theme:function(e){return e.app.theme},color:function(e){return e.app.color},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},nickname:function(e){return e.user.name},welcome:function(e){return e.user.welcome},roles:function(e){return e.user.roles},userInfo:function(e){return e.user.info},addRouters:function(e){return e.permission.addRouters},multiTab:function(e){return e.app.multiTab}},O=x;s.a.use(i.a);t["a"]=new i.a.Store({modules:{app:h,user:k,permission:L},state:{},mutations:{},actions:{},getters:O})},4404:function(e,t,a){"use strict";a.r(t),t["default"]={"account.settings.menuMap.basic":"Basic Settings","account.settings.menuMap.security":"Security Settings","account.settings.menuMap.custom":"Custom Settings","account.settings.menuMap.binding":"Account Binding","account.settings.menuMap.notification":"New Message Notification","account.settings.basic.avatar":"Avatar","account.settings.basic.change-avatar":"Change avatar","account.settings.basic.email":"Email","account.settings.basic.email-message":"Please input your email!","account.settings.basic.nickname":"Nickname","account.settings.basic.nickname-message":"Please input your Nickname!","account.settings.basic.profile":"Personal profile","account.settings.basic.profile-message":"Please input your personal profile!","account.settings.basic.profile-placeholder":"Brief introduction to yourself","account.settings.basic.country":"Country/Region","account.settings.basic.country-message":"Please input your country!","account.settings.basic.geographic":"Province or city","account.settings.basic.geographic-message":"Please input your geographic info!","account.settings.basic.address":"Street Address","account.settings.basic.address-message":"Please input your address!","account.settings.basic.phone":"Phone Number","account.settings.basic.phone-message":"Please input your phone!","account.settings.basic.update":"Update Information","account.settings.basic.update.success":"Update basic information successfully","account.settings.security.strong":"Strong","account.settings.security.medium":"Medium","account.settings.security.weak":"Weak","account.settings.security.password":"Account Password","account.settings.security.password-description":"Current password strength:","account.settings.security.phone":"Security Phone","account.settings.security.phone-description":"Bound phone:","account.settings.security.question":"Security Question","account.settings.security.question-description":"The security question is not set, and the security policy can effectively protect the account security","account.settings.security.email":"Backup Email","account.settings.security.email-description":"Bound Email:","account.settings.security.mfa":"MFA Device","account.settings.security.mfa-description":"Unbound MFA device, after binding, can be confirmed twice","account.settings.security.modify":"Modify","account.settings.security.set":"Set","account.settings.security.bind":"Bind","account.settings.binding.taobao":"Binding Taobao","account.settings.binding.taobao-description":"Currently unbound Taobao account","account.settings.binding.alipay":"Binding Alipay","account.settings.binding.alipay-description":"Currently unbound Alipay account","account.settings.binding.dingding":"Binding DingTalk","account.settings.binding.dingding-description":"Currently unbound DingTalk account","account.settings.binding.bind":"Bind","account.settings.notification.password":"Account Password","account.settings.notification.password-description":"Messages from other users will be notified in the form of a station letter","account.settings.notification.messages":"System Messages","account.settings.notification.messages-description":"System messages will be notified in the form of a station letter","account.settings.notification.todo":"To-do Notification","account.settings.notification.todo-description":"The to-do list will be notified in the form of a letter from the station","account.settings.settings.open":"Open","account.settings.settings.close":"Close"}},"44e5":function(e,t,a){"use strict";a.r(t),t["default"]={"result.success.title":"Submission Success","result.success.description":"The submission results page is used to feed back the results of a series of operational tasks. If it is a simple operation, use the Message global prompt feedback. This text area can show a simple supplementary explanation. If there is a similar requirement for displaying “documents”, the following gray area can present more complicated content.","result.success.operate-title":"Project Name","result.success.operate-id":"Project ID","result.success.principal":"Principal","result.success.operate-time":"Effective time","result.success.step1-title":"Create project","result.success.step1-operator":"Qu Lili","result.success.step2-title":"Departmental preliminary review","result.success.step2-operator":"Zhou Maomao","result.success.step2-extra":"Urge","result.success.step3-title":"Financial review","result.success.step4-title":"Finish","result.success.btn-return":"Back List","result.success.btn-project":"View Project","result.success.btn-print":"Print"}},"4aa4":function(e,t,a){var n={"./en-US":["743d"],"./en-US.js":["743d"],"./en-US/account":["29fd"],"./en-US/account.js":["29fd"],"./en-US/account/settings":["4404"],"./en-US/account/settings.js":["4404"],"./en-US/dashboard":["dea1"],"./en-US/dashboard.js":["dea1"],"./en-US/dashboard/analysis":["b781"],"./en-US/dashboard/analysis.js":["b781"],"./en-US/form":["ffb6"],"./en-US/form.js":["ffb6"],"./en-US/form/basicForm":["0af2"],"./en-US/form/basicForm.js":["0af2"],"./en-US/global":["6e2f"],"./en-US/global.js":["6e2f"],"./en-US/menu":["771d"],"./en-US/menu.js":["771d"],"./en-US/result":["78a1"],"./en-US/result.js":["78a1"],"./en-US/result/fail":["69c3"],"./en-US/result/fail.js":["69c3"],"./en-US/result/success":["44e5"],"./en-US/result/success.js":["44e5"],"./en-US/setting":["5030"],"./en-US/setting.js":["5030"],"./en-US/user":["928e"],"./en-US/user.js":["928e"],"./zh-CN":["2807","lang-zh-CN"],"./zh-CN.js":["2807","lang-zh-CN"],"./zh-CN/account":["2a21","lang-zh-CN-account"],"./zh-CN/account.js":["2a21","lang-zh-CN-account"],"./zh-CN/account/settings":["0e6b","lang-zh-CN-account-settings"],"./zh-CN/account/settings.js":["0e6b","lang-zh-CN-account-settings"],"./zh-CN/dashboard":["dec6","lang-zh-CN-dashboard"],"./zh-CN/dashboard.js":["dec6","lang-zh-CN-dashboard"],"./zh-CN/dashboard/analysis":["5dd5","lang-zh-CN-dashboard-analysis"],"./zh-CN/dashboard/analysis.js":["5dd5","lang-zh-CN-dashboard-analysis"],"./zh-CN/form":["18c7","lang-zh-CN-form"],"./zh-CN/form.js":["18c7","lang-zh-CN-form"],"./zh-CN/form/basicForm":["12a1","lang-zh-CN-form-basicForm"],"./zh-CN/form/basicForm.js":["12a1","lang-zh-CN-form-basicForm"],"./zh-CN/global":["1858","lang-zh-CN-global"],"./zh-CN/global.js":["1858","lang-zh-CN-global"],"./zh-CN/menu":["1dec","lang-zh-CN-menu"],"./zh-CN/menu.js":["1dec","lang-zh-CN-menu"],"./zh-CN/result":["8176","lang-zh-CN-result"],"./zh-CN/result.js":["8176","lang-zh-CN-result"],"./zh-CN/result/fail":["d5c8","lang-zh-CN-result-fail"],"./zh-CN/result/fail.js":["d5c8","lang-zh-CN-result-fail"],"./zh-CN/result/success":["4fd4","lang-zh-CN-result-success"],"./zh-CN/result/success.js":["4fd4","lang-zh-CN-result-success"],"./zh-CN/setting":["5436","lang-zh-CN-setting"],"./zh-CN/setting.js":["5436","lang-zh-CN-setting"],"./zh-CN/user":["2518","lang-zh-CN-user"],"./zh-CN/user.js":["2518","lang-zh-CN-user"]};function r(e){if(!a.o(n,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],r=t[0];return Promise.all(t.slice(1).map(a.e)).then((function(){return a(r)}))}r.keys=function(){return Object.keys(n)},r.id="4aa4",e.exports=r},5030:function(e,t,a){"use strict";a.r(t),t["default"]={"app.setting.pagestyle":"Page style setting","app.setting.pagestyle.light":"Light style","app.setting.pagestyle.dark":"Dark style","app.setting.pagestyle.realdark":"RealDark style","app.setting.themecolor":"Theme Color","app.setting.navigationmode":"Navigation Mode","app.setting.content-width":"Content Width","app.setting.fixedheader":"Fixed Header","app.setting.fixedsidebar":"Fixed Sidebar","app.setting.sidemenu":"Side Menu Layout","app.setting.topmenu":"Top Menu Layout","app.setting.content-width.fixed":"Fixed","app.setting.content-width.fluid":"Fluid","app.setting.othersettings":"Other Settings","app.setting.weakmode":"Weak Mode","app.setting.copy":"Copy Setting","app.setting.loading":"Loading theme","app.setting.copyinfo":"copy success,please replace defaultSettings in src/config/defaultSettings.js","app.setting.production.hint":"Setting panel shows in development environment only, please manually modify","app.setting.themecolor.daybreak":"Daybreak Blue","app.setting.themecolor.dust":"Dust Red","app.setting.themecolor.volcano":"Volcano","app.setting.themecolor.sunset":"Sunset Orange","app.setting.themecolor.cyan":"Cyan","app.setting.themecolor.green":"Polar Green","app.setting.themecolor.geekblue":"Geek Blue","app.setting.themecolor.purple":"Golden Purple"}},"56d7":function(e,t,a){"use strict";a.r(t);a("e260"),a("e6cf"),a("cca6"),a("a79df"),a("a4d3"),a("e01a"),a("b636"),a("dc8d"),a("efe9"),a("d28b"),a("2a1b"),a("80e0"),a("6b9e"),a("197b"),a("2351"),a("8172"),a("944a"),a("81b8"),a("99af"),a("a874"),a("cb29"),a("4de4"),a("7db0"),a("c740"),a("0481"),a("5db7"),a("a630"),a("caad"),a("a15b"),a("d81d"),a("5ded"),a("fb6a"),a("4e82"),a("f785"),a("a434"),a("4069"),a("73d9"),a("c19f"),a("82da"),a("ace4"),a("efec"),a("b56e"),a("b0c0"),a("0c47"),a("4ec9"),a("5327"),a("79a8"),a("9ff9"),a("3ea3"),a("40d9"),a("ff9c"),a("0ac8"),a("f664"),a("4057"),a("bc01"),a("6b93"),a("ca21"),a("90d7"),a("2af1"),a("0261"),a("7898"),a("23dc"),a("b65f"),a("a9e3"),a("35b3"),a("f00c"),a("8ba4"),a("9129"),a("583b"),a("aff5"),a("e6e1"),a("c35a"),a("25eb"),a("b680"),a("12a8"),a("e71b"),a("4fadc"),a("dca8"),a("c1f9"),a("e439"),a("dbb4"),a("7039"),a("3410"),a("2b19"),a("c906"),a("e21d"),a("e43e"),a("b64b"),a("bf96"),a("5bf7"),a("cee8"),a("af93"),a("131a"),a("d3b7"),a("07ac"),a("a6fd"),a("4ae1"),a("3f3a"),a("ac16"),a("5d41"),a("9e4a"),a("7f78"),a("c760"),a("db96"),a("1bf2"),a("d6dd"),a("7ed3"),a("8b9a"),a("4d63"),a("ac1f"),a("5377"),a("25f0"),a("6062"),a("f5b2"),a("8a79"),a("f6d6"),a("2532"),a("3ca3"),a("466d"),a("843c"),a("4d90"),a("d80f"),a("38cf"),a("5319"),a("841c"),a("1276"),a("2ca0"),a("498a"),a("1e25"),a("eee7"),a("18a5"),a("1393"),a("04d3"),a("cc71"),a("c7cd"),a("9767"),a("1913"),a("c5d0"),a("9911"),a("c96a"),a("2315"),a("4c53"),a("664f"),a("cfc3"),a("4a9b"),a("fd87"),a("8b09"),a("143c"),a("5cc6"),a("8a59"),a("84c3"),a("fb2c"),a("9a8c"),a("a975"),a("735e"),a("c1ac"),a("d139"),a("3a7b"),a("d5d6"),a("20bf"),a("82f8"),a("e91f"),a("60bd"),a("5f96"),a("3280"),a("3fcc"),a("ec97"),a("ca91"),a("25a1"),a("cd26"),a("3c5d"),a("2954"),a("649e"),a("219c"),a("170b"),a("b39a"),a("72f7"),a("10d1"),a("1fe2"),a("159b"),a("ddb0"),a("130f"),a("9f96"),a("2b3d"),a("bf19"),a("9861"),a("96cf");var n=a("8bbf"),r=a.n(n),s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("a-config-provider",{attrs:{locale:e.locale}},[a("div",{attrs:{id:"app"}},[a("router-view")],1)])},o=[],i=a("e819"),c=function(e){document.title=e;var t=navigator.userAgent,a=/\bMicroMessenger\/([\d\.]+)/;if(a.test(t)&&/ip(hone|od|ad)/i.test(t)){var n=document.createElement("iframe");n.src="/favicon.ico",n.style.display="none",n.onload=function(){setTimeout((function(){n.remove()}),9)},document.body.appendChild(n)}},l=i["a"].title,u=a("bf0f"),d={data:function(){return{}},computed:{locale:function(){var e=this.$route.meta.title;return e&&c("".concat(Object(u["b"])(e)," - ").concat(l)),this.$i18n.getLocaleMessage(this.$store.getters.lang).antLocale}}},f=d,m=a("2877"),h=Object(m["a"])(f,s,o,!1,null,null,null),p=h.exports,g=a("6389"),b=a.n(g),y=a("d73b"),v=b.a.prototype.push;b.a.prototype.push=function(e,t,a){return t||a?v.call(this,e,t,a):v.call(this,e).catch((function(e){return e}))},r.a.use(b.a);var C=new b.a({mode:"hash",routes:y["b"]}),k=a("4360"),w=a("b775"),N=a("c0d2"),S={theme:[{key:"dark",fileName:"dark.css",theme:"dark"},{key:"#F5222D",fileName:"#F5222D.css",modifyVars:{"@primary-color":"#F5222D"}},{key:"#FA541C",fileName:"#FA541C.css",modifyVars:{"@primary-color":"#FA541C"}},{key:"#FAAD14",fileName:"#FAAD14.css",modifyVars:{"@primary-color":"#FAAD14"}},{key:"#13C2C2",fileName:"#13C2C2.css",modifyVars:{"@primary-color":"#13C2C2"}},{key:"#52C41A",fileName:"#52C41A.css",modifyVars:{"@primary-color":"#52C41A"}},{key:"#2F54EB",fileName:"#2F54EB.css",modifyVars:{"@primary-color":"#2F54EB"}},{key:"#722ED1",fileName:"#722ED1.css",modifyVars:{"@primary-color":"#722ED1"}},{key:"#F5222D",theme:"dark",fileName:"dark-#F5222D.css",modifyVars:{"@primary-color":"#F5222D"}},{key:"#FA541C",theme:"dark",fileName:"dark-#FA541C.css",modifyVars:{"@primary-color":"#FA541C"}},{key:"#FAAD14",theme:"dark",fileName:"dark-#FAAD14.css",modifyVars:{"@primary-color":"#FAAD14"}},{key:"#13C2C2",theme:"dark",fileName:"dark-#13C2C2.css",modifyVars:{"@primary-color":"#13C2C2"}},{key:"#52C41A",theme:"dark",fileName:"dark-#52C41A.css",modifyVars:{"@primary-color":"#52C41A"}},{key:"#2F54EB",theme:"dark",fileName:"dark-#2F54EB.css",modifyVars:{"@primary-color":"#2F54EB"}},{key:"#722ED1",theme:"dark",fileName:"dark-#722ED1.css",modifyVars:{"@primary-color":"#722ED1"}}]},z=(a("ca00"),a("8ded")),P=a.n(z),j=a("9fb0"),L=function(){"\n █████╗ ███╗ ██╗████████╗██████╗ ██████╗ ██████╗ ██████╗ \n██╔══██╗████╗ ██║╚══██╔══╝██╔══██╗ ██╔══██╗██╔══██╗██╔═══██╗\n███████║██╔██╗ ██║ ██║ ██║ ██║ ██████╔╝██████╔╝██║ ██║\n██╔══██║██║╚██╗██║ ██║ ██║ ██║ ██╔═══╝ ██╔══██╗██║ ██║\n██║ ██║██║ ╚████║ ██║ ██████╔╝ ██║ ██║ ██║╚██████╔╝\n╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ \n\t\t\t\t\tPublished ".concat("3.0.2","-").concat("1bb1432"," @ antdv.com\n\t\t\t\t\tBuild date: ").concat("4/21/2022, 10:50:25 PM")};function x(){L(),k["a"].commit(j["j"],P.a.get(j["j"],i["a"].layout)),k["a"].commit(j["g"],P.a.get(j["g"],i["a"].fixedHeader)),k["a"].commit(j["h"],P.a.get(j["h"],i["a"].fixSiderbar)),k["a"].commit(j["f"],P.a.get(j["f"],i["a"].contentWidth)),k["a"].commit(j["i"],P.a.get(j["i"],i["a"].autoHideHeader)),k["a"].commit(j["m"],P.a.get(j["m"],i["a"].navTheme)),k["a"].commit(j["n"],P.a.get(j["n"],i["a"].colorWeak)),k["a"].commit(j["e"],P.a.get(j["e"],i["a"].primaryColor)),k["a"].commit(j["l"],P.a.get(j["l"],i["a"].multiTab)),k["a"].commit("SET_TOKEN",P.a.get(j["a"])),k["a"].dispatch("setLang",P.a.get(j["b"],"en-US"))}a("dc5a");var O=a("56cd"),T=(a("3b18"),a("f64c")),M=(a("ea98"),a("1d87")),_=(a("bffa"),a("6634")),E=(a("e7c6"),a("a8ba")),A=(a("dd98"),a("3779")),F=(a("34c0"),a("9fd0")),$=(a("2a26"),a("768f")),R=(a("cc70"),a("1fd5")),U=(a("1273"),a("f2ca")),I=(a("eb14"),a("39ab")),D=(a("0025"),a("27ab")),B=(a("9980"),a("0bb7")),q=(a("55ec"),a("a79d")),V=(a("b97c"),a("7571")),W=(a("ab9e"),a("2c92")),G=(a("9a33"),a("f933")),H=(a("6d2a"),a("9571")),K=(a("fbd8"),a("55f1")),Y=(a("7f6b"),a("8592")),Q=(a("b380"),a("bf7b")),X=(a("dd48"),a("2fc4")),Z=(a("af3d"),a("27fd")),J=(a("d88f"),a("fe2b")),ee=(a("9d5c"),a("a600")),te=(a("5136"),a("681b")),ae=(a("4a96"),a("a071")),ne=(a("8fb1"),a("0c63")),re=(a("d13f"),a("ccb9")),se=(a("c68a"),a("0020")),oe=(a("cd17"),a("ed3b")),ie=(a("0032"),a("e32c")),ce=(a("de6a"),a("9a63")),le=(a("f2ef"),a("3af3")),ue=(a("288f"),a("cdeb")),de=(a("2ef0f"),a("9839")),fe=(a("ee00"),a("bb76")),me=(a("5783"),a("59a5")),he=(a("fbd6"),a("160c")),pe=(a("6ba6"),a("5efb")),ge=(a("922d"),a("09d9")),be=(a("5704"),a("b558")),ye=(a("1a62"),a("98c5")),ve=(a("d2a3"),a("4df5")),Ce=a("3654"),ke=a("7e79"),we=a.n(ke),Ne=a("1d4b"),Se=a("31fc"),ze=a("5530"),Pe={name:"PageLoading",props:{tip:{type:String,default:"Loading.."},size:{type:String,default:"large"}},render:function(){var e=arguments[0],t={textAlign:"center",background:"rgba(0,0,0,0.6)",position:"fixed",top:0,bottom:0,left:0,right:0,zIndex:1100},a={position:"absolute",left:"50%",top:"40%",transform:"translate(-50%, -50%)"};return e("div",{style:t},[e(Y["a"],{attrs:{size:this.size,tip:this.tip},style:a})])}},je="0.0.1",Le={newInstance:function(e,t){var a=document.querySelector("body>div[type=loading]");a||(a=document.createElement("div"),a.setAttribute("type","loading"),a.setAttribute("class","ant-loading-wrapper"),document.body.appendChild(a));var n=Object.assign({visible:!1,size:"large",tip:"Loading..."},t),r=new e({data:function(){return Object(ze["a"])({},n)},render:function(){var e=arguments[0],t=this.tip,a={};return this.tip&&(a.tip=t),this.visible?e(Pe,{props:Object(ze["a"])({},a)}):null}}).$mount(a);function s(e){var t=Object(ze["a"])(Object(ze["a"])({},n),e),a=t.visible,s=t.size,o=t.tip;r.$set(r,"visible",a),o&&r.$set(r,"tip",o),s&&r.$set(r,"size",s)}return{instance:r,update:s}}},xe={show:function(e){this.instance.update(Object(ze["a"])(Object(ze["a"])({},e),{},{visible:!0}))},hide:function(){this.instance.update({visible:!1})}},Oe=function(e,t){e.prototype.$loading||(xe.instance=Le.newInstance(e,t),e.prototype.$loading=xe)},Te={version:je,install:Oe},Me=a("3835"),_e={add:{key:"add",label:"新增"},delete:{key:"delete",label:"删除"},edit:{key:"edit",label:"修改"},query:{key:"query",label:"查询"},get:{key:"get",label:"详情"},enable:{key:"enable",label:"启用"},disable:{key:"disable",label:"禁用"},import:{key:"import",label:"导入"},export:{key:"export",label:"导出"}};function Ee(e){Ee.installed||(!e.prototype.$auth&&Object.defineProperties(e.prototype,{$auth:{get:function(){var e=this;return function(t){var a=t.split("."),n=Object(Me["a"])(a,2),r=n[0],s=n[1],o=e.$store.getters.roles.permissions,i=o.find((function(e){return e.permissionId===r})).actionList;return!i||i.findIndex((function(e){return e===s}))>-1}}}}),!e.prototype.$enum&&Object.defineProperties(e.prototype,{$enum:{get:function(){return function(e){var t=_e;return e&&e.split(".").forEach((function(e){t=t&&t[e]||null})),t}}}}))}var Ae=Ee;r.a.directive("action",{inserted:function(e,t,a){var n=t.arg,r=k["a"].getters.roles,s=a.context.$route.meta.permission,o=s instanceof String&&[s]||s;r.permissions.forEach((function(t){o.includes(t.permissionId)&&t.actionList&&!t.actionList.includes(n)&&(e.parentNode&&e.parentNode.removeChild(e)||(e.style.display="none"))}))}});r.a.use(ve["a"]),r.a.use(ye["a"]),r.a.use(be["a"]),r.a.use(ge["a"]),r.a.use(pe["a"]),r.a.use(he["a"]),r.a.use(me["a"]),r.a.use(fe["a"]),r.a.use(de["b"]),r.a.use(ue["a"]),r.a.use(le["a"]),r.a.use(ce["a"]),r.a.use(ie["a"]),r.a.use(oe["a"]),r.a.use(se["a"]),r.a.use(re["a"]),r.a.use(ne["a"]),r.a.use(ae["a"]),r.a.use(te["a"]),r.a.use(ee["a"]),r.a.use(J["b"]),r.a.use(Z["a"]),r.a.use(X["a"]),r.a.use(Q["a"]),r.a.use(Y["a"]),r.a.use(K["a"]),r.a.use(H["a"]),r.a.use(G["a"]),r.a.use(W["a"]),r.a.use(V["a"]),r.a.use(q["a"]),r.a.use(B["a"]),r.a.use(D["a"]),r.a.use(I["a"]),r.a.use(U["a"]),r.a.use(R["a"]),r.a.use($["a"]),r.a.use(F["b"]),r.a.use(A["a"]),r.a.use(E["a"]),r.a.use(_["a"]),r.a.use(M["a"]),r.a.prototype.$confirm=oe["a"].confirm,r.a.prototype.$message=T["a"],r.a.prototype.$notification=O["a"],r.a.prototype.$info=oe["a"].info,r.a.prototype.$success=oe["a"].success,r.a.prototype.$error=oe["a"].error,r.a.prototype.$warning=oe["a"].warning,r.a.use(Ce["a"]),r.a.use(Ne["a"]),r.a.use(Se["a"]),r.a.use(Te),r.a.use(Ae),r.a.use(we.a);var Fe=a("323e"),$e=a.n(Fe);a("fddb");$e.a.configure({showSpinner:!1});var Re=["login","register","registerResult"],Ue="/user/login",Ie="/dashboard/workplace";C.beforeEach((function(e,t,a){$e.a.start(),e.meta&&"undefined"!==typeof e.meta.title&&c("".concat(Object(u["b"])(e.meta.title)," - ").concat(l)),P.a.get(j["a"])?e.path===Ue?(a({path:Ie}),$e.a.done()):0===k["a"].getters.roles.length?k["a"].dispatch("GetInfo").then((function(n){var r=n.data&&n.data.role;k["a"].dispatch("GenerateRoutes",{roles:r}).then((function(){k["a"].getters.addRouters.forEach((function(e){C.addRoute(e)}));var n=decodeURIComponent(t.query.redirect||e.path);e.path===n?a(Object(ze["a"])(Object(ze["a"])({},e),{},{replace:!0})):a({path:n})}))})).catch((function(){k["a"].dispatch("Logout").then((function(){a({path:Ue,query:{redirect:e.fullPath}})}))})):a():Re.includes(e.name)?a():(a({path:Ue,query:{redirect:e.fullPath}}),$e.a.done())})),C.afterEach((function(){$e.a.done()}));var De=a("c1df"),Be=a.n(De);a("5c3a");Be.a.locale("zh-cn"),r.a.filter("NumberFormat",(function(e){if(!e)return"0";var t=e.toString().replace(/(\d)(?=(?:\d{3})+$)/g,"$1,");return t})),r.a.filter("dayjs",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm:ss";return Be()(e).format(t)})),r.a.filter("moment",(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm:ss";return Be()(e).format(t)}));a("861f");r.a.config.productionTip=!1,r.a.use(w["a"]),r.a.component("pro-layout",N["d"]),r.a.component("page-container",N["b"]),r.a.component("page-header-wrapper",N["b"]),window.umi_plugin_ant_themeVar=S.theme,new r.a({router:C,store:k["a"],i18n:u["a"],created:x,render:function(e){return e(p)}}).$mount("#app")},5880:function(e,t){e.exports=Vuex},6389:function(e,t){e.exports=VueRouter},"63ca":function(e,t,a){},6692:function(e,t,a){"use strict";a("63ca")},"69c3":function(e,t,a){"use strict";a.r(t),t["default"]={"result.fail.error.title":"Submission Failed","result.fail.error.description":"Please check and modify the following information before resubmitting.","result.fail.error.hint-title":"The content you submitted has the following error:","result.fail.error.hint-text1":"Your account has been frozen","result.fail.error.hint-btn1":"Thaw immediately","result.fail.error.hint-text2":"Your account is not yet eligible to apply","result.fail.error.hint-btn2":"Upgrade immediately","result.fail.error.btn-text":"Return to modify"}},"6e2f":function(e,t,a){"use strict";a.r(t),t["default"]={submit:"Submit",save:"Save","submit.ok":"Submit successfully","save.ok":"Saved successfully"}},"743d":function(e,t,a){"use strict";a.r(t);var n=a("5530"),r=a("8b45"),s=a("0ff2"),o=a.n(s),i=a("6e2f"),c=a("771d"),l=a("5030"),u=a("928e"),d=a("dea1"),f=a("ffb6"),m=a("78a1"),h=a("29fd"),p={antLocale:r["a"],momentName:"eu",momentLocale:o.a};t["default"]=Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])(Object(n["a"])({message:"-","layouts.usermenu.dialog.title":"Message","layouts.usermenu.dialog.content":"Are you sure you would like to logout?","layouts.userLayout.title":"Easy to use distributed exception retry service platform"},p),i["default"]),c["default"]),l["default"]),u["default"]),d["default"]),f["default"]),m["default"]),h["default"])},"771d":function(e,t,a){"use strict";a.r(t),t["default"]={"menu.welcome":"Welcome","menu.home":"Home","menu.dashboard":"Dashboard","menu.dashboard.analysis":"Analysis","menu.dashboard.monitor":"Monitor","menu.dashboard.workplace":"Workplace","menu.form":"Form","menu.form.basic-form":"Basic Form","menu.form.step-form":"Step Form","menu.form.step-form.info":"Step Form(write transfer information)","menu.form.step-form.confirm":"Step Form(confirm transfer information)","menu.form.step-form.result":"Step Form(finished)","menu.form.advanced-form":"Advanced Form","menu.list":"List","menu.list.table-list":"Search Table","menu.list.basic-list":"Basic List","menu.list.card-list":"Card List","menu.list.search-list":"Search List","menu.list.search-list.articles":"Search List(articles)","menu.list.search-list.projects":"Search List(projects)","menu.list.search-list.applications":"Search List(applications)","menu.profile":"Profile","menu.profile.basic":"Basic Profile","menu.profile.advanced":"Advanced Profile","menu.result":"Result","menu.result.success":"Success","menu.result.fail":"Fail","menu.exception":"Exception","menu.exception.not-permission":"403","menu.exception.not-find":"404","menu.exception.server-error":"500","menu.exception.trigger":"Trigger","menu.account":"Account","menu.account.center":"Account Center","menu.account.settings":"Account Settings","menu.account.trigger":"Trigger Error","menu.account.logout":"Logout"}},"78a1":function(e,t,a){"use strict";a.r(t);var n=a("5530"),r=a("44e5"),s=a("69c3");t["default"]=Object(n["a"])(Object(n["a"])({},r["default"]),s["default"])},"861f":function(e,t,a){},"86a0":function(e,t,a){"use strict";a("9f8d")},"8bbf":function(e,t){e.exports=Vue},"8eeb4":function(e,t,a){var n=a("b2b7");e.exports={__esModule:!0,default:n.svgComponent({tag:"svg",attrsMap:{viewBox:"0 0 128 128",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},children:[{tag:"title",children:[{text:"Vue"}]},{tag:"desc",children:[{text:"Created with Sketch."}]},{tag:"defs",children:[{tag:"linearGradient",attrsMap:{x1:"69.644116%",y1:"0%",x2:"69.644116%",y2:"100%",id:"linearGradient-1"},children:[{tag:"stop",attrsMap:{"stop-color":"#29CDFF",offset:"0%"}},{tag:"stop",attrsMap:{"stop-color":"#148EFF",offset:"37.8600687%"}},{tag:"stop",attrsMap:{"stop-color":"#0A60FF",offset:"100%"}}]},{tag:"linearGradient",attrsMap:{x1:"-19.8191553%",y1:"-36.7931464%",x2:"138.57919%",y2:"157.637507%",id:"linearGradient-2"},children:[{tag:"stop",attrsMap:{"stop-color":"#29CDFF",offset:"0%"}},{tag:"stop",attrsMap:{"stop-color":"#0F78FF",offset:"100%"}}]},{tag:"linearGradient",attrsMap:{x1:"68.1279872%",y1:"-35.6905737%",x2:"30.4400914%",y2:"114.942679%",id:"linearGradient-3"},children:[{tag:"stop",attrsMap:{"stop-color":"#FA8E7D",offset:"0%"}},{tag:"stop",attrsMap:{"stop-color":"#F74A5C",offset:"51.2635191%"}},{tag:"stop",attrsMap:{"stop-color":"#F51D2C",offset:"100%"}}]}]},{tag:"g",attrsMap:{id:"Vue",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},children:[{tag:"g",attrsMap:{id:"Group",transform:"translate(19.000000, 9.000000)"},children:[{tag:"path",attrsMap:{d:"M89.96,90.48 C78.58,93.48 68.33,83.36 67.62,82.48 L46.6604487,62.2292258 C45.5023849,61.1103236 44.8426845,59.5728835 44.8296987,57.9626396 L44.5035564,17.5209948 C44.4948861,16.4458744 44.0537714,15.4195095 43.2796864,14.6733517 L29.6459999,1.53153737 C28.055475,-0.00160504005 25.5232423,0.0449126588 23.9900999,1.63543756 C23.2715121,2.38092066 22.87,3.37600834 22.87,4.41143746 L22.87,64.3864751 C22.87,67.0807891 23.9572233,69.6611067 25.885409,71.5429748 L63.6004615,108.352061 C65.9466323,110.641873 69.6963584,110.624605 72.0213403,108.313281",id:"Path-Copy",fill:"url(#linearGradient-1)","fill-rule":"nonzero",transform:"translate(56.415000, 54.831157) scale(-1, 1) translate(-56.415000, -54.831157) "}},{tag:"path",attrsMap:{d:"M68,90.1163122 C56.62,93.1163122 45.46,83.36 44.75,82.48 L23.7904487,62.2292258 C22.6323849,61.1103236 21.9726845,59.5728835 21.9596987,57.9626396 L21.6335564,17.5209948 C21.6248861,16.4458744 21.1837714,15.4195095 20.4096864,14.6733517 L6.7759999,1.53153737 C5.185475,-0.00160504005 2.65324232,0.0449126588 1.12009991,1.63543756 C0.401512125,2.38092066 3.90211878e-13,3.37600834 3.90798505e-13,4.41143746 L3.94351218e-13,64.3864751 C3.94681177e-13,67.0807891 1.08722326,69.6611067 3.01540903,71.5429748 L40.7807092,108.401101 C43.1069304,110.671444 46.8180151,110.676525 49.1504445,108.412561",id:"Path",fill:"url(#linearGradient-2)","fill-rule":"nonzero"}},{tag:"path",attrsMap:{d:"M43.2983488,19.0991931 L27.5566079,3.88246244 C26.7624281,3.11476967 26.7409561,1.84862177 27.5086488,1.05444194 C27.8854826,0.664606611 28.4044438,0.444472651 28.9466386,0.444472651 L60.3925021,0.444472651 C61.4970716,0.444472651 62.3925021,1.33990315 62.3925021,2.44447265 C62.3925021,2.9858375 62.1730396,3.50407742 61.7842512,3.88079942 L46.0801285,19.0975301 C45.3051579,19.8484488 44.0742167,19.8491847 43.2983488,19.0991931 Z",id:"Path",fill:"url(#linearGradient-3)"}}]}]}]})}},"928e":function(e,t,a){"use strict";a.r(t),t["default"]={"user.login.userName":"userName","user.login.password":"password","user.login.username.placeholder":"Please enter the username","user.login.password.placeholder":"Please enter the password","user.login.message-invalid-credentials":"Invalid username or password","user.login.message-invalid-verification-code":"Invalid verification code","user.login.tab-login-credentials":"Credentials","user.login.tab-login-mobile":"Mobile number","user.login.mobile.placeholder":"Mobile number","user.login.mobile.verification-code.placeholder":"Verification code","user.login.remember-me":"Remember me","user.login.forgot-password":"Forgot your password?","user.login.sign-in-with":"Sign in with","user.login.signup":"Sign up","user.login.login":"Login","user.register.register":"Register","user.register.email.placeholder":"Email","user.register.password.placeholder":"Password ","user.register.password.popover-message":"Please enter at least 6 characters. Please do not use passwords that are easy to guess. ","user.register.confirm-password.placeholder":"Confirm password","user.register.get-verification-code":"Get code","user.register.sign-in":"Already have an account?","user.register-result.msg":"Account:registered at {email}","user.register-result.activation-email":"The activation email has been sent to your email address and is valid for 24 hours. Please log in to the email in time and click on the link in the email to activate the account.","user.register-result.back-home":"Back to home","user.register-result.view-mailbox":"View mailbox","user.email.required":"Please enter your email!","user.email.wrong-format":"The email address is in the wrong format!","user.userName.required":"Please enter account name or email address","user.password.required":"Please enter your password!","user.password.twice.msg":"The passwords entered twice do not match!","user.password.strength.msg":"The password is not strong enough","user.password.strength.strong":"Strength: strong","user.password.strength.medium":"Strength: medium","user.password.strength.low":"Strength: low","user.password.strength.short":"Strength: too short","user.confirm-password.required":"Please confirm your password!","user.phone-number.required":"Please enter your phone number!","user.phone-number.wrong-format":"Please enter a valid phone number","user.verification-code.required":"Please enter the verification code!"}},9491:function(e,t,a){"use strict";a("0d3a")},"9f8d":function(e,t,a){},"9fb0":function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"d",(function(){return r})),a.d(t,"k",(function(){return s})),a.d(t,"m",(function(){return o})),a.d(t,"j",(function(){return i})),a.d(t,"g",(function(){return c})),a.d(t,"h",(function(){return l})),a.d(t,"f",(function(){return u})),a.d(t,"i",(function(){return d})),a.d(t,"e",(function(){return f})),a.d(t,"n",(function(){return m})),a.d(t,"l",(function(){return h})),a.d(t,"b",(function(){return p})),a.d(t,"c",(function(){return g}));var n="Access-Token",r="sidebar_type",s="is_mobile",o="nav_theme",i="layout",c="fixed_header",l="fixed_sidebar",u="content_width",d="auto_hide_header",f="color",m="weak",h="multi_tab",p="app_language",g={Fluid:"Fluid",Fixed:"Fixed"}},b775:function(e,t,a){"use strict";a.d(t,"a",(function(){return m}));a("d3b7");var n=a("cebe"),r=a.n(n),s=a("4360"),o=a("8ded"),i=a.n(o),c=a("56cd"),l={vm:{},install:function(e,t){this.installed||(this.installed=!0,t&&(e.axios=t,Object.defineProperties(e.prototype,{axios:{get:function(){return t}},$http:{get:function(){return t}}})))}},u=a("9fb0"),d=r.a.create({baseURL:"",timeout:6e3}),f=function(e){if(e.response){var t=e.response.data,a=i.a.get(u["a"]);403===e.response.status&&c["a"].error({message:"Forbidden",description:t.message}),401!==e.response.status||t.result&&t.result.isLogin||(c["a"].error({message:"Unauthorized",description:"Authorization verification failed"}),a&&s["a"].dispatch("Logout").then((function(){setTimeout((function(){window.location.reload()}),1500)})))}return Promise.reject(e)};d.interceptors.request.use((function(e){var t=i.a.get(u["a"]);return t&&(e.headers["X-RETRY-AUTH"]=t),e}),f),d.interceptors.response.use((function(e){var t=e.data,a=t.status,n=t.message;return 0===a?(c["a"].error({message:n||"Error",duration:3}),Promise.reject(new Error(n||"Error"))):e.data}),f);var m={vm:{},install:function(e){e.use(l,d)}};t["b"]=d},b781:function(e,t,a){"use strict";a.r(t),t["default"]={"dashboard.analysis.test":"Gongzhuan No.{no} shop","dashboard.analysis.introduce":"Introduce","dashboard.analysis.total-sales":"Total Sales","dashboard.analysis.day-sales":"Daily Sales","dashboard.analysis.visits":"Visits","dashboard.analysis.visits-trend":"Visits Trend","dashboard.analysis.visits-ranking":"Visits Ranking","dashboard.analysis.day-visits":"Daily Visits","dashboard.analysis.week":"WoW Change","dashboard.analysis.day":"DoD Change","dashboard.analysis.payments":"Payments","dashboard.analysis.conversion-rate":"Conversion Rate","dashboard.analysis.operational-effect":"Operational Effect","dashboard.analysis.sales-trend":"Stores Sales Trend","dashboard.analysis.sales-ranking":"Sales Ranking","dashboard.analysis.all-year":"All Year","dashboard.analysis.all-month":"All Month","dashboard.analysis.all-week":"All Week","dashboard.analysis.all-day":"All day","dashboard.analysis.search-users":"Search Users","dashboard.analysis.per-capita-search":"Per Capita Search","dashboard.analysis.online-top-search":"Online Top Search","dashboard.analysis.the-proportion-of-sales":"The Proportion Of Sales","dashboard.analysis.dropdown-option-one":"Operation one","dashboard.analysis.dropdown-option-two":"Operation two","dashboard.analysis.channel.all":"ALL","dashboard.analysis.channel.online":"Online","dashboard.analysis.channel.stores":"Stores","dashboard.analysis.sales":"Sales","dashboard.analysis.traffic":"Traffic","dashboard.analysis.table.rank":"Rank","dashboard.analysis.table.search-keyword":"Keyword","dashboard.analysis.table.users":"Users","dashboard.analysis.table.weekly-range":"Weekly Range"}},bf0f:function(e,t,a){"use strict";a.d(t,"c",(function(){return b})),a.d(t,"b",(function(){return y}));var n=a("5530"),r=(a("d3b7"),a("caad"),a("3ca3"),a("ddb0"),a("8bbf")),s=a.n(r),o=a("a925"),i=a("8ded"),c=a.n(i),l=a("c1df"),u=a.n(l),d=a("743d");s.a.use(o["a"]);var f="en-US",m={"en-US":Object(n["a"])({},d["default"])},h=new o["a"]({silentTranslationWarn:!0,locale:f,fallbackLocale:f,messages:m}),p=[f];function g(e){return h.locale=e,document.querySelector("html").setAttribute("lang",e),e}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return new Promise((function(t){return c.a.set("lang",e),h.locale!==e?p.includes(e)?t(g(e)):a("4aa4")("./".concat(e)).then((function(t){var a=t.default;return h.setLocaleMessage(e,a),p.push(e),u.a.updateLocale(a.momentName,a.momentLocale),g(e)})):t(e)}))}function y(e){return h.t("".concat(e))}t["a"]=h},ca00:function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){return s}));a("ac1f");function n(){var e=new Date,t=e.getHours();return t<9?"早上好":t<=11?"上午好":t<=13?"中午好":t<20?"下午好":"晚上好"}function r(){var e=["休息一会儿吧","准备吃什么呢?","要不要打一把 DOTA","我猜你可能累了"],t=Math.floor(Math.random()*e.length);return e[t]}function s(e){var t={1:[{roleId:1,permissionId:"group",permissionName:"组配置",actionEntitySet:[]},{roleId:1,permissionId:"dashboard",permissionName:"看板"},{roleId:1,permissionId:"retryTask",permissionName:"任务管理"},{roleId:1,permissionId:"retryDeadLetter",permissionName:"死信队列管理"},{roleId:1,permissionId:"retryLog",permissionName:"重试日志管理"},{roleId:1,permissionId:"basicConfig",permissionName:"基础信息配置"}],2:[{roleId:2,permissionId:"group",permissionName:"组配置",actionEntitySet:[{action:"add",describe:"新增",defaultCheck:!1}]},{roleId:2,permissionId:"user",permissionName:"用户"},{roleId:2,permissionId:"userForm",permissionName:"新增或更新用户"},{roleId:2,permissionId:"dashboard",permissionName:"看板"},{roleId:2,permissionId:"retryTask",permissionName:"任务管理"},{roleId:2,permissionId:"retryDeadLetter",permissionName:"死信队列管理"},{roleId:2,permissionId:"retryLog",permissionName:"重试日志管理"},{roleId:2,permissionId:"basicConfig",permissionName:"基础信息配置"}]};return t[e]}},cdba:function(e,t,a){"use strict";a("da35")},cebe:function(e,t){e.exports=axios},d73b:function(e,t,a){"use strict";a.d(t,"a",(function(){return Pe})),a.d(t,"b",(function(){return je}));a("d3b7"),a("3ca3"),a("ddb0");var n,r,s,o,i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["user-layout-wrapper",e.isMobile&&"mobile"],attrs:{id:"userLayout"}},[a("div",{staticClass:"container"},[a("div",{staticClass:"user-layout-lang"},[a("select-lang",{staticClass:"select-lang-trigger"})],1),a("div",{staticClass:"user-layout-content"},[a("div",{staticClass:"top"},[e._m(0),a("div",{staticClass:"desc"},[e._v(" "+e._s(e.$t("layouts.userLayout.title"))+" ")])]),a("router-view"),e._m(1)],1)])])},c=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"header"},[a("a",{attrs:{href:"/"}},[a("span",{staticClass:"title"},[e._v("X-RETRY")])])])},function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"footer"},[a("div",{staticClass:"links"},[a("a",{attrs:{href:"_self"}},[e._v("帮助")]),a("a",{attrs:{href:"_self"}},[e._v("隐私")]),a("a",{attrs:{href:"_self"}},[e._v("条款")])]),a("div",{staticClass:"copyright"},[e._v(" Copyright © 2018 vueComponent ")])])}],l=a("5530"),u=a("5880"),d={computed:Object(l["a"])({},Object(u["mapState"])({isMobile:function(e){return e.app.isMobile}}))},f=(a("9d5c"),a("a600")),m=(a("8fb1"),a("0c63")),h=(a("fbd8"),a("55f1")),p=(a("d81d"),a("2a47"),a("bf0f")),g={computed:Object(l["a"])({},Object(u["mapState"])({currentLang:function(e){return e.app.lang}})),methods:{setLang:function(e){this.$store.dispatch("setLang",e)}}},b=g,y=["zh-CN","zh-TW","en-US","pt-BR"],v={"zh-CN":"简体中文","zh-TW":"繁体中文","en-US":"English","pt-BR":"Português"},C={"zh-CN":"🇨🇳","zh-TW":"🇭🇰","en-US":"🇺🇸","pt-BR":"🇧🇷"},k={props:{prefixCls:{type:String,default:"ant-pro-drop-down"}},name:"SelectLang",mixins:[b],render:function(){var e=this,t=arguments[0],a=this.prefixCls,n=function(t){var a=t.key;e.setLang(a)},r=t(h["a"],{class:["menu","ant-pro-header-menu"],attrs:{selectedKeys:[this.currentLang]},on:{click:n}},[y.map((function(e){return t(h["a"].Item,{key:e},[t("span",{attrs:{role:"img","aria-label":v[e]}},[C[e]])," ",v[e]])}))]);return t(f["a"],{attrs:{overlay:r,placement:"bottomRight"}},[t("span",{class:a},[t(m["a"],{attrs:{type:"global",title:Object(p["b"])("navBar.lang")}})])])}},w=k,N={name:"UserLayout",components:{SelectLang:w},mixins:[d],mounted:function(){document.body.classList.add("userLayout")},beforeDestroy:function(){document.body.classList.remove("userLayout")}},S=N,z=(a("cdba"),a("2877")),P=Object(z["a"])(S,i,c,!1,null,"001f2100",null),j=P.exports,L=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("router-view")],1)},x=[],O={name:"BlankLayout"},T=O,M=Object(z["a"])(T,L,x,!1,null,"7f25f9eb",null),_=(M.exports,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("pro-layout",e._b({attrs:{menus:e.menus,collapsed:e.collapsed,mediaQuery:e.query,isMobile:e.isMobile,handleMediaQuery:e.handleMediaQuery,handleCollapse:e.handleCollapse,i18nRender:e.i18nRender},scopedSlots:e._u([{key:"menuHeaderRender",fn:function(){return[a("div",[a("h1",[e._v(e._s(e.title))])])]},proxy:!0},{key:"headerContentRender",fn:function(){return[a("div",[a("a-tooltip",{attrs:{title:"刷新页面"}},[a("a-icon",{staticStyle:{"font-size":"18px",cursor:"pointer"},attrs:{type:"reload"},on:{click:function(){e.$router.go(0)}}})],1)],1)]},proxy:!0},{key:"rightContentRender",fn:function(){return[a("right-content",{attrs:{"top-menu":"topmenu"===e.settings.layout,"is-mobile":e.isMobile,theme:e.settings.theme}})]},proxy:!0},{key:"footerRender",fn:function(){return[a("global-footer")]},proxy:!0}])},"pro-layout",e.settings,!1),[e.isProPreviewSite&&!e.collapsed?a("ads"):e._e(),e.isDev?a("setting-drawer",{attrs:{settings:e.settings},on:{change:e.handleSettingChange}},[a("div",{staticStyle:{margin:"12px 0"}},[e._v(" This is SettingDrawer custom footer content. ")])]):e._e(),a("router-view")],1)}),E=[],A=(a("7db0"),a("c0d2")),F=a("9fb0"),$=a("e819"),R=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.wrpCls},[a("avatar-dropdown",{class:e.prefixCls,attrs:{menu:e.showMenu,"current-user":e.currentUser}}),a("select-lang",{class:e.prefixCls})],1)},U=[],I=a("ade3"),D=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.currentUser&&e.currentUser.name?a("a-dropdown",{attrs:{placement:"bottomRight"},scopedSlots:e._u([{key:"overlay",fn:function(){return[a("a-menu",{staticClass:"ant-pro-drop-down menu",attrs:{"selected-keys":[]}},[a("a-menu-item",{key:"logout",on:{click:e.handleLogout}},[a("a-icon",{attrs:{type:"logout"}}),e._v(" "+e._s(e.$t("menu.account.logout"))+" ")],1)],1)]},proxy:!0}],null,!1,3699420034)},[a("span",{staticClass:"ant-pro-account-avatar"},[a("a-avatar",{staticClass:"antd-pro-global-header-index-avatar",attrs:{size:"small",src:"https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png"}}),a("span",[e._v(e._s(e.currentUser.name))])],1)]):a("span",[a("a-spin",{style:{marginLeft:8,marginRight:8},attrs:{size:"small"}})],1)},B=[],q=(a("cd17"),a("ed3b")),V={name:"AvatarDropdown",props:{currentUser:{type:Object,default:function(){return null}},menu:{type:Boolean,default:!0}},methods:{handleToCenter:function(){this.$router.push({path:"/account/center"})},handleToSettings:function(){this.$router.push({path:"/account/settings"})},handleLogout:function(e){var t=this;q["a"].confirm({title:this.$t("layouts.usermenu.dialog.title"),content:this.$t("layouts.usermenu.dialog.content"),onOk:function(){return t.$store.dispatch("Logout").then((function(){t.$router.push({name:"login"})}))},onCancel:function(){}})}}},W=V,G=(a("9491"),Object(z["a"])(W,D,B,!1,null,"fd4de960",null)),H=G.exports,K={name:"RightContent",components:{AvatarDropdown:H,SelectLang:w},props:{prefixCls:{type:String,default:"ant-pro-global-header-index-action"},isMobile:{type:Boolean,default:function(){return!1}},topMenu:{type:Boolean,required:!0},theme:{type:String,required:!0}},data:function(){return{showMenu:!0,currentUser:{}}},computed:{wrpCls:function(){return Object(I["a"])({"ant-pro-global-header-index-right":!0},"ant-pro-global-header-index-".concat(this.isMobile||!this.topMenu?"light":this.theme),!0)}},mounted:function(){var e=this;setTimeout((function(){e.currentUser={name:e.$store.getters.nickname}}),1500)}},Y=K,Q=Object(z["a"])(Y,R,U,!1,null,null,null),X=Q.exports,Z=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("global-footer",{staticClass:"footer custom-render",scopedSlots:e._u([{key:"links",fn:function(){return[a("a",{attrs:{href:"https://www.github.com/vueComponent/pro-layout",target:"_blank"}},[e._v("Pro Layout")]),a("a",{attrs:{href:"https://www.github.com/vueComponent/ant-design-vue-pro",target:"_blank"}},[e._v("Github")]),a("a",{attrs:{href:"https://www.github.com/sendya/",target:"_blank"}},[e._v("@Sendya")])]},proxy:!0},{key:"copyright",fn:function(){return[a("a",{attrs:{href:"https://github.com/vueComponent",target:"_blank"}},[e._v("vueComponent")])]},proxy:!0}])})},J=[],ee={name:"ProGlobalFooter",components:{GlobalFooter:A["a"]}},te=ee,ae=Object(z["a"])(te,Z,J,!1,null,null,null),ne=ae.exports,re="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js",se={props:{isMobile:Boolean},mounted:function(){},methods:{load:function(){if(re){var e=document.createElement("script");e.id="_adsbygoogle_js",e.src=re,this.$el.appendChild(e),setTimeout((function(){(window.adsbygoogle||[]).push({})}),2e3)}}},render:function(){var e=arguments[0];return e("div",{class:"business-pro-ad"},[e("a",{attrs:{href:"https://store.antdv.com/pro/",target:"_blank"}},["(推荐) 企业级商用版 Admin Pro 现已发售,采用 Vue3 + TS 欢迎购买。"])])}},oe=se,ie=(a("86a0"),Object(z["a"])(oe,n,r,!1,null,"4109f67d",null)),ce=ie.exports,le=a("8eeb4"),ue=a.n(le),de={name:"BasicLayout",components:{SettingDrawer:A["c"],RightContent:X,GlobalFooter:ne,LogoSvg:ue.a,Ads:ce},data:function(){return{isProPreviewSite:!1,isDev:!1,menus:[],collapsed:!1,title:$["a"].title,settings:{layout:$["a"].layout,contentWidth:"sidemenu"===$["a"].layout?F["c"].Fluid:$["a"].contentWidth,theme:$["a"].navTheme,primaryColor:$["a"].primaryColor,fixedHeader:$["a"].fixedHeader,fixSiderbar:$["a"].fixSiderbar,colorWeak:$["a"].colorWeak,hideHintAlert:!1,hideCopyButton:!1},query:{},isMobile:!1}},computed:Object(l["a"])({},Object(u["mapState"])({mainMenu:function(e){return e.permission.addRouters}})),created:function(){var e=this,t=this.mainMenu.find((function(e){return"/"===e.path}));this.menus=t&&t.children||[],this.$watch("collapsed",(function(){e.$store.commit(F["d"],e.collapsed)})),this.$watch("isMobile",(function(){e.$store.commit(F["k"],e.isMobile)}))},mounted:function(){var e=this,t=navigator.userAgent;t.indexOf("Edge")>-1&&this.$nextTick((function(){e.collapsed=!e.collapsed,setTimeout((function(){e.collapsed=!e.collapsed}),16)}))},methods:{i18nRender:p["b"],handleMediaQuery:function(e){this.query=e,!this.isMobile||e["screen-xs"]?!this.isMobile&&e["screen-xs"]&&(this.isMobile=!0,this.collapsed=!1,this.settings.contentWidth=F["c"].Fluid):this.isMobile=!1},handleCollapse:function(e){this.collapsed=e},handleSettingChange:function(e){var t=e.type,a=e.value;switch(t&&(this.settings[t]=a),t){case"contentWidth":this.settings[t]=a;break;case"layout":"sidemenu"===a?this.settings.contentWidth=F["c"].Fluid:(this.settings.fixSiderbar=!1,this.settings.contentWidth=F["c"].Fixed);break}}}},fe=de,me=(a("6692"),Object(z["a"])(fe,_,E,!1,null,null,null)),he=me.exports,pe={name:"RouteView",props:{keepAlive:{type:Boolean,default:!0}},data:function(){return{}},render:function(){var e=arguments[0],t=this.$route.meta,a=this.$store.getters,n=e("keep-alive",[e("router-view")]),r=e("router-view");return(a.multiTab||t.keepAlive)&&(this.keepAlive||a.multiTab||t.keepAlive)?n:r}},ge=pe,be=Object(z["a"])(ge,s,o,!1,null,null,null),ye=(be.exports,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("page-header-wrapper",[a("router-view")],1)}),ve=[],Ce={name:"PageView"},ke=Ce,we=Object(z["a"])(ke,ye,ve,!1,null,null,null),Ne=(we.exports,a("0dbd")),Se=a.n(Ne),ze={name:"RouteView",render:function(e){return e("router-view")}},Pe=[{path:"/",name:"index",component:he,meta:{title:"menu.home"},redirect:"/basic-config-list",children:[{path:"/dashboard",name:"dashboard",hidden:!0,redirect:"/dashboard/workplace",component:ze,meta:{title:"menu.dashboard",keepAlive:!0,icon:Se.a,permission:["dashboard"]},children:[{path:"/dashboard/analysis/:pageNo([1-9]\\d*)?",name:"Analysis",component:function(){return Promise.all([a.e("chunk-7da4eb58"),a.e("chunk-8b6319a2")]).then(a.bind(null,"2f3a"))},meta:{title:"menu.dashboard.analysis",keepAlive:!1,permission:["dashboard"]}},{path:"https://www.baidu.com/",name:"Monitor",meta:{title:"menu.dashboard.monitor",target:"_blank"}},{path:"/dashboard/workplace",name:"Workplace",component:function(){return Promise.all([a.e("chunk-7da4eb58"),a.e("chunk-1ab37f3c")]).then(a.bind(null,"004c"))},meta:{title:"menu.dashboard.workplace",keepAlive:!0,permission:["dashboard"]}}]},{path:"/basic-config-list",name:"basicConfigList",component:function(){return Promise.all([a.e("chunk-7da4eb58"),a.e("chunk-3f8d11fc")]).then(a.bind(null,"ba93"))},meta:{title:"组管理",icon:"profile",permission:["group"]}},{path:"/basic-config",name:"basicConfig",hidden:!0,component:function(){return Promise.all([a.e("chunk-7da4eb58"),a.e("chunk-25728828")]).then(a.bind(null,"e941"))},meta:{title:"基础信息配置",hidden:!0,hideChildrenInMenu:!0,icon:"profile",permission:["basicConfig"]}},{path:"/retry-task",name:"RetryTask",component:ze,hideChildrenInMenu:!0,redirect:"/retry-task/list",meta:{title:"任务管理",icon:"profile",hideChildrenInMenu:!0,keepAlive:!0,permission:["retryTask"]},children:[{path:"/retry-task/info",name:"RetryTaskInfo",component:function(){return a.e("chunk-35f6c8ac").then(a.bind(null,"99f5"))},meta:{title:"任务管理详情",icon:"profile",keepAlive:!0,permission:["retryTask"]}},{path:"/retry-task/list",name:"RetryTaskList",component:function(){return Promise.all([a.e("chunk-7da4eb58"),a.e("chunk-182ca22a")]).then(a.bind(null,"9d75"))},meta:{title:"任务管理列表",icon:"profile",keepAlive:!0,permission:["retryTask"]}}]},{path:"/retry-dead-letter",name:"RetryDeadLetter",component:ze,hideChildrenInMenu:!0,redirect:"/retry-dead-letter/list",meta:{title:"死信队列管理",icon:"profile",permission:["retryDeadLetter"]},children:[{path:"/retry-dead-letter/list",name:"RetryDeadLetterList",component:function(){return Promise.all([a.e("chunk-7da4eb58"),a.e("chunk-a31b7d0a")]).then(a.bind(null,"dafb"))},meta:{title:"死信队列管理列表",icon:"profile",permission:["retryDeadLetter"]}},{path:"/retry-dead-letter/info",name:"RetryDeadLetterInfo",component:function(){return a.e("chunk-2672acfa").then(a.bind(null,"56bb"))},meta:{title:"死信队列管理详情",icon:"profile",permission:["retryDeadLetter"]}}]},{path:"/retry-log",name:"RetryLog",component:ze,hideChildrenInMenu:!0,redirect:"/retry-log/list",meta:{title:"重试日志管理",icon:"profile",permission:["retryLog"]},children:[{path:"/retry-log/list",name:"RetryLogList",component:function(){return Promise.all([a.e("chunk-7da4eb58"),a.e("chunk-c70de2f6")]).then(a.bind(null,"0564"))},meta:{title:"重试日志列表",icon:"profile",permission:["retryLog"]}},{path:"/retry-log/info",name:"RetryLogInfo",component:function(){return a.e("chunk-2515aa86").then(a.bind(null,"5fe2"))},meta:{title:"重试日志详情",icon:"profile",permission:["retryLog"]}}]},{path:"/user-list",name:"UserList",component:function(){return Promise.all([a.e("chunk-7da4eb58"),a.e("chunk-f6267108")]).then(a.bind(null,"1faf"))},meta:{title:"用户管理",icon:"profile",permission:["user"]}},{path:"/user-form",name:"UserForm",hidden:!0,component:function(){return a.e("chunk-2187724d").then(a.bind(null,"bf80"))},meta:{title:"新增或更新用户",icon:"profile",permission:["userForm"]}}]},{path:"*",redirect:"/404",hidden:!0}],je=[{path:"/user",component:j,redirect:"/user/login",hidden:!0,children:[{path:"login",name:"login",component:function(){return a.e("user").then(a.bind(null,"ac2a"))}},{path:"recover",name:"recover",component:void 0}]},{path:"/404",component:function(){return a.e("fail").then(a.bind(null,"cc89"))}}]},da35:function(e,t,a){},dea1:function(e,t,a){"use strict";a.r(t);var n=a("5530"),r=a("b781");t["default"]=Object(n["a"])({},r["default"])},e819:function(e,t,a){"use strict";t["a"]={navTheme:"dark",primaryColor:"#1890ff",layout:"sidemenu",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!1,colorWeak:!1,menu:{locale:!0},title:"X-RETRY",pwa:!1,iconfontUrl:"",production:!0}},fddb:function(e,t,a){},ffb6:function(e,t,a){"use strict";a.r(t);var n=a("5530"),r=a("0af2");t["default"]=Object(n["a"])({},r["default"])}}); |