(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7f50406f"],{"01c0":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("CHeader",{attrs:{fixed:"","with-subheader":"",light:""}},[a("CToggler",{staticClass:"ml-3 d-lg-none",attrs:{"in-header":""},on:{click:function(t){return e.$store.commit("toggleSidebarMobile")}}}),a("CToggler",{staticClass:"ml-3 d-md-down-none",attrs:{"in-header":""},on:{click:function(t){return e.$store.commit("toggleSidebarDesktop")}}}),a("CHeaderBrand",{staticClass:"mx-auto d-lg-none",attrs:{to:"/"}},[a("h3",[e._v("慕测实验室管理平台")])]),a("CHeaderNav",{staticClass:"d-md-down-none mr-auto"}),a("CHeaderNav",{staticClass:"mr-4"},[a("TheHeaderDropdownAccnt")],1)],1)},r=[],o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("CDropdown",{staticClass:"c-header-nav-items",attrs:{inNav:"",placement:"bottom-end","add-menu-classes":"pt-0"},scopedSlots:e._u([{key:"toggler",fn:function(){return[a("CHeaderNavLink",[a("div",{staticClass:"c-avatar"},[a("el-button",{staticStyle:{"margin-right":"60px"}},[a("CIcon",{attrs:{name:"cil-user"}}),e._v(e._s(e.userName))],1)],1)])]},proxy:!0}])},[a("CDropdownHeader",{staticClass:"text-center",attrs:{tag:"div",color:"light"}},[a("strong",[e._v("设置")])]),a("CDropdownItem",{on:{click:e.jumpToAccountSetting}},[a("CIcon",{attrs:{name:"cil-user"}}),e._v(" 账号设置 ")],1),e.checkPerm("CREATE")?a("CDropdownItem",{on:{click:e.jumpToUserManager}},[a("CIcon",{attrs:{name:"cil-user"}}),e._v(" 用户管理 ")],1):e._e(),a("CDropdownDivider"),a("CDropdownItem",{on:{click:e.logOut}},[a("CIcon",{attrs:{name:"cil-lock-locked"}}),e._v(" 登出 ")],1)],1)},i=[],s=a("e350"),c={name:"TheHeaderDropdownAccnt",data:function(){return{itemsCount:42,userName:""}},mounted:function(){this.userName=localStorage.getItem("userName")},methods:{checkPerm:function(e){return Object(s["a"])(localStorage.getItem("identity"),e)},jumpToAccountSetting:function(){this.$router.push("/accountSetting")},jumpToUserManager:function(){this.$router.push("/userManage")},logOut:function(){localStorage.clear(),this.$router.push("/pages/login")}}},l=c,u=(a("eab8"),a("2877")),d=Object(u["a"])(l,o,i,!1,null,"a36641b0",null),m=d.exports,C={name:"TheHeader",components:{TheHeaderDropdownAccnt:m}},f=C,h=Object(u["a"])(f,n,r,!1,null,null,null);t["a"]=h.exports},"0932":function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("CFooter",{attrs:{fixed:!1}},[a("div"),a("div",{staticClass:"mfs-auto"})])},r=[],o={name:"TheFooter"},i=o,s=a("2877"),c=Object(s["a"])(i,n,r,!1,null,null,null);t["a"]=c.exports},de67:function(e,t,a){},e2f9:function(e,t,a){},e350:function(e,t,a){"use strict";function n(e,t){var a=r[e];return a.includes(t)}a.d(t,"a",(function(){return n}));var r=[["CHECK","EDIT","DELETE","CREATE","EXECUTE","DELETE","CONFIRM","EXPORT"],["CHECK","EDIT","DELETE","CREATE","EXECUTE","DELETE","CONFIRM","EXPORT"],["CHECK","EXECUTE"]]},e87f:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"c-app"},[a("TheSidebar"),a("CWrapper",[a("TheHeader"),a("div",{staticClass:"c-body"},[a("main",{staticClass:"c-main"},[a("CContainer",{attrs:{fluid:""}},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{key:e.$route.path})],1)],1)],1)]),a("TheFooter")],1)],1)},r=[],o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("CSidebar",{attrs:{fixed:"",minimize:e.minimize,show:e.show},on:{"update:show":function(t){return e.$store.commit("set",["sidebarShow",t])}}},[a("CSidebarBrand",{staticClass:"d-md-down-none",staticStyle:{position:"relative",opacity:"1"},attrs:{to:"/dashboard"}},[a("img",{staticStyle:{width:"100%"},attrs:{src:"/logo.jpg",alt:""}})]),a("CRenderFunction",{attrs:{flat:"","content-to-render":e.$options.nav}}),a("CSidebarMinimizer",{staticClass:"d-md-down-none",nativeOn:{click:function(t){return e.$store.commit("set",["sidebarMinimize",!e.minimize])}}})],1)},i=[],s=[{_name:"CSidebarNav",_children:[{_name:"CSidebarNavItem",name:"返回项目列表",to:"/softwares",icon:{name:"cil-chevron-top",class:"text-white"}},{_name:"CSidebarNavTitle",_children:["项目"]},{_name:"CSidebarNavItem",name:"项目概况",to:"/softwareDetail/"+localStorage.getItem("softwareId"),icon:"cil-drop"},{_name:"CSidebarNavItem",name:"测试计划",to:"/softwareTestPlan/"+localStorage.getItem("softwareId"),icon:"cil-pencil"},{_name:"CSidebarNavItem",name:"测试任务",to:"/softwareTestTask/"+localStorage.getItem("softwareId"),icon:"cil-bell"},{_name:"CSidebarNavItem",name:"不合格项",to:"/softwareTestNoPass/"+localStorage.getItem("softwareId"),icon:"cil-ban"}]}],c={name:"TheSidebar2",nav:s,computed:{show:function(){return this.$store.state.sidebarShow},minimize:function(){return this.$store.state.sidebarMinimize}}},l=c,u=a("2877"),d=Object(u["a"])(l,o,i,!1,null,null,null),m=d.exports,C=a("01c0"),f=a("0932"),h={name:"TheContainer2",components:{TheSidebar:m,TheHeader:C["a"],TheFooter:f["a"]}},p=h,g=(a("f9fb"),Object(u["a"])(p,n,r,!1,null,"71964fb9",null));t["default"]=g.exports},eab8:function(e,t,a){"use strict";a("de67")},f9fb:function(e,t,a){"use strict";a("e2f9")}}]);