chunk-42ba316b.809a0c1d.js 4.1 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-42ba316b"],{"01c0":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("CHeader",{attrs:{fixed:"","with-subheader":"",light:""}},[n("CToggler",{staticClass:"ml-3 d-lg-none",attrs:{"in-header":""},on:{click:function(e){return t.$store.commit("toggleSidebarMobile")}}}),n("CToggler",{staticClass:"ml-3 d-md-down-none",attrs:{"in-header":""},on:{click:function(e){return t.$store.commit("toggleSidebarDesktop")}}}),n("CHeaderBrand",{staticClass:"mx-auto d-lg-none",attrs:{to:"/"}},[n("h3",[t._v("LIMS-实验室管理系统")])]),n("CHeaderNav",{staticClass:"d-md-down-none mr-auto"}),n("CHeaderNav",{staticClass:"mr-4"},[n("TheHeaderDropdownAccnt")],1)],1)},r=[],o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("CDropdown",{staticClass:"c-header-nav-items",attrs:{inNav:"",placement:"bottom-end","add-menu-classes":"pt-0"},scopedSlots:t._u([{key:"toggler",fn:function(){return[n("CHeaderNavLink",[n("div",{staticClass:"c-avatar"},[n("el-button",{staticStyle:{"margin-right":"60px"}},[n("CIcon",{attrs:{name:"cil-user"}}),t._v(t._s(t.userName))],1)],1)])]},proxy:!0}])},[n("CDropdownHeader",{staticClass:"text-center",attrs:{tag:"div",color:"light"}},[n("strong",[t._v("设置")])]),n("CDropdownItem",{on:{click:t.jumpToAccountSetting}},[n("CIcon",{attrs:{name:"cil-user"}}),t._v(" 账号设置 ")],1),n("CDropdownDivider"),n("CDropdownItem",{on:{click:t.logOut}},[n("CIcon",{attrs:{name:"cil-lock-locked"}}),t._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=(n("0b4f"),n("2877")),u=Object(l["a"])(c,o,i,!1,null,"75bbe00c",null),d=u.exports,m={name:"TheHeader",components:{TheHeaderDropdownAccnt:d}},h=m,f=Object(l["a"])(h,a,r,!1,null,null,null);e["a"]=f.exports},"0932":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("CFooter",{attrs:{fixed:!1}},[n("div",[n("span",[t._v(t._s(this.$global.tagging))]),n("span",{staticClass:"ml-1"},[t._v("© "+t._s((new Date).getFullYear())+" ")])]),n("div",{staticClass:"mfs-auto"})])},r=[],o={name:"TheFooter"},i=o,s=n("2877"),c=Object(s["a"])(i,a,r,!1,null,null,null);e["a"]=c.exports},"0b4f":function(t,e,n){"use strict";n("e20f")},"3d8c":function(t,e,n){"use strict";n("da53")},"78fd":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"c-app"},[n("TheSidebar"),n("CWrapper",[n("TheHeader"),n("div",{staticClass:"c-body"},[n("main",{staticClass:"c-main"},[n("CContainer",{attrs:{fluid:""}},[n("transition",{attrs:{name:"fade",mode:"out-in"}},[n("router-view",{key:t.$route.path})],1)],1)],1)]),n("TheFooter")],1)],1)},r=[],o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("CSidebar",{attrs:{fixed:"",minimize:t.minimize,show:t.show},on:{"update:show":function(e){return t.$store.commit("set",["sidebarShow",e])}}},[n("CSidebarBrand",{staticClass:"d-md-down-none",attrs:{to:"/dashboard"}},[n("h5",[t._v("L I M S")])]),n("CRenderFunction",{attrs:{flat:"","content-to-render":t.$options.nav}}),n("CSidebarMinimizer",{staticClass:"d-md-down-none",nativeOn:{click:function(e){return t.$store.commit("set",["sidebarMinimize",!t.minimize])}}})],1)},i=[],s=[{_name:"CSidebarNav",_children:[{_name:"CSidebarNavItem",name:"账号设置",to:"/accountSetting",icon:"cil-user"}]}],c={name:"TheSidebar3",nav:s,computed:{show:function(){return this.$store.state.sidebarShow},minimize:function(){return this.$store.state.sidebarMinimize}}},l=c,u=n("2877"),d=Object(u["a"])(l,o,i,!1,null,null,null),m=d.exports,h=n("01c0"),f=n("0932"),C={name:"TheContainer3",components:{TheSidebar:m,TheHeader:h["a"],TheFooter:f["a"]}},p=C,v=(n("3d8c"),Object(u["a"])(p,a,r,!1,null,"fc5d6588",null));e["default"]=v.exports},da53:function(t,e,n){},e20f:function(t,e,n){}}]);