1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-457fc716"],{"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("LIMS-实验室管理系统")])]),a("CHeaderNav",{staticClass:"d-md-down-none mr-auto"}),a("CHeaderNav",{staticClass:"mr-4"},[a("TheHeaderDropdownAccnt")],1)],1)},o=[],r=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),a("CDropdownDivider"),a("CDropdownItem",{on:{click:e.logOut}},[a("CIcon",{attrs:{name:"cil-lock-locked"}}),e._v(" 登出 ")],1)],1)},i=[],s={name:"TheHeaderDropdownAccnt",data:function(){return{itemsCount:42,userName:""}},mounted:function(){this.userName=localStorage.getItem("userName")},methods:{jumpToAccountSetting:function(){this.$router.push("/accountSetting")},logOut:function(){localStorage.clear(),this.$router.push("/pages/login")}}},c=s,l=(a("0b4f"),a("2877")),d=Object(l["a"])(c,r,i,!1,null,"75bbe00c",null),u=d.exports,m={name:"TheHeader",components:{TheHeaderDropdownAccnt:u}},f=m,h=Object(l["a"])(f,n,o,!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("span",[e._v(e._s(this.$global.tagging))]),a("span",{staticClass:"ml-1"},[e._v("© "+e._s((new Date).getFullYear())+" ")])]),a("div",{staticClass:"mfs-auto"})])},o=[],r={name:"TheFooter"},i=r,s=a("2877"),c=Object(s["a"])(i,n,o,!1,null,null,null);t["a"]=c.exports},"0b4f":function(e,t,a){"use strict";a("e20f")},e20f:function(e,t,a){},e2f9:function(e,t,a){},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)},o=[],r=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",attrs:{to:"/dashboard"}},[a("h5",[e._v("L I M S")])]),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,d=a("2877"),u=Object(d["a"])(l,r,i,!1,null,null,null),m=u.exports,f=a("01c0"),h=a("0932"),C={name:"TheContainer2",components:{TheSidebar:m,TheHeader:f["a"],TheFooter:h["a"]}},p=C,b=(a("f9fb"),Object(d["a"])(p,n,o,!1,null,"71964fb9",null));t["default"]=b.exports},f9fb:function(e,t,a){"use strict";a("e2f9")}}]);
|