(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-fbee58cc"],{"0a43":function(e,t,l){"use strict";l("fbf8")},"2f17":function(e,t,l){"use strict";l("40fd")},"40fd":function(e,t,l){},"4a98":function(e,t,l){"use strict";l("8599")},"5d9b":function(e,t,l){"use strict";var n=l("7a23");const c={class:"vol-el-menu"};function o(e,t,l,o,a,r){const i=Object(n["resolveComponent"])("vol-element-menu-child"),s=Object(n["resolveComponent"])("el-submenu"),d=Object(n["resolveComponent"])("el-menu-item"),b=Object(n["resolveComponent"])("el-menu");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",c,[Object(n["createVNode"])(b,{close:"vol-el-menu--vertical","unique-opened":!0,onSelect:e.select,collapse:e.isCollapse,"active-text-color":"#ffff",onOpen:e.handleOpen,onClose:e.handleClose},{default:Object(n["withCtx"])(()=>[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(e.convertTree(e.list),t=>(Object(n["openBlock"])(),Object(n["createElementBlock"])(n["Fragment"],null,[!t.children.length||e.enable&&1!=t.enable?(Object(n["openBlock"])(),Object(n["createElementBlock"])(n["Fragment"],{key:1},[e.enable&&1!=t.enable?Object(n["createCommentVNode"])("",!0):(Object(n["openBlock"])(),Object(n["createBlock"])(d,{class:"menu-item-lv1",key:t.id,index:""+t.id},{default:Object(n["withCtx"])(()=>[Object(n["createElementVNode"])("i",{class:Object(n["normalizeClass"])(t.icon)},null,2),Object(n["createElementVNode"])("span",null,Object(n["toDisplayString"])(t.name),1)]),_:2},1032,["index"]))],64)):(Object(n["openBlock"])(),Object(n["createBlock"])(s,{key:t.id,index:""+t.id},{title:Object(n["withCtx"])(()=>[Object(n["createElementVNode"])("i",{class:Object(n["normalizeClass"])(t.icon)},null,2),Object(n["createElementVNode"])("span",null,Object(n["toDisplayString"])(t.name),1)]),default:Object(n["withCtx"])(()=>[Object(n["createVNode"])(i,{enable:e.enable,list:t.children},null,8,["enable","list"])]),_:2},1032,["index"]))],64))),256))]),_:1},8,["onSelect","collapse","onOpen","onClose"])])}l("14d9");const a={class:"vol-el-menu-item"};function r(e,t,l,c,o,r){const i=Object(n["resolveComponent"])("el-menu-item"),s=Object(n["resolveComponent"])("vol-element-menu-child",!0),d=Object(n["resolveComponent"])("el-submenu");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",a,[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(l.list,e=>(Object(n["openBlock"])(),Object(n["createElementBlock"])(n["Fragment"],null,[e.children&&e.children.length?(Object(n["openBlock"])(),Object(n["createElementBlock"])(n["Fragment"],{key:0},[e.children.length||l.enable&&1!=e.enable?Object(n["createCommentVNode"])("",!0):(Object(n["openBlock"])(),Object(n["createBlock"])(i,{key:e.id,index:""+e.id},{title:Object(n["withCtx"])(()=>[]),default:Object(n["withCtx"])(()=>[Object(n["createElementVNode"])("span",null,Object(n["toDisplayString"])(e.name),1)]),_:2},1032,["index"])),!e.children.length||l.enable&&1!=e.enable?Object(n["createCommentVNode"])("",!0):(Object(n["openBlock"])(),Object(n["createBlock"])(d,{key:e.id,index:""+e.id},{title:Object(n["withCtx"])(()=>[Object(n["createElementVNode"])("span",null,Object(n["toDisplayString"])(e.name),1)]),default:Object(n["withCtx"])(()=>[Object(n["createVNode"])(s,{list:e.children},null,8,["list"])]),_:2},1032,["index"]))],64)):(Object(n["openBlock"])(),Object(n["createElementBlock"])(n["Fragment"],{key:1},[l.enable&&1!=e.enable?Object(n["createCommentVNode"])("",!0):(Object(n["openBlock"])(),Object(n["createBlock"])(i,{key:e.id,index:""+e.id},{title:Object(n["withCtx"])(()=>[]),default:Object(n["withCtx"])(()=>[Object(n["createElementVNode"])("span",null,Object(n["toDisplayString"])(e.name),1)]),_:2},1032,["index"]))],64))],64))),256))])}var i={name:"vol-element-menu-child",props:{list:{type:Array,default:[]},enable:{type:Boolean,default:!1}}},s=(l("0a43"),l("d959")),d=l.n(s);const b=d()(i,[["render",r],["__scopeId","data-v-a3fc56d2"]]);var u=b,m=l("6605"),p=Object(n["defineComponent"])({components:{"vol-element-menu-child":u},props:{enable:{type:Boolean,default:!1},isCollapse:{type:Boolean,default:!1},onSelect:{type:Function,default:e=>{}},openSelect:{type:Boolean,default:!0},list:{type:Array,default:[]},rootId:{type:String,default:"0"}},setup(e){const t=(e,l,n)=>{l.children||(l.children=[]),n.forEach(c=>{c.parentId!=e||l.children.some(e=>e.id===c.id)||(l.children.push(c),t(c.id,c,n))})};let l=isNaN(e.rootId)?e.rootId:~~e.rootId;e.list.forEach(e=>{e.icon&&"el-"==e.icon.substring(0,3)||(e.icon="el-icon-menu"),e.children=[],e.isRoot=e.parentId===l});const n=e=>{var n=[];return e.forEach(c=>{c.parentId===l&&(c.hasOwnProperty("enable")||(c.enable=1),n.push(c),t(c.id,c,e))}),n},c=Object(m["c"])(),o=(t,l)=>{let n=e.list.find(e=>e.id==t);e.onSelect(t,n),c.push({path:n.path||""})},a=(t,l)=>{e.openSelect&&o(t,l)},r=()=>{};return{select:o,convertTree:n,handleOpen:a,handleClose:r}}});l("b550");const O=d()(p,[["render",o],["__scopeId","data-v-24fb261b"]]);t["a"]=O},7552:function(e,t,l){"use strict";l("ce3d")},"842b":function(e,t,l){"use strict";l("de8c")},8599:function(e,t,l){},a48b:function(e,t,l){},b550:function(e,t,l){"use strict";l("a48b")},c76c:function(e,t,l){e.exports=l.p+"img/wcs_logo.a2e26a60.png"},ce3d:function(e,t,l){},d504:function(e,t,l){"use strict";l.r(t);var n=l("7a23");const c=e=>(Object(n["pushScopeId"])("data-v-759eaba0"),e=e(),Object(n["popScopeId"])(),e),o=["src"],a={class:"vol-menu"},r={class:"vol-header"},i=c(()=>Object(n["createElementVNode"])("span",{class:"header-text"},"EVE_WCS",-1)),s={class:"header-info"},d={class:"h-link"},b=["onClick"],u=["src","onerror"],m={class:"user"},p=c(()=>Object(n["createElementVNode"])("br",null,null,-1)),O=c(()=>Object(n["createElementVNode"])("span",{id:"index-date"},null,-1)),j={class:"settings"},v={class:"vol-path"},h={class:"vol-main",id:"vol-main"},f={class:"theme-selector"},g=["onClick"],k=c(()=>Object(n["createElementVNode"])("div",{class:"t-right"},null,-1));function C(e,t,l,c,C,V){const N=Object(n["resolveComponent"])("VolMenu"),y=Object(n["resolveComponent"])("el-scrollbar"),E=Object(n["resolveComponent"])("el-tab-pane"),B=Object(n["resolveComponent"])("el-tabs"),w=Object(n["resolveComponent"])("loading"),x=Object(n["resolveComponent"])("router-view"),I=Object(n["resolveComponent"])("el-drawer");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{id:"vol-container",class:Object(n["normalizeClass"])(["vol-theme-"+e.theme])},[Object(n["createElementVNode"])("div",{class:"vol-aside",style:Object(n["normalizeStyle"])({width:e.menuWidth+"px"})},[Object(n["createElementVNode"])("div",{class:"header",style:Object(n["normalizeStyle"])({width:e.menuWidth-1+"px"})},[Object(n["withDirectives"])(Object(n["createElementVNode"])("img",{src:e.logo},null,8,o),[[n["vShow"],!e.isCollapse]]),Object(n["createElementVNode"])("i",{onClick:t[0]||(t[0]=(...t)=>e.toggleLeft&&e.toggleLeft(...t)),class:"el-icon-s-fold collapse-menu"})],4),Object(n["createElementVNode"])("div",a,[Object(n["createVNode"])(y,{style:{height:"100%"}},{default:Object(n["withCtx"])(()=>[Object(n["createVNode"])(N,{"on-select":e.onSelect,enable:!0,"open-select":!1,isCollapse:e.isCollapse,list:e.menuOptions},null,8,["on-select","isCollapse","list"])]),_:1})])],4),Object(n["createElementVNode"])("div",{class:"vol-container",style:Object(n["normalizeStyle"])({left:e.menuWidth-1+"px"})},[Object(n["createElementVNode"])("div",r,[i,Object(n["createElementVNode"])("div",s,[Object(n["createElementVNode"])("div",d,[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(e.links,(t,l)=>(Object(n["openBlock"])(),Object(n["createElementBlock"])("a",{href:"javascript:void(0)",onClick:l=>e.to(t),key:l,class:Object(n["normalizeClass"])({actived:e.selectId==t.id})},Object(n["toDisplayString"])(t.text),11,b))),128))]),Object(n["createElementVNode"])("div",null,[Object(n["createElementVNode"])("img",{class:"user-header",src:e.userImg,onerror:e.errorImg},null,8,u)]),Object(n["createElementVNode"])("div",m,[Object(n["createElementVNode"])("span",null,Object(n["toDisplayString"])(e.userName),1),p,O]),Object(n["createElementVNode"])("div",j,[Object(n["createElementVNode"])("i",{style:{"font-size":"20px"},class:"el-icon-s-tools",onClick:t[1]||(t[1]=t=>e.drawer_model=!0)})])])]),Object(n["createElementVNode"])("div",v,[Object(n["createVNode"])(B,{onTabClick:e.selectNav,onTabRemove:e.removeNav,type:"border-card",class:"header-navigation",modelValue:e.selectId,"onUpdate:modelValue":t[3]||(t[3]=t=>e.selectId=t)},{default:Object(n["withCtx"])(()=>[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(e.navigation,(l,c)=>(Object(n["openBlock"])(),Object(n["createBlock"])(E,{modelValue:e.selectId,"onUpdate:modelValue":t[2]||(t[2]=t=>e.selectId=t),type:"card",name:c+"",closable:c>0,key:c,class:"header-nav-item",label:l.name},null,8,["modelValue","name","closable","label"]))),128))]),_:1},8,["onTabClick","onTabRemove","modelValue"])]),Object(n["createElementVNode"])("div",h,[e.permissionInited?(Object(n["openBlock"])(),Object(n["createBlock"])(y,{key:0,style:{height:"100%"}},{default:Object(n["withCtx"])(()=>[Object(n["withDirectives"])(Object(n["createVNode"])(w,null,null,512),[[n["vShow"],e.$store.getters.isLoading()]]),!e.$route.meta||e.$route.meta&&!e.$route.meta.hasOwnProperty("keepAlive")?(Object(n["openBlock"])(),Object(n["createBlock"])(x,{key:0},{default:Object(n["withCtx"])(({Component:e})=>[(Object(n["openBlock"])(),Object(n["createBlock"])(n["KeepAlive"],null,[(Object(n["openBlock"])(),Object(n["createBlock"])(Object(n["resolveDynamicComponent"])(e)))],1024))]),_:1})):Object(n["createCommentVNode"])("",!0),e.$route.meta&&e.$route.meta.hasOwnProperty("keepAlive")?(Object(n["openBlock"])(),Object(n["createBlock"])(x,{key:1})):Object(n["createCommentVNode"])("",!0)]),_:1})):Object(n["createCommentVNode"])("",!0)])],4),Object(n["createVNode"])(I,{title:"选择主题",modelValue:e.drawer_model,"onUpdate:modelValue":t[4]||(t[4]=t=>e.drawer_model=t),direction:"rtl","destroy-on-close":""},{default:Object(n["withCtx"])(()=>[Object(n["createElementVNode"])("div",f,[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(e.theme_color,(t,l)=>(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{onClick:l=>e.changeTheme(t.name),class:"item",key:l,style:Object(n["normalizeStyle"])({background:t.color})},[Object(n["withDirectives"])(Object(n["createElementVNode"])("div",{style:Object(n["normalizeStyle"])([{background:t.leftColor},{height:"100%",width:"20px"}]),class:"t-left"},null,4),[[n["vShow"],t.leftColor]]),k],12,g))),128))])]),_:1},8,["modelValue"])],2)}l("14d9");const V=e=>(Object(n["pushScopeId"])("data-v-62dbee2c"),e=e(),Object(n["popScopeId"])(),e),N={class:"router-loading",style:{background:"#eeeeee5c"}},y=V(()=>Object(n["createElementVNode"])("div",{class:"spanner"},[Object(n["createElementVNode"])("span"),Object(n["createElementVNode"])("span"),Object(n["createElementVNode"])("span"),Object(n["createElementVNode"])("span"),Object(n["createElementVNode"])("span"),Object(n["createElementVNode"])("span"),Object(n["createElementVNode"])("span"),Object(n["createElementVNode"])("span")],-1)),E=[y];function B(e,t,l,c,o,a){return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",N,E)}var w={data(){return{}}},x=(l("7552"),l("d959")),I=l.n(x);const S=I()(w,[["render",B],["__scopeId","data-v-62dbee2c"]]);var _,D,F=S,T=l("5d9b"),z=l("6605"),L=l("4360"),M=l("c1fb"),$=l("c76c"),A=Object(n["defineComponent"])({components:{VolMenu:T["a"],loading:F},setup(e,t){const c=Object(n["ref"])(200),o=Object(n["ref"])(!1),a=Object(n["ref"])(!1),r=Object(n["ref"])([{name:"blue",color:"rgb(45, 140, 240)"},{name:"blue2",color:"rgb(45, 140, 240)",leftColor:"#0068d6"},{name:"red",color:"rgb(237, 64, 20)"},{name:"red2",color:"rgb(237, 64, 20)",leftColor:"#a90000"},{name:"dark",color:"#272929"},{name:"orange",color:"#ff9900"},{name:"orange2",color:"#ff9900",leftColor:"rgb(232 141 5)"},{name:"green",color:"rgb(25, 190, 107)"},{name:"green2",color:"rgb(25, 190, 107)",leftColor:"#019e4f"},{name:"white",color:"#fff"}]),i=Object(n["ref"])([{text:"个人中心",path:"/UserInfo",id:-1},{text:"安全退出",path:"/login",id:-4}]),s=Object(n["ref"])('this.src="'+l("731d")+'"'),d=Object(n["ref"])("0"),b=Object(n["ref"])("--"),u=Object(n["ref"])({}),m=Object(n["ref"])(""),p=Object(n["ref"])([{name:"首页",id:0,path:"/home"}]),O=Object(n["ref"])($),j=Object(n["ref"])("blue2"),v=Object(n["ref"])([]),h=Object(n["ref"])(!1);let f=Object(n["getCurrentInstance"])().appContext.config.globalProperties,g=Object(z["c"])();const k=()=>{o.value=!o.value,c.value=o.value?63:200};f.menu={show(){k()},hide(){k()}};const C=e=>{j.value!=e&&(j.value=e),localStorage.setItem("vol3_theme",e)},V=e=>{if("#"!=e.path){if(-1==e.path.indexOf("http"))return"string"==typeof e||"/login"==e.path?"/login"==e||"/login"==e.path?(L["a"].commit("clearUserInfo",""),void(window.location.href="/")):void g.push({path:e}):void("#"!=e.path&&N(e));window.open(e.path)}else window.open("https://github.com/cq-panda/Vue.NetCore")},N=(e,t)=>{let l=p.value.findIndex(t=>t.path==e.path);-1==l?(p.value.push({name:e.name||e.text||"无标题",path:e.path,query:e.query}),d.value=p.value.length-1+""):d.value=l+"",void 0===t&&(E(e),g.push(e))},y=e=>{let t=p.value.findIndex(t=>t.path==e);if(-1==t)return f.$Message.error("未找到菜单");x(t)},E=e=>{localStorage.setItem(window.location.origin+"_tabs",JSON.stringify(e))},B=()=>{let e=localStorage.getItem(window.location.origin+"_tabs");return e?JSON.parse(e):null},w=e=>{d.value=e.instance.props.name+"",g.push({path:p.value[e.index].path,query:p.value[e.index].query})},x=e=>new Promise(()=>{if(d.value==e+"")return E(p.value[e-1]),g.push({path:p.value[e-1].path}),p.value.splice(e,1),void(d.value=d.value-1+"");ev.value.find((function(t){return t.id==e})),S=e=>{var t=I(e);N(t,!1)},_=()=>{let e=localStorage.getItem("vol3_theme");e&&(j.value=e);let t=L["a"].getters.getUserInfo();t&&(b.value=t.userName,m.value=f.base.getImgSrc(t.img,M["a"].ipAddress)),Object.assign(f.$tabs,{open:N,close:y}),M["a"].get("api/menu/getTreeMenu",{},!0).then(e=>{if(e.forEach(e=>{e.path=(e.url||"").replace("/Manager",""),e.to=(e.url||"").replace("/Manager",""),e.icon&&"el-"==e.icon.substring(0,3)||(e.icon="el-icon-menu")}),L["a"].dispatch("setPermission",e),v.value=e,h.value=!0,g.currentRoute.value.path!=p.value[0].path){let e=v.value.find(e=>e.path==g.currentRoute.value.path);if(e)return S(e.id);if(e=i.value.find(e=>e.path==g.currentRoute.value.path),e||(e=B()),e)return N(e,!1)}d.value="0"})};return _(),{menuWidth:c,isCollapse:o,drawer_model:a,theme_color:r,errorImg:s,userInfo:u,userName:b,userImg:m,selectId:d,navigation:p,links:i,onSelect:S,selectNav:w,removeNav:x,logo:O,theme:j,menuOptions:v,permissionInited:h,changeTheme:C,to:V,toggleLeft:k}},mounted(){let e=P();D=document.getElementById("index-date"),D.innerText=e,_=setInterval((function(){D.innerText=P()}),1e3)},destroyed(){null,clearInterval(_)}});const q=new Array("星期一","星期二","星期三","星期四","星期五","星期六","星期日");function P(){let e=new Date,t=e.getFullYear(),l=e.getMonth()+1,n=e.getDate(),c=e.getHours(),o=e.getMinutes(),a=e.getSeconds();return t+"."+(l<10?"0"+l:l)+"."+(n<10?"0"+n:n)+" "+(c<10?"0"+c:c)+":"+(o<10?"0"+o:o)+":"+(a<10?"0"+a:a)+" "+(q[e.getDay()-1]||q[6])}l("2f17"),l("842b"),l("4a98");const R=I()(A,[["render",C],["__scopeId","data-v-759eaba0"]]);t["default"]=R},de8c:function(e,t,l){},fbf8:function(e,t,l){}}]);