(function(e){function t(t){for(var a,i,c=t[0],s=t[1],u=t[2],l=0,d=[];l=0}},7273:function(e,t,n){"use strict";n("a181")},"83d6":function(e,t){e.exports={title:"Vue Admin Template",fixedHeader:!1,sidebarLogo:!1}},"8f72":function(e,t,n){"use strict";n("9f10")},"91b4":function(e,t,n){},"9e4b":function(e,t,n){},"9f10":function(e,t,n){},a181:function(e,t,n){},a18c:function(e,t,n){"use strict";n.d(t,"c",(function(){return Ce})),n.d(t,"b",(function(){return Oe}));var a,i,o=n("e9ff"),r=(n("e186"),n("5a65"),n("eb9c"),n("43ec"),n("430a")),c=n("a5e4"),s=n("5f87"),u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"root",on:{touchmove:function(e){e.preventDefault()}}},[n("div",{staticClass:"top-bar"},[n("div",{staticClass:"logo"}),n("div",{staticClass:"title"},[e._v("云阅评管理系统")]),n("div",{staticClass:"right-menu"},[n("el-dropdown",{staticClass:"avatar-container",attrs:{trigger:"click"}},[n("a",{staticStyle:{color:"#6195e0","padding-right":"10px"},attrs:{href:e.downloadUrl}},[e._v("下载客户端 ")]),n("el-badge",{staticClass:"item",attrs:{value:0,max:99}},[n("i",{staticClass:"el-icon-bell"})]),n("span",{staticClass:"user"},[e._v("当前用户:"+e._s(e.curUser))]),n("el-dropdown-menu"),n("span",{staticClass:"logout",on:{click:e.logout}},[e._v("退出登录")])],1)],1)]),n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),n("sidebar",{staticClass:"sidebar-container"}),n("div",{staticClass:"main-container"},[n("div",{class:{"fixed-header":e.fixedHeader}},[n("navbar")],1),n("app-main")],1)],1)])},l=[],d=n("06c4"),m=(n("606e"),n("7736")),h=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{"is-active":e.sidebar.opened},on:{toggleClick:e.toggleSideBar}}),n("breadcrumb",{staticClass:"breadcrumb-container"})],1)},f=[],p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-breadcrumb",{staticClass:"app-breadcrumb",attrs:{separator:"/"}},[n("transition-group",{attrs:{name:"breadcrumb"}},e._l(e.levelList,(function(t,a){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||a==e.levelList.length-1?n("span",{staticClass:"no-redirect"},[e._v(e._s(t.meta.title))]):n("a",{on:{click:function(n){return n.preventDefault(),e.handleLink(t)}}},[e._v(e._s(t.meta.title))])])})),1)],1)},b=[],g=(n("5685"),n("be66")),v=n.n(g),w={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){this.levelList=this.$route.matched.filter((function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb}))},pathCompile:function(e){var t=this.$route.params,n=v.a.compile(e);return n(t)},handleLink:function(e){var t=e.redirect,n=e.path;t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},k=w,y=(n("3259"),n("cba8")),_=Object(y["a"])(k,p,b,!1,null,"671c9468",null),x=_.exports,C=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{padding:"0 15px"},on:{click:e.toggleClick}},[n("svg",{staticClass:"hamburger",class:{"is-active":e.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[n("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},O=[],S={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},methods:{toggleClick:function(){this.$emit("toggleClick")}}},j=S,E=(n("186a"),Object(y["a"])(j,C,O,!1,null,"49e15297",null)),T=E.exports,A={components:{Breadcrumb:x,Hamburger:T},computed:Object(d["a"])({},Object(m["b"])(["sidebar","avatar"])),methods:{toggleSideBar:function(){this.$store.dispatch("app/toggleSideBar")},logout:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$store.dispatch("user/logout");case 2:e.$router.push("/login?redirect=".concat(e.$route.fullPath));case 3:case"end":return t.stop()}}),t)})))()}}},$=A,M=(n("f0e9"),Object(y["a"])($,h,f,!1,null,"7bb1a988",null)),B=M.exports,P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[n("el-menu",{attrs:{"default-active":e.activeMenu,collapse:e.isCollapse,"background-color":e.variables.menuBg,"text-color":e.variables.menuText,"unique-opened":!1,"active-text-color":e.variables.menuActiveText,"collapse-transition":!1,mode:"vertical"}},e._l(e.routes,(function(e){return n("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})})),1)],1)],1)},D=[],L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.item.hidden?e._e():n("div",[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path),"popper-append-to-body":""}},[n("template",{slot:"title"},[n("i",{class:"iconfont "+e.item.meta.icon,staticStyle:{"margin-right":"5px"}}),e.item.meta?n("item",{attrs:{icon:e.item.meta&&e.item.meta.icon,title:e.item.meta.title}}):e._e()],1),e._l(e.item.children,(function(t){return n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}})}))],2):[e.onlyOneChild.meta?n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[n("i",{class:"iconfont "+e.onlyOneChild.meta.icon}),n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta&&e.item.meta.icon,title:e.onlyOneChild.meta.title}})],1)],1):e._e()]],2)},N=[],I=n("6266"),z=n.n(I),H=n("61f7"),R={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props.title,a=[];return n&&a.push(e("span",{slot:"title"},[n])),a}},q=R,G=Object(y["a"])(q,a,i,!1,null,null,null),W=G.exports,F=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("component",e._b({},"component",e.linkProps(e.to),!1),[e._t("default")],2)},V=[],U={props:{to:{type:String,required:!0}},methods:{linkProps:function(e){return Object(H["a"])(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},J=U,K=Object(y["a"])(J,F,V,!1,null,null,null),Q=K.exports,X={name:"SidebarItem",components:{Item:W,AppLink:Q},props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return this.onlyOneChild=null,{}},methods:{hasOneShowingChild:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0,a=t.filter((function(t){return!t.hidden&&(e.onlyOneChild=t,!0)}));return 1===a.length||0===a.length&&(this.onlyOneChild=Object(d["a"])(Object(d["a"])({},n),{},{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return Object(H["a"])(e)?e:Object(H["a"])(this.basePath)?this.basePath:z.a.resolve(this.basePath,e)}}},Y=X,Z=(n("dd26"),Object(y["a"])(Y,L,N,!1,null,"72972d43",null)),ee=Z.exports,te=n("cf1e"),ne=n.n(te),ae={components:{SidebarItem:ee},computed:Object(d["a"])(Object(d["a"])({},Object(m["b"])(["sidebar"])),{},{routes:function(){return this.$router.options.routes},activeMenu:function(){var e=this.$route,t=e.meta,n=e.path;return t.activeMenu?t.activeMenu:n},variables:function(){return ne.a},isCollapse:function(){return!this.sidebar.opened}})},ie=ae,oe=Object(y["a"])(ie,P,D,!1,null,null,null),re=oe.exports,ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"app-main"},[n("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[n("router-view",{key:e.key})],1)],1)},se=[],ue={name:"AppMain",computed:{key:function(){return this.$route.path}}},le=ue,de=(n("8f72"),n("028b"),Object(y["a"])(le,ce,se,!1,null,"f1f6f576",null)),me=de.exports,he=n("4360"),fe=document,pe=fe.body,be=992,ge={watch:{$route:function(){"mobile"===this.device&&this.sidebar.opened&&he["a"].dispatch("app/closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.$_resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.$_resizeHandler)},mounted:function(){var e=this.$_isMobile();e&&(he["a"].dispatch("app/toggleDevice","mobile"),he["a"].dispatch("app/closeSideBar",{withoutAnimation:!0}))},methods:{$_isMobile:function(){var e=pe.getBoundingClientRect();return e.width-1