(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-97c86020"],{"21bb":function(t,e,a){"use strict";a("68aa")},"68aa":function(t,e,a){},bb51:function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-container",[a("el-header",[a("div",{staticClass:"header"}),a("div",{staticClass:"nav"},[a("a",[t._v("审读管理")]),a("div",{staticClass:"setting"},[a("i",{staticClass:"el-icon-message-solid"}),a("el-dropdown",[a("span",{staticClass:"el-dropdown-link"},[t._v("\n\t\t\t\t\t\t"+t._s(t.info.name)),a("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),a("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[a("el-dropdown-item",[t._v("修改密码")])],1)],1),a("span",{staticClass:"logout",on:{click:t.logout}},[t._v("退出登陆")])],1)])]),a("el-container",{staticClass:"main"},[a("el-aside",{staticClass:"left-aside",attrs:{width:"210px"}},[a("el-menu",{staticClass:"left-menue",attrs:{"background-color":"#ffffff","text-color":"#666666","unique-opened":!1,"default-active":"/"+t.$route.path.split("/")[1],router:"","active-text-color":"#3895FE"}},[t._l(t.$router.options.routes,(function(e,n){return[e.show&&e.isLeaf&&e.role==t.info.role?a("el-menu-item",{key:n,attrs:{index:e.path}},[a("i",{class:e.icon}),a("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(e.name))])]):t._e()]}))],2)],1),a("el-container",[a("el-main",[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view")],1)],1)],1)],1)],1)},o=[],i={name:"home",data:function(){return{info:{},role:1}},methods:{getDate:function(){this.now=(new Date).toLocaleDateString()+" "+(new Date).toLocaleTimeString()},logout:function(){var t=this;this.$api.logout().then((function(e){t.$router.push({path:"/"})}))},getData:function(){var t=this;this.$api.getAccountInfo().then((function(e){e.code||(t.info=e.data.data,localStorage.setItem("uid",e.data.data.id))}))}},created:function(){this.getData()}},s=i,l=(a("21bb"),a("5d22")),r=Object(l["a"])(s,n,o,!1,null,null,null);e["default"]=r.exports}}]); //# sourceMappingURL=chunk-97c86020.8d70680b.js.map