(function(e){function t(t){for(var a,i,s=t[0],c=t[1],u=t[2],l=0,d=[];l0&&void 0!==arguments[0]?arguments[0]:this.$refs.pageheader.$el.offsetheight+this.margincorrect;this.correctpageminheight(this.pageheaderheight-e),this.pageheaderheight=e}})},g=p,b=(n("aa1d"),object(d["a"])(g,a,i,!1,null,null,null));t["a"]=b.exports},4862:function(e,t,n){"use strict";var a=n("e20c"),i=n.n(a);i.a},"492d":function(e,t,n){"use strict";var a=n("d55d"),i=n.n(a);i.a},"4bcb":function(e,t,n){"use strict";var a=n("aac2"),i=n.n(a);i.a},"4eb0":function(e,t,n){var a={palettes:["#f5222d","#fa541c","#fadb14","#3eaf7c","#13c2c2","#1890ff","#722ed1","#eb2f96"],animates:n("6d94").preset,theme:{mode:{dark:"dark",light:"light",night:"night"}},layout:{side:"side",head:"head"}};e.exports=a},"4ffd":function(e,t,n){e.exports=n.p+"static/img/logo.7d8eff1b.png"},"56d7":function(e,t,n){"use strict";n.r(t);n("e260"),n("e6cf"),n("cca6"),n("a79d");var a=n("2b0e"),i=function(){var e=this,t=e.$createelement,n=e._self._c||t;return n("a-config-provider",{attrs:{locale:e.locale,"get-popup-container":e.popcontainer}},[n("router-view")],1)},r=[],o=n("5530"),s=n("ca00"),c=n("2f62"),u=n("9d12"),l=n.n(u),d=n("89a5"),h={name:"app",data:function(){return{locale:{}}},created:function(){var e=this;this.sethtmltitle(),this.setlanguage(this.lang),object(s["a"])((function(t){return e.setdevice(t)}))},mounted:function(){this.setweekmodetheme(this.weekmode)},watch:{weekmode:function(e){this.setweekmodetheme(e)},lang:function(e){this.setlanguage(e),this.sethtmltitle()},$route:function(){this.sethtmltitle()},"theme.mode":function(e){var t=this.$message.loading("您选择了主题模式 ".concat(e,", 正在切换..."));l.a.changethemecolor(this.theme.color,e).then(t)},"theme.color":function(e){var t=this.$message.loading("您选择了主题色 ".concat(e,", 正在切换..."));l.a.changethemecolor(e,this.theme.mode).then(t)},layout:function(){window.dispatchevent(new event("resize"))}},computed:object(o["a"])({},object(c["d"])("setting",["layout","theme","weekmode","lang"])),methods:object(o["a"])(object(o["a"])({},object(c["c"])("setting",["setdevice"])),{},{setweekmodetheme:function(e){e?document.body.classlist.add("week-mode"):document.body.classlist.remove("week-mode")},setlanguage:function(e){switch(this.$i18n.locale=e,e){case"cn":this.locale=n("52bd").default;break;case"hk":this.locale=n("c468").default;break;case"us":default:this.locale=n("8b45").default;break}},sethtmltitle:function(){var e=this.$route,t="/"===e.path?"home.name":object(d["b"])(e.matched[e.matched.length-1].path);document.title="admin | "+this.$t(t)},popcontainer:function(){return document.getelementbyid("popcontainer")}})},f=h,m=(n("f35e"),n("2877")),p=object(m["a"])(f,i,r,!1,null,"5f750864",null),g=p.exports,b=(n("caad"),n("b0c0"),n("2532"),n("8c4f"));a["a"].use(b["a"]);var v={names:["404","403"],paths:["/login"],includes:function(e){return this.names.includes(e.name)||this.paths.includes(e.path)}};function y(e){var t=e?n("be67").default:n("0fbc").default;return object(d["a"])(t.routes),new b["a"](t)}n("1ccf");var k=n("f23d"),x=n("3654"),c={namespaced:!0,state:{user:void 0,permissions:null,roles:null,routesconfig:null},getters:{user:function(e){if(!e.user)try{var t=localstorage.getitem("admin.user");e.user=json.parse(t)}catch(n){}return e.user},permissions:function(e){if(!e.permissions)try{var t=localstorage.getitem("admin.permissions");e.permissions=json.parse(t),e.permissions=e.permissions?e.permissions:[]}catch(n){}return e.permissions},roles:function(e){if(!e.roles)try{var t=localstorage.getitem("admin.roles");e.roles=json.parse(t),e.roles=e.roles?e.roles:[]}catch(n){}return e.roles},routesconfig:function(e){if(!e.routesconfig)try{var t=localstorage.getitem("admin.routes");e.routesconfig=json.parse(t),e.routesconfig=e.routesconfig?e.routesconfig:[]}catch(n){}return e.routesconfig}},mutations:{setuser:function(e,t){e.user=t,localstorage.setitem("admin.user",json.stringify(t))},setpermissions:function(e,t){e.permissions=t,localstorage.setitem("admin.permissions",json.stringify(t))},setroles:function(e,t){e.roles=t,localstorage.setitem("admin.roles",json.stringify(t))},setroutesconfig:function(e,t){e.routesconfig=t,localstorage.setitem("admin.routes",json.stringify(t))}}},o=(n("7db0"),n("d81d"),n("f121")),w=n.n(o),j=n("6364"),p=n("79fa"),s=(n("99af"),n("4de4"),n("c740"),n("b85c")),_=n("2909"),$=n("53ca");function l(e,t){var n="*";return"string"===typeof e?n=e:"object"===object($["a"])(e)&&(n=e.permission),"*"===n||t&&-1!==t.findindex((function(e){return e===n||e.id===n}))}function t(e,t){var n=void 0;return"object"===object($["a"])(e)&&(n=e.role),"*"===e||m(n,t)}function m(e,t){return!!e&&(array.isarray(e)?-1!==t.findindex((function(t){return-1!==e.findindex((function(e){return e===t||e===t.id}))})):-1!==t.findindex((function(t){return t===e||t.id===e})))}function e(e,t,n){var a,i=[].concat(object(_["a"])(e.meta.pauthorities),[e.meta.authority]),r=object(s["a"])(i);try{for(r.s();!(a=r.n()).done;){var o=a.value;if(!l(o,t)&&!t(o,n))return!1}}catch(s){r.e(s)}finally{r.f()}return!0}function a(e,t,n){return e.filter((function(e){return!(e.meta&&void 0===e.meta.invisible&&!e(e,t,n))&&(e.children&&e.children.length>0&&(e.children=a(e.children,t,n)),!0)}))}var h=n("cd3f"),i=n.n(h),n=object(u["getlocalsetting"])(!0),r=sessionstorage.getitem("admin.tabs.titles"),b=r&&json.parse(r)||[],d={namespaced:!0,state:object(o["a"])(object(o["a"])({ismobile:!1,animates:j["admin"].animates,palettes:j["admin"].palettes,pageminheight:0,menudata:[],activatedfirst:void 0,customtitles:b},w.a),n),getters:{menudata:function(e,t,n){if(e.filtermenu){var a=n.account,i=a.permissions,r=a.roles;return a(i()(e.menudata),i,r)}return e.menudata},firstmenu:function(e,t){var n=t.menudata;return n.length>0&&!n[0].fullpath&&object(p["a"])(n),n.map((function(e){var t=object(o["a"])({},e);return delete t.children,t}))},submenu:function(e){var t=e.menudata,n=e.activatedfirst;t.length>0&&!t[0].fullpath&&object(p["a"])(t);var a=t.find((function(e){return e.fullpath===n}));return a&&a.children||[]}},mutations:{setdevice:function(e,t){e.ismobile=t},settheme:function(e,t){e.theme=t},setlayout:function(e,t){e.layout=t},setmultipage:function(e,t){e.multipage=t},setanimate:function(e,t){e.animate=t},setweekmode:function(e,t){e.weekmode=t},setfixedheader:function(e,t){e.fixedheader=t},setfixedsidebar:function(e,t){e.fixedsidebar=t},setlang:function(e,t){e.lang=t},sethidesetting:function(e,t){e.hidesetting=t},correctpageminheight:function(e,t){e.pageminheight+=t},setmenudata:function(e,t){e.menudata=t},setasyncroutes:function(e,t){e.asyncroutes=t},setpagewidth:function(e,t){e.pagewidth=t},setactivatedfirst:function(e,t){e.activatedfirst=t},setfixedtabs:function(e,t){e.fixedtabs=t},setcustomtitle:function(e,t){var n=t.path,a=t.title;if(a){var i=e.customtitles.find((function(e){return e.path===n}));i?i.title=a:e.customtitles.push({path:n,title:a}),sessionstorage.setitem("admin.tabs.titles",json.stringify(e.customtitles))}}}},k={account:c,setting:d};a["a"].use(c["a"]);var q=new c["a"].store({modules:k}),w=q,f=(n("81ca"),n("4160"),n("ac1f"),n("1276"),n("159b"),{statements:"s",phrasal:"p"}),z={install:function(e){e.mixin({methods:{$ta:function(e,t){var n=t||f.statements,a=e.split("|"),i=this,r=this.$i18n.locale,o="",s="us"==r?" ":"";return a.foreach((function(e){o+=i.$t(e)+s})),a.length>0&&n==f.statements&&"us"==r&&(o=o.charat(0).touppercase()+o.tolowercase().substring(1)),o}}})}},u=z,j=(n("c975"),n("b64b"),n("d3b7"),n("25f0"),function(e,t){return e.find((function(e){return e.id===t.meta.authority.permission}))}),g=function(e,t){var n=t.meta.authority.role;return n?e.filter((function(e){return-1!==n.findindex((function(t){return t===e.id}))})):[]},v=function(e){return-1!==e.tostring().indexof("//--auth-inject")},y=function(e,t,n,a,i){var r=e.check,o=e.type;return r&&"function"===typeof r?r.apply(this,[t,n,a,i]):"permission"===o?q(r,t):"role"===o?x(r,n):q(r,t)||x(r,n)},q=function(e,t){return t&&t.operation&&-1!==t.operation.indexof(e)},x=function(e,t){if(!t)return!1;var n,a=object(s["a"])(t);try{for(a.s();!(n=a.n()).done;){var i=n.value,r=i.operation;if(r&&-1!==r.indexof(e))return!0}}catch(o){a.e(o)}finally{a.f()}return!1},z=function(e,t,n){var a=t.arg,i=t.value,r=n.context,o=r.$auth;o&&o(i,a)?te(e):ee(e)},ee=function(e){"button"===e.tagname?e.disabled=!0:e.classlist.add("disabled"),e.setattribute("title","无此权限")},te=function(e){e.disabled=!1,e.classlist.remove("disabled"),e.removeattribute("title")},ne={install:function(e){e.directive("auth",{bind:function(e,t,n){settimeout((function(){return z(e,t,n)}),10)},componentupdated:function(e,t,n){settimeout((function(){return z(e,t,n)}),10)},unbind:function(e){te(e)}}),e.mixin({beforecreate:function(){var e=this;if(this.$options.authorize){var t=this.$options.authorize;object.keys(t).foreach((function(n){if(e.$options.methods[n]){var a=e.$options.methods[n];if(!v(a)){var i=t[n];i="string"===typeof i?{check:i}:i;var r=i,o=r.check,s=r.type,c=r.onfailure;e.$options.methods[n]=function(){return this.$auth(o,s)?a.apply(this,arguments):c&&"function"===typeof c?(this["$".concat(o,"failure")]=c,this["$".concat(o,"failure")](o)):(this.$message.error("对不起,您没有操作权限:".concat(o)),0)}}}}))}},methods:{$auth:function(e,t){var n=this.$store.getters["account/permissions"],a=this.$store.getters["account/roles"],i=j(n,this.$route),r=g(a,this.$route);return y.apply(this,[{check:e,type:t},i,r,n,a])}}})}},ae=ne,ie={install:function(e){e.mixin({methods:{$closepage:function(e,t){var n=new customevent("page:close",{detail:{closeroute:e,nextroute:t}});window.dispatchevent(n)},$refreshpage:function(e){var t="object"===object($["a"])(e)?e.path:e,n=new customevent("page:refresh",{detail:{pagekey:t}});window.dispatchevent(n)},$openpage:function(e,t){this.$setpagetitle(e,t),this.$router.push(e)},$setpagetitle:function(e,t){if(t){var n="object"===object($["a"])(e)?e.path:e;n=n&&n.split("?")[0],this.$store.commit("setting/setcustomtitle",{path:n,title:t})}}},computed:{customtitle:function(){var e=this.$store.state.setting.customtitles,t=this.$route.path.split("?")[0],n=e.find((function(e){return e.path===t}));return n&&n.title}}})}},re=ie,oe={install:function(e){e.use(u),e.use(ae),e.use(re)}},se=oe,ce=n("b775"),ue=n("323e"),le=n.n(ue);le.a.configure({showspinner:!1});var de=function(e,t,n){le.a.isstarted()||le.a.start(),n()},he=function(e,t,n,a){var i=a.message;v.includes(e)||object(ce["checkauthorization"])()?n():(i.warning("登录已失效,请重新登录"),n({path:"/login"}))},fe=function(e,t,n,a){var i=a.store,r=a.message,o=i.getters["account/permissions"],s=i.getters["account/roles"];e(e,o,s)?n():(r.warning("对不起,您无权访问页面: ".concat(e.fullpath,",请联系管理员")),n({path:"/403"}))},me=function(e,t,n,a){var i=a.store,r=function e(t){var n=t[0];return n.children&&0!==n.children.length?e(n.children):n};if("mix"===i.state.setting.layout){var o=i.getters["setting/firstmenu"];if(o.find((function(t){return t.fullpath===e.fullpath}))){i.commit("setting/setactivatedfirst",e.fullpath);var s=i.getters["setting/submenu"];if(s.length>0){var c=r(s);return n({path:c.fullpath})}}}n()},pe=function(){le.a.done()},ge={beforeeach:[de,he,fe,me],aftereach:[pe]},be=n("a78e"),ve=n.n(be),ye={onfulfilled:function(e,t){var n=t.message;return 401===e.code&&n.error("无此权限"),e},onrejected:function(e,t){var n=t.message,a=e.response;return 401===a.status&&n.error("无此权限"),promise.reject(e)}},ke={onfulfilled:function(e,t){var n=t.message;return 403===e.code&&n.error("请求被拒绝"),e},onrejected:function(e,t){var n=t.message,a=e.response;return 403===a.status&&n.error("请求被拒绝"),promise.reject(e)}},xe={onfulfilled:function(e,t){var n=t.message,a=e.url,i=e.xsrfcookiename;return-1===a.indexof("login")&&i&&!ve.a.get(i)&&n.warning("认证 token 已过期,请重新登录"),e},onrejected:function(e,t){var n=t.message;return n.error(e.message),promise.reject(e)}},ce={request:[xe],response:[ye,ke]};function oe(e){var t=e.router,n=e.store,a=e.i18n,i=e.message;object(d["f"])({router:t,store:n,i18n:a}),object(ce["loadinterceptors"])(ce,{router:t,store:n,i18n:a,message:i}),object(d["d"])(),object(d["c"])(ge,{router:t,store:n,i18n:a,message:i})}var we=oe,je=(n("5c3a"),n("98c9")),pe=y(w.state.setting.asyncroutes),se=object(p["b"])("cn","us");a["a"].use(k["a"]),a["a"].config.productiontip=!1,a["a"].use(x["a"]),a["a"].use(se),a["a"].use(je["a"]),we({router:pe,store:w,i18n:se,message:a["a"].prototype.$message}),new a["a"]({router:pe,store:w,i18n:se,render:function(e){return e(g)}}).$mount("#app")},"613e":function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createelement,n=e._self._c||t;return n("div",{staticclass:"footer"},[n("div",{staticclass:"copyright"},[e._v(" copyright"),n("a-icon",{attrs:{type:"copyright"}}),e._v("2023 思进智能 技术支持:"),n("a",{staticstyle:{position:"relative"},attrs:{href:"http://www.poge.com.cn",target:"_blank"}},[e._v("品格网络")])],1)])},i=[],r={name:"pagefooter",props:["copyright","linklist"]},o=r,s=(n("492d"),n("2877")),c=object(s["a"])(o,a,i,!1,null,"635e9d2e",null);t["a"]=c.exports},"61b9":function(e,t,n){"use strict";var a=n("a50b"),i=n.n(a);i.a},6364:function(e,t,n){var a=n("e1a0"),i=n("4eb0"),r=n("6d94"),o=n("fcaa");e.exports={antd:a,admin:i,animate:r,setting:o}},"63f6":function(e,t,n){},6710:function(e,t,n){},"6b65":function(e,t,n){},"6d94":function(e,t,n){n("99af");var a=["left","right"],i=["left","right","down","up"],r=["downbig","upbig","leftbig","rightbig"],o=["topleft","bottomright","topright","bottomleft"],s=["downleft","upright","downright","upleft"],c={preset:[{name:"back",alias:"渐近",directions:i},{name:"bounce",alias:"弹跳",directions:i.concat("default")},{name:"fade",alias:"淡化",directions:i.concat(r).concat(o).concat("default")},{name:"flip",alias:"翻转",directions:["x","y"]},{name:"lightspeed",alias:"光速",directions:a},{name:"rotate",alias:"旋转",directions:s.concat("default")},{name:"roll",alias:"翻滚",directions:["default"]},{name:"zoom",alias:"缩放",directions:i.concat("default")},{name:"slide",alias:"滑动",directions:i}]};e.exports=c},"6db9":function(e,t){object.defineproperty(object.prototype,"assignprops",{writable:!1,enumerable:!1,configurable:!0,value:function(e,t){for(var n=this,a=0;a-1}},reverse:{type:boolean,default:!0}},computed:{enteranimate:function(){return this.activeclass(!1)},leaveanimate:function(){return this.activeclass(!0)}},methods:{activeclass:function(e){var t=this,n=r["preset"].find((function(e){return t.animate==e.name}));if(void 0==n)return"";var a="";a=void 0==this.direction?n.directions[0]:n.directions.find((function(e){return e==t.direction})),a=void 0==a||"default"===a?"":a,""!=a&&(a=e&&this.reverse?this.reverseposition(a,n.directions):a,a=a[0].touppercase()+a.substring(1));var i=e?"out":"in";return n.name+i+a},reverseposition:function(e,t){if(0==e.length||"x"==e||"y"==e)return e;var n=t.indexof(e);return n=n%2==1?n-1:n+1,t[n]}}},s=o,c=(n("39be"),n("2877")),u=object(c["a"])(s,a,i,!1,null,null,null);t["a"]=u.exports},7878:function(e,t,n){n("99af"),n("a15b"),n("d81d"),n("b64b");var a=n("7037");function i(e,t){t=t||1;for(var n="\n",r=" ",o="",s=0;s=f&&(o=o.substring(0,o.length-f)),c&&!u||(h=n+o+h),"".concat(d).concat(l).concat(h)}e.exports={formatconfig:i}},"79fa":function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return d})),n.d(t,"a",(function(){return l}));n("4de4"),n("4160"),n("a15b"),n("b64b"),n("ac1f"),n("1276"),n("2ca0"),n("159b");var a=n("2b0e"),i=n("a925"),r=n("08e1"),o=n.n(r),s=(n("6db9"),n("89a5"));function c(e,t){a["a"].use(i["a"]);var n={locale:e,fallbacklocale:t,silentfallbackwarn:!0};return new i["a"](n)}function u(e,t,n){return t.foreach((function(t){var a=object(s["b"])(t.fullpath).split("."),i="path"===n?t[n].split("/").filter((function(e){return!e.startswith(":")&&""!=e})).join("."):t[n];e.assignprops(a,i),t.children&&u(e,t.children,n)})),e}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";e.foreach((function(e){var n="/"===e.path.substring(0,1);e.fullpath=n?e.path:"/"===t?t+e.path:t+"/"+e.path,e.children&&l(e.children,e.fullpath)}))}function d(e,t){l(t);var n=u(new object,t,"name"),a=u(new object,t,"path");e.mergelocalemessage("cn",n),e.mergelocalemessage("us",a);var i=o.a.messages;object.keys(i).foreach((function(t){e.mergelocalemessage(t,i[t])}))}},"89a5":function(e,t,n){"use strict";n.d(t,"e",(function(){return h})),n.d(t,"d",(function(){return f})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return v})),n.d(t,"a",(function(){return p})),n.d(t,"f",(function(){return d}));n("99af"),n("4de4"),n("7db0"),n("4160"),n("a15b"),n("d81d"),n("b0c0"),n("b64b"),n("07ac"),n("ac1f"),n("1276"),n("2ca0"),n("9911"),n("159b");var a=n("2909"),i=n("5530"),r=n("53ca"),o=n("a09f"),s=n("79fa"),c=n("8c4f"),u=(n("3c4e"),n("be67")),l={router:void 0,i18n:void 0,store:void 0};function d(e){var t=e.router,n=e.store,a=e.i18n;l.router=t,l.store=n,l.i18n=a}function h(e,t){var n=[];return e.foreach((function(e){var a=void 0,o={};"string"===typeof e?(a=t[e],o={path:a&&a.path||e,router:e}):"object"===object(r["a"])(e)&&(a=t[e.router],o=e),a||(a="string"===typeof e?{path:e,name:e}:e);var s=object(i["a"])({authority:a.authority,icon:a.icon,page:a.page,link:a.link,params:a.params,query:a.query},a.meta),c=object(i["a"])({authority:o.authority,icon:o.icon,page:o.page,link:o.link,params:o.params,query:o.query},o.meta);object.keys(c).foreach((function(e){void 0!==c[e]&&null!==c[e]&&""!==c[e]||delete c[e]})),object.assign(s,c);var u={path:o.path||a.path||o.router,name:o.name||a.name,component:a.component,redirect:o.redirect||a.redirect,meta:object(i["a"])(object(i["a"])({},s),{},{authority:s.authority||"*"})};(o.invisible||a.invisible)&&(u.meta.invisible=!0),o.children&&o.children.length>0&&(u.children=h(o.children,t)),n.push(u)})),n}function f(e){if(arguments.length>0){var t=arguments[0];(t.router||t.i18n||t.store)&&(e=arguments[1])}var n=l.router,a=l.store,r=l.i18n;e?a.commit("account/setroutesconfig",e):e=a.getters["account/routesconfig"];var d=a.state.setting.asyncroutes;if(d&&e&&e.length>0){var f=h(e,o["a"]),g=m(u["default"].routes,f);p(g),n.options=object(i["a"])(object(i["a"])({},n.options),{},{routes:g}),n.matcher=new c["a"](object(i["a"])(object(i["a"])({},n.options),{},{routes:[]})).matcher,n.addroutes(g)}object(s["c"])(r,n.options.routes);var b=n.options.routes.find((function(e){return"/"===e.path})),v=b&&b.children;v&&a.commit("setting/setmenudata",v)}function m(e,t){var n={};return e.foreach((function(e){return n[e.path]=e})),t.foreach((function(e){return n[e.path]=e})),object.values(n)}function p(e){e.foreach((function(e){var t=e.path;t.startswith("/")||"*"===t||(e.path="/"+t)})),g(e)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e.foreach((function(e){var n=e.meta,i=t[t.length-1]||{permission:"*"};if(n){var o={};if(n.authority){if("string"===typeof n.authority)o.permission=n.authority;else if("object"===object(r["a"])(n.authority)){o=n.authority;var s=o,c=s.role;"string"===typeof c&&(o.role=[c]),o.permission||o.role||(o=i)}}else o=i;n.authority=o}else{var u=i;e.meta={authority:u}}e.meta.pauthorities=t,e.children&&g(e.children,[].concat(object(a["a"])(t),[e.meta.authority]))}))}function b(e){var t=e.split("/").filter((function(e){return!e.startswith(":")&&""!=e}));return t.push("name"),t.join(".")}function v(e,t){var n=e.beforeeach,a=e.aftereach,i=t.router;n.foreach((function(e){e&&"function"===typeof e&&i.beforeeach((function(n,a,i){return e(n,a,i,t)}))})),a.foreach((function(e){e&&"function"===typeof e&&i.aftereach((function(n,a){return e(n,a,t)}))}))}},9412:function(e,t,n){"use strict";var a=n("6710"),i=n.n(a);i.a},"99ce":function(e,t,n){},"9bdf":function(e,t,n){},"9d12":function(e,t,n){n("99af");var a=n("ded3"),i=n("448a"),r=n("6a71"),o=n("f121"),s=o.theme,c=n("bc8f"),u=c.getmenucolors,l=c.getantdcolors,d=c.getthemetogglecolors,h=c.getfunctionalcolors,f=n("6364"),m=f.antd;function p(e,t){var n=e||s.color,a=t||s.mode,r=d(n,a),o=[].concat(i(r.maincolors),i(r.subcolors),i(r.menucolors),i(r.contentcolors),i(r.rgbcolors),i(r.functionalcolors.success),i(r.functionalcolors.warning),i(r.functionalcolors.error));return o}function g(e,t){var n=r.changer.changecolor({newcolors:p(e,t)});return n}function b(e){var t=e||s.color,n=l(t,s.mode),i=u(t,s.mode),r=h(s.mode),o=r.success,c=r.warning,d=r.error,f=n[5];return a({"primary-color":f,"primary-1":n[0],"primary-2":n[1],"primary-3":n[2],"primary-4":n[3],"primary-5":n[4],"primary-6":n[5],"primary-7":n[6],"primary-8":n[7],"primary-9":n[8],"primary-10":n[9],"info-color":f,"success-color":o[5],"warning-color":c[5],"error-color":d[5],"alert-info-bg-color":n[0],"alert-info-border-color":n[2],"alert-success-bg-color":o[0],"alert-success-border-color":o[2],"alert-warning-bg-color":c[0],"alert-warning-border-color":c[2],"alert-error-bg-color":d[0],"alert-error-border-color":d[2],"processing-color":f,"menu-dark-submenu-bg":i[0],"layout-header-background":i[1],"layout-trigger-background":i[2],"btn-danger-bg":d[4],"btn-danger-border":d[4]},m.theme[s.mode])}function v(e){if(e&&e.theme){var t=e.theme,n=t.color,a=t.mode;n=n||s.color,a=a||s.mode,g(n,a)}}function y(e){var t={};try{var n=localstorage.getitem("admin.setting");t=json.parse(n)}catch(a){}return e&&v(t),t}e.exports={getthemecolors:p,changethemecolor:g,modifyvars:b,loadlocaltheme:v,getlocalsetting:y}},a078:function(e,t){e.exports={theme:{color:"#13c2c2",mode:"dark"},asyncroutes:!0,multipage:!0,animate:{name:"lightspeed",direction:"left"}}},a08b:function(e,t,n){},a09f:function(e,t,n){"use strict";n("d3b7");var a={tabs:function(){return n.e("chunk-2d0f0f76").then(n.bind(null,"9f2e"))},blank:function(){return promise.resolve().then(n.bind(null,"c7f3"))},page:function(){return promise.resolve().then(n.bind(null,"c8c3"))}},i={login:{authority:"*",path:"/login",component:function(){return n.e("chunk-5f6d433f").then(n.bind(null,"80c1"))}},exp403:{authority:"*",name:"exp403",path:"403",component:function(){return n.e("chunk-d85a52c4").then(n.bind(null,"3f9a"))}},exp404:{name:"exp404",path:"404",component:function(){return n.e("chunk-16595fb7").then(n.bind(null,"a42a"))}},exp500:{name:"exp500",path:"500",component:function(){return n.e("chunk-2e15bd1e").then(n.bind(null,"5827"))}},root:{path:"/",name:"首页",redirect:"/login",component:a.tabs},workplace:{name:"工作台",component:function(){return n.e("chunk-aad38856").then(n.bind(null,"8cb7"))}},exception:{name:"异常页",icon:"warning",component:a.blank},system:{name:"系统设置",icon:"system",component:a.blank},usermanage:{name:"系统用户",icon:"user",component:function(){return n.e("chunk-24074651").then(n.bind(null,"d560"))}},rolemanage:{name:"角色管理",icon:"team",component:function(){return n.e("chunk-3c184066").then(n.bind(null,"9fb0"))}},menu:{name:"菜单管理",icon:"profile",component:function(){return n.e("chunk-dc5a3fee").then(n.bind(null,"3e82"))}},news:{name:"新闻管理",icon:"read",component:a.blank},newslist:{name:"新闻列表",icon:"read",component:function(){return n.e("chunk-508ebb17").then(n.bind(null,"66b4"))}},newsadd:{name:"添加新闻",icon:"plus-circle",component:function(){return promise.all([n.e("chunk-a6fef4b8"),n.e("chunk-6877ea03")]).then(n.bind(null,"8030"))}},newsedit:{name:"新闻编辑",invisible:!0,component:function(){return promise.all([n.e("chunk-a6fef4b8"),n.e("chunk-0f088f71")]).then(n.bind(null,"0fe6"))}},newsclass:{name:"新闻分类",component:function(){return n.e("chunk-b717e38a").then(n.bind(null,"d827"))},query:{tablename:"tb_news_class"}},ir:{name:"投资者关系",component:a.blank},irlist:{name:"信息列表",component:function(){return n.e("chunk-71d8902c").then(n.bind(null,"278c"))}},iradd:{name:"添加信息",component:function(){return n.e("chunk-5597ec24").then(n.bind(null,"22bb"))}},iredit:{name:"信息编辑",invisible:!0,component:function(){return n.e("chunk-17940de2").then(n.bind(null,"778d"))}},products:{name:"产品管理",component:a.blank},productslist:{name:"产品列表",component:function(){return n.e("chunk-29b865d0").then(n.bind(null,"6809"))}},productsadd:{name:"添加产品",component:function(){return promise.all([n.e("chunk-a6fef4b8"),n.e("chunk-309e8a26")]).then(n.bind(null,"125a"))}},productsedit:{name:"产品编辑",invisible:!0,component:function(){return promise.all([n.e("chunk-a6fef4b8"),n.e("chunk-479ccdbf")]).then(n.bind(null,"8f6c"))}},productsclass:{name:"产品分类",component:function(){return n.e("chunk-b717e38a").then(n.bind(null,"d827"))},query:{tablename:"tb_products_class"}},hr:{name:"人才招聘",component:a.blank},hrlist:{name:"招聘列表",component:function(){return n.e("chunk-892b68fc").then(n.bind(null,"ee64"))}},hradd:{name:"添加招聘",component:function(){return n.e("chunk-13888921").then(n.bind(null,"b262"))}},hredit:{name:"招聘编辑",invisible:!0,component:function(){return n.e("chunk-038da0c5").then(n.bind(null,"53d6"))}},usersystem:{name:"用户设置",icon:"system",invisible:!0,component:function(){return n.e("chunk-66f78356").then(n.bind(null,"472c"))}},setting:{name:"个人设置",invisible:!0,component:function(){return n.e("chunk-66f78356").then(n.bind(null,"472c"))}}};t["a"]=i},a50b:function(e,t,n){},a91d:function(e,t,n){"use strict";var a=n("0a93"),i=n.n(a);i.a},a9ec:function(e,t,n){"use strict";var a=n("26ae"),i=n.n(a);i.a},aa1d:function(e,t,n){"use strict";var a=n("9bdf"),i=n.n(a);i.a},aac2:function(e,t,n){},aca7:function(e,t,n){e.exports=n.p+"static/img/logo.db95f193.jpg"},b775:function(e,t,n){"use strict";n.r(t),n.d(t,"method",(function(){return h})),n.d(t,"auth_type",(function(){return d})),n.d(t,"request",(function(){return f})),n.d(t,"setauthorization",(function(){return p})),n.d(t,"removeauthorization",(function(){return g})),n.d(t,"checkauthorization",(function(){return b})),n.d(t,"loadinterceptors",(function(){return v})),n.d(t,"parseurlparams",(function(){return y}));n("4160"),n("d3b7"),n("ac1f"),n("5319"),n("1276"),n("159b");var a=n("5530"),i=(n("96cf"),n("1da1")),r=n("bc3a"),o=n.n(r),s=n("a78e"),c=n.n(s),u="authorization",l="http://www.sijin.cc/api";o.a.defaults.baseurl=l,o.a.defaults.timeout=5e3,o.a.defaults.withcredentials=!0,o.a.defaults.xsrfheadername=u,o.a.defaults.xsrfcookiename=u;var d={bearer:"bearer",basic:"basic",auth1:"auth1",auth2:"auth2"},h={get:"get",post:"post"};function f(e,t,n,a){return m.apply(this,arguments)}function m(){return m=object(i["a"])(regeneratorruntime.mark((function e(t,n,i,r){return regeneratorruntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:e.t0=n,e.next=e.t0===h.get?3:e.t0===h.post?4:5;break;case 3:return e.abrupt("return",o.a.get(t,object(a["a"])({params:i},r)));case 4:return e.abrupt("return",o.a.post(t,i,r));case 5:return e.abrupt("return",o.a.get(t,object(a["a"])({params:i},r)));case 6:case"end":return e.stop()}}),e)}))),m.apply(this,arguments)}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.bearer;switch(t){case d.bearer:c.a.set(u,"bearer "+e.token,{expires:e.expireat});break;case d.basic:case d.auth1:case d.auth2:default:break}}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.bearer;switch(e){case d.bearer:c.a.remove(u);break;case d.basic:case d.auth1:case d.auth2:default:break}}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.bearer;switch(e){case d.bearer:if(c.a.get(u))return!0;break;case d.basic:case d.auth1:case d.auth2:default:break}return!1}function v(e,t){var n=e.request,a=e.response;n.foreach((function(e){var n=e.onfulfilled,a=e.onrejected;n&&"function"===typeof n||(n=function(e){return e}),a&&"function"===typeof a||(a=function(e){return promise.reject(e)}),o.a.interceptors.request.use((function(e){return n(e,t)}),(function(e){return a(e,t)}))})),a.foreach((function(e){var n=e.onfulfilled,a=e.onrejected;n&&"function"===typeof n||(n=function(e){return e}),a&&"function"===typeof a||(a=function(e){return promise.reject(e)}),o.a.interceptors.response.use((function(e){return n(e,t)}),(function(e){return a(e,t)}))}))}function y(e){var t={};if(!e||""===e||"string"!==typeof e)return t;var n=e.split("?")[1];if(!n)return t;for(var a=n.replace(/&|=/g," ").split(" "),i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=e;return object.entries(t).foreach((function(e){var t=object(k["a"])(e,2),a=t[0],i=t[1];n=n.replace(new regexp(":".concat(a),"g"),i)})),n},$=function e(t){var n={};return t.foreach((function(t){if(n[t.fullpath]=t,t.children&&t.children.length>0){var a=e(t.children);object.assign(n,a)}})),n},l={name:"imenu",props:{options:{type:array,required:!0},theme:{type:string,required:!1,default:"dark"},mode:{type:string,required:!1,default:"inline"},collapsed:{type:boolean,required:!1,default:!1},i18n:object,openkeys:array},data:function(){return{selectedkeys:[],sopenkeys:[],cachedopenkeys:[]}},computed:{menutheme:function(){return"light"==this.theme?this.theme:"dark"},routesmap:function(){return $(this.options)}},created:function(){var e=this;if(this.updatemenu(),this.options.length>0&&!this.options[0].fullpath&&this.formatoptions(this.options,""),this.i18n&&this.i18n.messages){var t=this.i18n.messages;object.keys(t).foreach((function(n){e.$i18n.mergelocalemessage(n,t[n])}))}},watch:{options:function(e){e.length>0&&!e[0].fullpath&&this.formatoptions(this.options,"")},i18n:function(e){var t=this;if(e&&e.messages){var n=this.i18n.messages;object.keys(n).foreach((function(e){t.$i18n.mergelocalemessage(e,n[e])}))}},collapsed:function(e){e?(this.cachedopenkeys=this.sopenkeys,this.sopenkeys=[]):this.sopenkeys=this.cachedopenkeys},$route:function(){this.updatemenu()},sopenkeys:function(e){this.$emit("openchange",e),this.$emit("update:openkeys",e)}},methods:{rendericon:function(e,t,n){if(this.$scopedslots.icon&&t&&"none"!==t){var a=this.$scopedslots.icon({icon:t,key:n});return a.foreach((function(e){e.data.class=e.data.class?e.data.class:[],e.data.class.push("anticon")})),a}return t&&"none"!=t?e(c["a"],{props:{type:t}}):null},rendermenuitem:function(e,t){var n="router-link",a=_(t.fullpath,t.meta.params),i={props:{to:{path:a,query:t.meta.query}},attrs:{style:"overflow:hidden;white-space:normal;text-overflow:clip;"}};return t.meta&&t.meta.link&&(n="a",i={attrs:{style:"overflow:hidden;white-space:normal;text-overflow:clip;",href:t.meta.link,target:"_blank"}}),e(p,{key:t.fullpath},[e(n,i,[this.rendericon(e,t.meta?t.meta.icon:"none",t.fullpath),this.$t(object(j["b"])(t.fullpath))])])},rendersubmenu:function(e,t){var n=this,a=[e("span",{slot:"title",attrs:{style:"overflow:hidden;white-space:normal;text-overflow:clip;"}},[this.rendericon(e,t.meta?t.meta.icon:"none",t.fullpath),this.$t(object(j["b"])(t.fullpath))])],i=[];return t.children.foreach((function(t){i.push(n.renderitem(e,t))})),e(s,{key:t.fullpath},a.concat(i))},renderitem:function(e,t){var n=t.meta;if(!n||!n.invisible){var a=!1,i=t.children;if(void 0!=i)for(var r=0;r-1&&(this.values=this.values.filter((function(t){return t!=e.value})))}},render:function(e){var t=e("div",{attrs:{style:"clear: both"}});return e("div",{},[this.$slots.default,t])}}),re={name:"colorcheckbox",group:ie,props:{color:{type:string,required:!0},value:{type:[string,number],required:!0},checked:{type:boolean,required:!1,default:!1}},data:function(){return{schecked:this.initchecked()}},computed:{},inject:["groupcontext"],watch:{schecked:function(){var e={value:this.value,color:this.color,checked:this.schecked};this.$emit("change",e);var t=this.groupcontext;t&&t.handlechange(e)}},created:function(){var e=this.groupcontext;e&&e.options.push(this)},methods:{toggle:function(){!this.groupcontext.multiple&&this.schecked||(this.schecked=!this.schecked)},initchecked:function(){var e=this.groupcontext;return e?e.multiple?e.defaultvalues.indexof(this.value)>-1:e.defaultvalues[0]==this.value:this.checked}}},oe=re,se=(n("a91d"),object(b["a"])(oe,ne,ae,!1,null,"879ba2f2",null)),ce=se.exports,ue=function(){var e=this,t=e.$createelement,n=e._self._c||t;return n("a-tooltip",{attrs:{title:e.title,overlaystyle:{zindex:2001}}},[n("div",{staticclass:"img-check-box",on:{click:e.toggle}},[n("img",{attrs:{src:e.img}}),e.schecked?n("div",{staticclass:"check-item"},[n("a-icon",{attrs:{type:"check"}})],1):e._e()])])},le=[],de={name:"imgcheckboxgroup",props:{multiple:{type:boolean,required:!1,default:!1},defaultvalues:{type:array,required:!1,default:function(){return[]}}},data:function(){return{values:[],options:[]}},provide:function(){return{groupcontext:this}},watch:{values:function(e){this.$emit("change",e)}},methods:{handlechange:function(e){e.checked?this.multiple?this.values.push(e.value):(this.values=[e.value],this.options.foreach((function(t){t.value!=e.value&&(t.schecked=!1)}))):this.values.indexof(e.value)>-1&&(this.values=this.values.filter((function(t){return t!=e.value})))}},render:function(e){return e("div",{attrs:{style:"display: flex"}},[this.$slots.default])}},he={name:"imgcheckbox",group:de,props:{checked:{type:boolean,required:!1,default:!1},img:{type:string,required:!0},value:{required:!0},title:string},data:function(){return{schecked:this.initchecked()}},inject:["groupcontext"],watch:{schecked:function(){var e={value:this.value,checked:this.schecked};this.$emit("change",e);var t=this.groupcontext;t&&t.handlechange(e)}},created:function(){var e=this.groupcontext;e&&(this.schecked=e.defaultvalues.length>0?e.defaultvalues.indexof(this.value)>=0:this.schecked,e.options.push(this))},methods:{toggle:function(){!this.groupcontext.multiple&&this.schecked||(this.schecked=!this.schecked)},initchecked:function(){var e=this.groupcontext;return e?e.multiple?e.defaultvalues.indexof(this.value)>-1:e.defaultvalues[0]==this.value:this.checked}}},fe=he,me=(n("cc7c"),object(b["a"])(fe,ue,le,!1,null,"cc22717c",null)),pe=me.exports,ge=n("b311"),be=n.n(ge),ve=n("7878"),ye=n("6364"),ke=n("a078"),xe=n.n(ke),ce=n("3c4e"),oe=n.n(ce),we=ce.group,je=pe.group,pe={name:"setting",i18n:n("d87f"),components:{imgcheckboxgroup:je,imgcheckbox:pe,colorcheckboxgroup:we,colorcheckbox:ce,settingitem:te},data:function(){return{copyconfig:"sorry, you have copied nothing o(∩_∩)o~",isdev:!1}},computed:object(r["a"])({directions:function(){var e=this;return this.animates.find((function(t){return t.name==e.animate.name})).directions}},object(f["d"])("setting",["theme","layout","animate","animates","palettes","multipage","weekmode","fixedheader","fixedsidebar","hidesetting","pagewidth"])),watch:{"animate.name":function(e){this.setanimate({name:e,direction:this.directions[0]})}},methods:object(r["a"])({getpopupcontainer:function(){return this.$el.parentnode},copycode:function(){var e=this,t=this.extractconfig(!1);this.copyconfig="// 自定义配置,参考 ./default/setting.config.js,需要自定义的属性在这里配置即可\n module.exports = ".concat(object(ve["formatconfig"])(t),"\n ");var n=new be.a("#copybtn");n.on("success",(function(){e.$message.success("复制成功,覆盖文件 src/config/config.js 然后重启项目即可生效").then((function(){var t=localstorage.getitem("admin.setting");t&&e.$message.warn("检测到本地有历史保存的主题配置,想要要拷贝的配置代码生效,您可能需要先重置配置",5)})),n.destroy()}))},savesetting:function(){var e=this.$message.loading("正在保存到本地,请稍后...",0),t=this.extractconfig(!0);localstorage.setitem("admin.setting",json.stringify(t)),settimeout(e,800)},resetsetting:function(){this.$confirm({title:"重置主题会刷新页面,当前页面内容不会保留,确认重置?",onok:function(){localstorage.removeitem("admin.setting"),window.location.reload()}})},extractconfig:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={},n=this.$store.state.setting,a=e?oe()(ye["setting"],xe.a):ye["setting"];return object.keys(n).foreach((function(e){var i=a[e],r=n[e];void 0==i||w()(i,r)||(t[e]=r)})),t}},object(f["c"])("setting",["settheme","setlayout","setmultipage","setweekmode","setfixedsidebar","setfixedheader","setanimate","sethidesetting","setpagewidth"]))},se=pe,_e=(n("d575"),object(b["a"])(se,g,v,!1,null,"1a7f690d",null)),$e=_e.exports,le={name:"adminlayout",components:{setting:$e,sidemenu:j,drawer:k,pagefooter:h["a"],adminheader:a},data:function(){return{minheight:window.innerheight-64-122,collapsed:!1,showsetting:!1,draweropen:!1}},provide:function(){return{adminlayout:this}},watch:{$route:function(e){this.setactivated(e)},layout:function(){this.setactivated(this.$route)},ismobile:function(e){e||(this.draweropen=!1)}},computed:object(r["a"])(object(r["a"])(object(r["a"])({},object(f["d"])("setting",["ismobile","theme","layout","footerlinks","copyright","fixedheader","fixedsidebar","fixedtabs","hidesetting","multipage"])),object(f["b"])("setting",["firstmenu","submenu","menudata"])),{},{sidemenuwidth:function(){return this.collapsed?"80px":"256px"},headerstyle:function(){var e=this.fixedheader&&"head"!==this.layout&&!this.ismobile?"calc(100% - ".concat(this.sidemenuwidth,")"):"100%",t=this.fixedheader?"fixed":"static";return"width: ".concat(e,"; position: ").concat(t,";")},headmenudata:function(){var e=this.layout,t=this.menudata,n=this.firstmenu;return"mix"===e?n:t},sidemenudata:function(){var e=this.layout,t=this.menudata,n=this.submenu;return"mix"===e?n:t}}),methods:object(r["a"])(object(r["a"])({},object(f["c"])("setting",["correctpageminheight","setactivatedfirst"])),{},{togglecollapse:function(){this.collapsed=!this.collapsed},onmenuselect:function(){this.togglecollapse()},setactivated:function(e){var t=this;if("mix"===this.layout){var n=e.matched;n=n.slice(0,n.length-1);var a,i=this.firstmenu,r=object(c["a"])(i);try{var o=function(){var e=a.value;if(-1!==n.findindex((function(t){return t.path===e.fullpath})))return t.setactivatedfirst(e.fullpath),"break"};for(r.s();!(a=r.n()).done;){var s=o();if("break"===s)break}}catch(u){r.e(u)}finally{r.f()}}}}),created:function(){this.correctpageminheight(this.minheight-24),this.setactivated(this.$route)},beforedestroy:function(){this.correctpageminheight(24-this.minheight)}},te=le,me=(n("4862"),object(b["a"])(te,o,s,!1,null,"5427b4ab",null)),ee=me.exports,ae=function(){var e=this,t=e.$createelement,n=e._self._c||t;return n("a-menu",{directives:[{name:"show",rawname:"v-show",value:e.visible,expression:"visible"}],staticclass:"contextmenu",style:e.style,attrs:{selectedkeys:e.selectedkeys},on:{click:e.handleclick}},e._l(e.itemlist,(function(t){return n("a-menu-item",{key:t.key},[t.icon?n("a-icon",{attrs:{type:t.icon}}):e._e(),n("span",[e._v(e._s(t.text))])],1)})),1)},he=[],ie={name:"contextmenu",props:{visible:{type:boolean,required:!1,default:!1},itemlist:{type:array,required:!0,default:function(){return[]}}},data:function(){return{left:0,top:0,target:null,meta:null,selectedkeys:[]}},computed:{style:function(){return{left:this.left+"px",top:this.top+"px"}}},created:function(){window.addeventlistener("click",this.closemenu),window.addeventlistener("contextmenu",this.setposition)},beforedestroy:function(){window.removeeventlistener("click",this.closemenu),window.removeeventlistener("contextmenu",this.setposition)},methods:{closemenu:function(){this.$emit("update:visible",!1)},setposition:function(e){this.left=e.clientx,this.top=e.clienty,this.target=e.target,this.meta=e.meta},handleclick:function(e){var t=e.key;this.$emit("select",t,this.target,this.meta),this.closemenu()}}},ne=ie,re=(n("e9ba"),object(b["a"])(ne,ae,he,!1,null,"bd7cda2a",null)),be=re.exports,de=n("7664"),ke=n("ca00"),qe=[string,regexp,array];function we(e,t){if(array.isarray(e)){if(e.indexof(t)>-1)return!0;var n,a=object(c["a"])(e);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(object(ke["c"])(i)&&i.test(t))return!0}}catch(r){a.e(r)}finally{a.f()}return!1}return"string"===typeof e?e.split(",").indexof(t)>-1:!!object(ke["c"])(e)&&e.test(t)}function fe(e){return e&&(e.ctor.options.name||e.tag)}function ze(e){var t=e.componentoptions,n=e.key;return null==n?t.ctor.cid+(t.tag?"::".concat(t.tag):""):n+t.ctor.cid}function ue(e){if(array.isarray(e))for(var t=0;t0){var t=this.cache,n=this.keys;e.foreach((function(e){ge(t,e,n)})),this.$emit("clear",[])}}},created:function(){this.cache=object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)ve(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){je(e,(function(e){return we(t,e)}))})),this.$watch("exclude",(function(t){je(e,(function(e){return!we(t,e)}))})),this.$watch("excludekeys",(function(t){je(e,(function(e,n){return!we(t,n)}))}))},render:function(){var e=this.$slots.default,t=ue(e),n=t&&t.componentoptions;if(n){var a=fe(n),i=ze(t),r=this.include,o=this.exclude,s=this.excludekeys;if(r&&(!a||!we(r,a))||o&&a&&we(o,a)||s&&i&&we(s,i))return t;var c=this.cache,u=this.keys,l=null==t.key?n.ctor.cid+(n.tag?"::".concat(n.tag):""):t.key+n.ctor.cid;c[l]?(t.componentinstance=c[l].componentinstance,object(ke["d"])(u,l),u.push(l)):(c[l]=t,u.push(l),this.max&&u.length>parseint(this.max)&&ve(c,u[0],u,this._vnode)),t.data.keepalive=!0}return t||e&&e[0]}},qe=function(){var e=this,t=e.$createelement,n=e._self._c||t;return n("div",{class:["tabs-head",e.layout,e.pagewidth]},[n("a-tabs",{class:["tabs-container",e.layout,e.pagewidth,{affixed:e.affixed,"fixed-header":e.fixedheader,collapsed:e.adminlayout.collapsed}],attrs:{type:"editable-card","active-key":e.active,"hide-add":!0}},[n("a-tooltip",{attrs:{slot:"tabbarextracontent",placement:"left",title:e.locktitle},slot:"tabbarextracontent"},[n("a-icon",{staticclass:"header-lock",attrs:{theme:"filled",type:e.fixedtabs?"lock":"unlock"},on:{click:e.onlockclick}})],1),e._l(e.pagelist,(function(t){return n("a-tab-pane",{key:t.path},[n("div",{staticclass:"tab",attrs:{slot:"tab"},on:{contextmenu:function(n){return e.oncontextmenu(t.path,n)}},slot:"tab"},[n("a-icon",{class:["icon-sync",{hide:t.path!==e.active&&!t.loading}],attrs:{type:t.loading?"loading":"sync"},on:{click:function(n){return e.onrefresh(t)}}}),n("div",{staticclass:"title",on:{click:function(n){return e.ontabclick(t.path)}}},[e._v(e._s(e.pagename(t)))]),t.unclose?e._e():n("a-icon",{staticclass:"icon-close",attrs:{type:"close"},on:{click:function(n){return e.onclose(t.path)}}})],1)])}))],2),e.affixed?n("div",{staticclass:"virtual-tabs"}):e._e()],1)},xe=[],ze={name:"tabshead",i18n:{messages:{cn:{lock:"点击锁定页签头",unlock:"点击解除锁定"},hk:{lock:"點擊鎖定頁簽頭",unlock:"點擊解除鎖定"},us:{lock:"click to lock the tabs head",unlock:"click to unlock"}}},props:{pagelist:array,active:string,fixed:boolean},data:function(){return{affixed:!1}},inject:["adminlayout"],created:function(){this.affixed=this.fixedtabs},computed:object(r["a"])(object(r["a"])({},object(f["d"])("setting",["layout","pagewidth","fixedheader","fixedtabs","customtitles"])),{},{locktitle:function(){return this.$t(this.fixedtabs?"unlock":"lock")}}),methods:object(r["a"])(object(r["a"])({},object(f["c"])("setting",["setfixedtabs"])),{},{onlockclick:function(){var e=this;this.setfixedtabs(!this.fixedtabs),this.fixedtabs?settimeout((function(){e.affixed=!0}),200):this.affixed=!1},ontabclick:function(e){this.active!==e&&this.$emit("change",e)},onclose:function(e){this.$emit("close",e)},onrefresh:function(e){this.$emit("refresh",e.path,e)},oncontextmenu:function(e,t){this.$emit("contextmenu",e,t)},pagename:function(e){var t=e.fullpath.split("?")[0],n=this.customtitles.find((function(e){return e.path===t}));return n&&n.title||e.title||this.$t(object(j["b"])(e.keypath))}})},et=ze,tt=(n("61b9"),object(b["a"])(et,qe,xe,!1,null,"154e2318",null)),nt=tt.exports,at={name:"tabsview",i18n:n("6dd7"),components:{tabshead:nt,pagetoggletransition:de["a"],contextmenu:be,adminlayout:ee,akeepalive:ye},data:function(){return{clearcaches:[],pagelist:[],activepage:"",menuvisible:!1,refreshing:!1,excludekeys:[]}},computed:object(r["a"])(object(r["a"])({},object(f["d"])("setting",["multipage","cachepage","animate","layout","pagewidth"])),{},{menuitemlist:function(){return[{key:"1",icon:"vertical-right",text:this.$t("closeleft")},{key:"2",icon:"vertical-left",text:this.$t("closeright")},{key:"3",icon:"close",text:this.$t("closeothers")},{key:"4",icon:"sync",text:this.$t("refresh")}]},tabsoffset:function(){return this.multipage?24:0}}),created:function(){var e,t,n=this;this.loadcacheconfig(null===(e=this.$router)||void 0===e||null===(t=e.options)||void 0===t?void 0:t.routes),this.loadcachedtabs();var a=this.$route;-1===this.pagelist.findindex((function(e){return e.path===a.path}))&&this.pagelist.push(this.createpage(a)),this.activepage=a.path,this.multipage&&(this.$nexttick((function(){n.setcachedkey(a)})),this.addlistener())},mounted:function(){this.correctpageminheight(-this.tabsoffset)},beforedestroy:function(){this.removelistener(),this.correctpageminheight(this.tabsoffset)},watch:{"$router.options.routes":function(e){this.excludekeys=[],this.loadcacheconfig(e)},$route:function(e){var t=this;this.activepage=e.path;var n=this.pagelist.find((function(t){return t.path===e.path}));this.multipage?n?n.fullpath=e.fullpath:n||this.pagelist.push(this.createpage(e)):this.pagelist=[this.createpage(e)],this.multipage&&this.$nexttick((function(){t.setcachedkey(e)}))},multipage:function(e){e?this.addlistener():(this.pagelist=[this.createpage(this.$route)],this.removelistener())},tabsoffset:function(e,t){this.correctpageminheight(t-e)}},methods:object(r["a"])({changepage:function(e){this.activepage=e;var t=this.pagelist.find((function(t){return t.path===e}));this.$router.push(t.fullpath)},remove:function(e,t){if(1===this.pagelist.length)return this.$message.warning(this.$t("warn"));var n=this.pagelist.findindex((function(t){return t.path===e}));this.clearcaches=this.pagelist.splice(n,1).map((function(e){return e.cachedkey})),t?this.$router.push(t):e===this.activepage&&(n=n>=this.pagelist.length?this.pagelist.length-1:n,this.activepage=this.pagelist[n].path,this.$router.push(this.activepage))},refresh:function(e,t){t=t||this.pagelist.find((function(t){return t.path===e})),t.loading=!0,this.clearcache(t),e===this.activepage&&this.reloadcontent((function(){return t.loading=!1}))},oncontextmenu:function(e,t){e&&(t.preventdefault(),t.meta=e,this.menuvisible=!0)},onmenuselect:function(e,t,n){switch(e){case"1":this.closeleft(n);break;case"2":this.closeright(n);break;case"3":this.closeothers(n);break;case"4":this.refresh(n);break;default:break}},closeothers:function(e){var t=this.pagelist.filter((function(t){return t.path!==e&&!t.unclose}));this.clearcaches=t.map((function(e){return e.cachedkey})),this.pagelist=this.pagelist.filter((function(e){return!t.includes(e)})),this.activepage!=e&&(this.activepage=e,this.$router.push(this.activepage))},closeleft:function(e){var t=this,n=this.pagelist.findindex((function(t){return t.path===e})),a=this.pagelist.filter((function(e,t){return tn&&!e.unclose}));this.clearcaches=a.map((function(e){return e.cachedkey})),this.pagelist=this.pagelist.filter((function(e){return!a.includes(e)})),this.pagelist.find((function(e){return e.path===t.activepage}))||(this.activepage=e,this.$router.push(this.activepage))},clearcache:function(e){e._init_=!1,this.clearcaches=[e.cachedkey]},reloadcontent:function(e){var t=this;this.refreshing=!0,settimeout((function(){t.refreshing=!1,t.$nexttick((function(){t.setcachedkey(t.$route),"function"===typeof e&&e.apply(t,[])}))}),200)},pagename:function(e){return this.$t(object(j["b"])(e.keypath))},addlistener:function(){window.addeventlistener("page:close",this.closepagelistener),window.addeventlistener("page:refresh",this.refreshpagelistener),window.addeventlistener("unload",this.unloadlistener)},removelistener:function(){window.removeeventlistener("page:close",this.closepagelistener),window.removeeventlistener("page:refresh",this.refreshpagelistener),window.removeeventlistener("unload",this.unloadlistener)},closepagelistener:function(e){var t=e.detail,n=t.closeroute,a=t.nextroute,i="string"===typeof n?n:n.path,r=i&&i.split("?")[0];this.remove(r,a)},refreshpagelistener:function(e){var t=e.detail.pagekey,n=t&&t.split("?")[0];this.refresh(n)},unloadlistener:function(){var e=this.pagelist.map((function(e){return object(r["a"])(object(r["a"])({},e),{},{_init_:!1})}));sessionstorage.setitem("admin.tabs",json.stringify(e))},createpage:function(e){return{keypath:e.matched[e.matched.length-1].path,fullpath:e.fullpath,loading:!1,path:e.path,title:e.meta&&e.meta.page&&e.meta.page.title,unclose:e.meta&&e.meta.page&&!1===e.meta.page.closable}},setcachedkey:function(e){var t=this.pagelist.find((function(t){return t.path===e.path}));if(t.unclose=e.meta&&e.meta.page&&!1===e.meta.page.closable,!t._init_){var n=this.$refs.tabcontent.$vnode;t.cachedkey=n.key+n.componentoptions.ctor.cid,t._init_=!0}},loadcachedtabs:function(){var e=sessionstorage.getitem("admin.tabs");if(e)try{var t=json.parse(e);t.length>0&&(this.pagelist=t)}catch(n){}finally{sessionstorage.removeitem("admin.tabs")}},loadcacheconfig:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.foreach((function(e){var a,i,r,o,s=null===(a=null!==(i=null===(r=e.meta)||void 0===r||null===(o=r.page)||void 0===o?void 0:o.cacheable)&&void 0!==i?i:n)||void 0===a||a;s||t.excludekeys.push(new regexp("".concat(e.path,"\\d+$"))),e.children&&t.loadcacheconfig(e.children,s)}))}},object(f["c"])("setting",["correctpageminheight"]))},it=at,rt=(n("eb5e"),object(b["a"])(it,a,i,!1,null,"19f40c24",null));t["a"]=rt.exports},bc8f:function(e,t,n){n("a15b"),n("baa5"),n("d81d"),n("fb6a"),n("b64b"),n("d3b7"),n("ac1f"),n("6062"),n("3ca3"),n("1276"),n("ddb0");var a=n("448a"),i=n("13e8"),r=n("1d73"),o=r.generate,s=n("6364"),c=s.admin,u=s.antd,l=n("f121"),d=c.theme.mode;function h(e,t){var n=t&&t==d.night?{theme:"dark"}:void 0;return o(e,n)}function f(e){var t=e&&e==d.night?{theme:"dark"}:void 0,n=u.primary,a=n.success,i=n.warning,r=n.error,s=l.theme,c=s.success,h=s.warning,f=s.error;a=a&&c,i=a&&h,r=a&&f;var m=o(a,t),p=o(i,t),g=o(r,t);return{success:m,warning:p,error:g}}function m(e,t){return t==d.night?u.primary.night.menucolors:e==u.primary.color?u.primary.dark.menucolors:[i.darken(e,.93),i.darken(e,.83),i.darken(e,.73)]}function p(e,t){var n=h(e,t),i=n[5],r=h(i,d.light),o=m(e,t),s=u.theme[t],c=object.keys(s).map((function(e){return s[e]})).map((function(e){return b(e)?e:g(e).join(",")}));c=a(new set(c));var l=[g(i).join(",")],p=f(t);return{primary:i,maincolors:n,subcolors:r,menucolors:o,contentcolors:c,rgbcolors:l,functionalcolors:p}}function g(e){if(b(e))return i.tonum3(e);var t="";v(e)?t=e.slice(5,e.length):y(e)&&(t=e.slice(6,e.lastindexof(",")));var n=t.split(","),a=parseint(n[0]),r=parseint(n[1]),o=parseint(n[2]);return[a,r,o]}function b(e){return e.length>=4&&"#"==e[0]}function v(e){return e.length>=10&&"rgb"==e.slice(0,3)}function y(e){return e.length>=13&&"rgba"==e.slice(0,4)}e.exports={ishex:b,isrgb:v,isrgba:y,tonum3:g,getantdcolors:h,getmenucolors:m,getthemetogglecolors:p,getfunctionalcolors:f}},be67:function(e,t,n){"use strict";n.r(t);var a=n("a09f"),i=n("89a5"),r=["login","root",{router:"exp404",path:"*",name:"404"},{router:"exp403",path:"/403",name:"403"}],o={routes:object(i["e"])(r,a["a"])};t["default"]=o},c24f:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return u}));n("96cf");var a=n("1da1"),i=n("b775");function r(e,t){return o.apply(this,arguments)}function o(){return o=object(a["a"])(regeneratorruntime.mark((function e(t,n){return regeneratorruntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",object(i["request"])("login/",i["method"].post,{name:t,password:n}));case 1:case"end":return e.stop()}}),e)}))),o.apply(this,arguments)}function s(){return c.apply(this,arguments)}function c(){return c=object(a["a"])(regeneratorruntime.mark((function e(){return regeneratorruntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",object(i["request"])("routes/",i["method"].get));case 1:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)}function u(){localstorage.removeitem("admin.routes"),localstorage.removeitem("admin.permissions"),localstorage.removeitem("admin.roles"),object(i["removeauthorization"])()}},c7f3:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createelement,n=e._self._c||t;return n("page-toggle-transition",{attrs:{disabled:e.animate.disabled,animate:e.animate.name,direction:e.animate.direction}},[n("router-view")],1)},i=[],r=n("5530"),o=n("7664"),s=n("2f62"),c={name:"blankview",components:{pagetoggletransition:o["a"]},computed:object(r["a"])({},object(s["d"])("setting",["multipage","animate"]))},u=c,l=n("2877"),d=object(l["a"])(u,a,i,!1,null,"788955fb",null);t["default"]=d.exports},c805:function(e,t,n){"use strict";var a=n("3d29"),i=n.n(a);i.a},c8c1:function(e,t,n){},c8c3:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createelement,n=e._self._c||t;return n("page-layout",{attrs:{desc:e.desc,linklist:e.linklist}},[this.extraimage&&!e.ismobile?n("div",{staticclass:"extraimg",attrs:{slot:"extra"},slot:"extra"},[n("img",{attrs:{src:e.extraimage}})]):e._e(),n("page-toggle-transition",{attrs:{disabled:e.animate.disabled,animate:e.animate.name,direction:e.animate.direction}},[n("router-view",{ref:"page"})],1)],1)},i=[],r=n("5530"),o=n("45eb"),s=n("7664"),c=n("2f62"),u={name:"pageview",components:{pagetoggletransition:s["a"],pagelayout:o["a"]},data:function(){return{page:{}}},computed:object(r["a"])(object(r["a"])({},object(c["d"])("setting",["ismobile","multipage","animate"])),{},{desc:function(){return this.page.desc},linklist:function(){return this.page.linklist},extraimage:function(){return this.page.extraimage}}),mounted:function(){this.page=this.$refs.page},updated:function(){this.page=this.$refs.page}},l=u,d=(n("c805"),n("2877")),h=object(d["a"])(l,a,i,!1,null,"63f3060e",null);t["default"]=h.exports},ca00:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return c}));n("c975"),n("a434"),n("d3b7"),n("25f0");var a=n("8e95"),i=n.n(a);function r(e){return void 0!==e&&null!==e}function o(e,t){if(e.length){var n=e.indexof(t);if(n>-1)return e.splice(n,1)}}function s(e){return"[object regexp]"===u.call(e)}function c(e){var t={match:function(){e&&e(!0)},unmatch:function(){e&&e(!1)}};i.a.register("only screen and (max-width: 767.99px)",t)}var u=object.prototype.tostring},cc7c:function(e,t,n){"use strict";var a=n("6b65"),i=n.n(a);i.a},d55d:function(e,t,n){},d575:function(e,t,n){"use strict";var a=n("63f6"),i=n.n(a);i.a},d698:function(e,t,n){},d87f:function(e,t){e.exports={messages:{cn:{theme:{title:"整体风格设置",light:"亮色菜单风格",dark:"暗色菜单风格",night:"深夜模式",color:"主题色"},navigate:{title:"导航设置",side:"侧边导航",head:"顶部导航",mix:"混合导航",content:{title:"内容区域宽度",fluid:"流式",fixed:"定宽"},fixedheader:"固定header",fixedsidebar:"固定侧边栏"},other:{title:"其他设置",weekmode:"色弱模式",multipages:"多页签模式",hidesetting:"隐藏设置抽屉"},animate:{title:"页面切换动画",disable:"禁用动画",effect:"动画效果",direction:"动画方向"},alert:"拷贝配置后,直接覆盖文件 src/config/config.js 中的全部内容,然后重启即可。(注意:仅会拷贝与默认配置不同的项)",copy:"拷贝配置",save:"保存配置",reset:"重置配置"},hk:{theme:{title:"整體風格設置",light:"亮色菜單風格",dark:"暗色菜單風格",night:"深夜模式",color:"主題色"},navigate:{title:"導航設置",side:"側邊導航",head:"頂部導航",content:{title:"內容區域寬度",fluid:"流式",fixed:"定寬"},fixedheader:"固定header",fixedsidebar:"固定側邊欄"},other:{title:"其他設置",weekmode:"色弱模式",multipages:"多頁簽模式",hidesetting:"隱藏設置抽屜"},animate:{title:"頁面切換動畫",disable:"禁用動畫",effect:"動畫效果",direction:"動畫方向"},alert:"拷貝配置后,直接覆蓋文件 src/config/config.js 中的全部內容,然後重啟即可。(注意:僅會拷貝與默認配置不同的項)",copy:"拷貝配置",save:"保存配置",reset:"重置配置"},us:{theme:{title:"page style setting",light:"light style",dark:"dark style",night:"night style",color:"theme color"},navigate:{title:"navigation mode",side:"side menu layout",head:"top menu layout",mix:"mix menu layout",content:{title:"content width",fluid:"fluid",fixed:"fixed"},fixedheader:"fixed header",fixedsidebar:"fixed sidebar"},other:{title:"other setting",weekmode:"week mode",multipages:"multi pages",hidesetting:"hide setting drawer"},animate:{title:"page toggle animation",disable:"disable",effect:"effect",direction:"direction"},alert:"after copying the configuration code, directly cover all contents in the file src/config/config.js, then restart the server. (note: only items that are different from the default configuration will be copied)",copy:"copy setting",save:"save",reset:"reset"}}}},e1a0:function(e,t){var n={primary:{color:"#1890ff",warning:"#faad14",success:"#52c41a",error:"#f5222d",light:{menucolors:["#000c17","#001529","#002140"]},dark:{menucolors:["#000c17","#001529","#002140"]},night:{menucolors:["#151515","#1f1f1f","#1e1e1e"]}},theme:{dark:{"layout-body-background":"#f0f2f5","body-background":"#fff","component-background":"#fff","heading-color":"rgba(0, 0, 0, 0.85)","text-color":"rgba(0, 0, 0, 0.65)","text-color-inverse":"#fff","text-color-secondary":"rgba(0, 0, 0, 0.45)","shadow-color":"rgba(0, 0, 0, 0.15)","border-color-split":"#f0f0f0","background-color-light":"#fafafa","background-color-base":"#f5f5f5","table-selected-row-bg":"#fafafa","table-expanded-row-bg":"#fbfbfb","checkbox-check-color":"#fff","disabled-color":"rgba(0, 0, 0, 0.25)","menu-dark-color":"rgba(254, 254, 254, 0.65)","menu-dark-highlight-color":"#fefefe","menu-dark-arrow-color":"#fefefe","btn-primary-color":"#fff"},light:{"layout-body-background":"#f0f2f5","body-background":"#fff","component-background":"#fff","heading-color":"rgba(0, 0, 0, 0.85)","text-color":"rgba(0, 0, 0, 0.65)","text-color-inverse":"#fff","text-color-secondary":"rgba(0, 0, 0, 0.45)","shadow-color":"rgba(0, 0, 0, 0.15)","border-color-split":"#f0f0f0","background-color-light":"#fafafa","background-color-base":"#f5f5f5","table-selected-row-bg":"#fafafa","table-expanded-row-bg":"#fbfbfb","checkbox-check-color":"#fff","disabled-color":"rgba(0, 0, 0, 0.25)","menu-dark-color":"rgba(1, 1, 1, 0.65)","menu-dark-highlight-color":"#fefefe","menu-dark-arrow-color":"#fefefe","btn-primary-color":"#fff"},night:{"layout-body-background":"#000","body-background":"#141414","component-background":"#141414","heading-color":"rgba(255, 255, 255, 0.85)","text-color":"rgba(255, 255, 255, 0.85)","text-color-inverse":"#141414","text-color-secondary":"rgba(255, 255, 255, 0.45)","shadow-color":"rgba(255, 255, 255, 0.15)","border-color-split":"#303030","background-color-light":"#ffffff0a","background-color-base":"#2a2a2a","table-selected-row-bg":"#ffffff0a","table-expanded-row-bg":"#ffffff0b","checkbox-check-color":"#141414","disabled-color":"rgba(255, 255, 255, 0.25)","menu-dark-color":"rgba(254, 254, 254, 0.65)","menu-dark-highlight-color":"#fefefe","menu-dark-arrow-color":"#fefefe","btn-primary-color":"#141414"}}};e.exports=n},e20c:function(e,t,n){},e9ba:function(e,t,n){"use strict";var a=n("99ce"),i=n.n(a);i.a},eb5e:function(e,t,n){"use strict";var a=n("d698"),i=n.n(a);i.a},f121:function(e,t,n){var a=n("3c4e"),i=n("a078"),r=n("6364"),o=r.setting,s=a(o,i);e.exports=s},f35e:function(e,t,n){"use strict";var a=n("7143"),i=n.n(a);i.a},f826:function(e,t,n){},fbf2:function(e,t,n){"use strict";var a=n("f826"),i=n.n(a);i.a},fc32:function(e,t,n){"use strict";var a=n("1ff8"),i=n.n(a);i.a},fcaa:function(e,t){e.exports={lang:"cn",theme:{color:"#1890ff",mode:"dark",success:"#52c41a",warning:"#faad14",error:"#f5222f"},layout:"side",fixedheader:!1,fixedsidebar:!0,fixedtabs:!1,pagewidth:"fixed",weekmode:!1,multipage:!1,cachepage:!0,hidesetting:!1,systemname:"后台管理系统",asyncroutes:!1,showpagetitle:!0,filtermenu:!0,animate:{disabled:!1,name:"bounce",direction:"left"}}}});