Commit 65615cda by Administrator

first commit

parent e25134f5
No preview for this file type
.w-150[data-v-2d935ab6]{width:110px}.black[data-v-2d935ab6]{background:#000;color:#fff;font-size:12px;width:100px;text-align:center;-moz-border-radius:10px;border-radius:10px}
\ No newline at end of file
.w-150[data-v-d5f553f6]{width:110px}.black[data-v-d5f553f6]{background:#000;color:#fff;font-size:12px;width:100px;text-align:center;-moz-border-radius:10px;border-radius:10px}
\ No newline at end of file
.cx-box[data-v-14bb819e]{border:1px solid #2897ff;width:100px;line-height:30px;text-align:center;color:#2897ff}.xz[data-v-14bb819e]{background:#2897ff;color:#fff}
\ No newline at end of file
.down-btn[data-v-0a277b74]{border:1px solid #005cdb;color:#005cdb;-moz-border-radius:4px;border-radius:4px;padding:5px}
\ No newline at end of file
.down-btn[data-v-bd21e022]{border:1px solid #005cdb;color:#005cdb;-moz-border-radius:4px;border-radius:4px;padding:5px}
\ No newline at end of file
.cx-box[data-v-a4ae2e76]{border:1px solid #2897ff;width:100px;line-height:30px;text-align:center;color:#2897ff}.xz[data-v-a4ae2e76]{background:#2897ff;color:#fff}
\ No newline at end of file
.logo[data-v-4dcf97f4]{border-bottom:1px solid #d8d8d8;width:150px;height:71px;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;background:#fff}.el-header[data-v-4dcf97f4]{border-bottom:1px solid #d8d8d8;height:71px!important}.el-aside[data-v-4dcf97f4]{background:#fee}.el-main[data-v-4dcf97f4]{background:#f7f7f7;position:relative;width:100%;height:100%;overflow:auto;padding:10px!important}.main-div[data-v-4dcf97f4]{overflow:auto}body[data-v-4dcf97f4],html[data-v-4dcf97f4]{width:100%;height:100%}.layout[data-v-4dcf97f4]{width:100%;height:100%;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.bg-bule[data-v-4dcf97f4]{background-color:#ff8d86;background:-moz-linear-gradient(left,#ff8d86,#f8413d);background:-o-linear-gradient(left,#ff8d86,#f8413d);background:linear-gradient(90deg,#ff8d86,#f8413d);color:#fff}.left[data-v-4dcf97f4]{color:#333;padding-top:30px;overflow-y:scroll}.left[data-v-4dcf97f4]::-webkit-scrollbar{display:none}.menu-list[data-v-4dcf97f4]{font-size:12px;padding-left:27px;line-height:40px;cursor:pointer}.head-right[data-v-4dcf97f4]{height:71px;color:#333;-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-moz-box-sizing:border-box;box-sizing:border-box}.head-img[data-v-4dcf97f4]{width:30px;height:30px;-moz-border-radius:100%;border-radius:100%;cursor:pointer}.cursor[data-v-4dcf97f4]{cursor:pointer}
\ No newline at end of file
.logo[data-v-4410ece0]{border-bottom:1px solid #d8d8d8;width:200px;height:71px;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;background:#fff}.el-header[data-v-4410ece0]{border-bottom:1px solid #d8d8d8;height:71px!important}.el-aside[data-v-4410ece0]{background:#fee}.el-main[data-v-4410ece0]{background:#f7f7f7;position:relative;width:100%;height:100%;overflow:auto}.main-div[data-v-4410ece0]{overflow:auto}body[data-v-4410ece0],html[data-v-4410ece0]{width:100%;height:100%}.layout[data-v-4410ece0]{width:100%;height:100%;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.bg-bule[data-v-4410ece0]{background-color:#ff8d86;background:-moz-linear-gradient(left,#ff8d86,#f8413d);background:-o-linear-gradient(left,#ff8d86,#f8413d);background:linear-gradient(90deg,#ff8d86,#f8413d);color:#fff}.left[data-v-4410ece0]{color:#333;padding-top:30px;overflow-y:scroll}.left[data-v-4410ece0]::-webkit-scrollbar{display:none}.menu-list[data-v-4410ece0]{font-size:12px;padding-left:27px;line-height:40px;cursor:pointer}.head-right[data-v-4410ece0]{height:71px;color:#333;-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-moz-box-sizing:border-box;box-sizing:border-box}.head-img[data-v-4410ece0]{width:30px;height:30px;-moz-border-radius:100%;border-radius:100%;cursor:pointer}.cursor[data-v-4410ece0]{cursor:pointer}
\ No newline at end of file
#app,body,html{height:100%;font-size:14px;overflow:hidden;margin:0;font-family:PingFangSC-Semibold}div{-moz-box-sizing:border-box;box-sizing:border-box}.fx{display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.align-items{-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.justify-center{-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.justify-between{-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.flex-wrap{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.fx-end{-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.bg-white{background:#fff}.bg-gary{background:#fafafa}.ta-c{text-align:center}.mt-2{margin-top:2px}.mt-10{margin-top:10px}.mt-5{margin-top:5px}.mt-15{margin-top:15px}.mt-20{margin-top:20px}.mt-30{margin-top:30px}.ml-10{margin-left:10px}.ml-5{margin-left:5px}.mr-10{margin-right:10px}.mb-15{margin-bottom:15px}.line-height{line-height:45px}.fs-12{font-size:12px}.fs-18{font-size:18px}.c-9{color:#9fa9ba}.fw-600{font-weight:600}.fw-700{font-weight:700}.padding-32{padding:32px}.bd-bottom{border-bottom:1px solid #d8d8d8}.el-table .bg-f5{background:#f5f7fa}.el-divider--horizontal{margin:16px 0!important}.info-table{background:#fff;-moz-border-radius:20px;border-radius:20px;padding:10px;margin-bottom:30px;-moz-box-shadow:8px 5px 25px -1px rgba(0,92,219,.1);box-shadow:8px 5px 25px -1px rgba(0,92,219,.1)}.update{-moz-border-radius:5px;border-radius:5px;height:24px;text-align:center;cursor:pointer;color:#005cdb}.w-32{width:32px}.w-50{width:50px;color:#005cdb;margin-left:10px}.bg-f2{background:#f2f4fc}.bg-00{background:#005cdb}.delete{width:55px;margin-top:10px}.c-green{color:#00c462}.c-red{color:#d12f2f}.cursor{cursor:pointer}.pagination{text-align:right;margin-top:20px}img{cursor:pointer}
\ No newline at end of file
#app,body,html{height:100%;font-size:14px;overflow:hidden;margin:0;font-family:PingFangSC-Semibold}div{-moz-box-sizing:border-box;box-sizing:border-box}.fx{display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.align-items{-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.justify-center{-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.justify-between{-webkit-justify-content:space-between;-moz-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.flex-wrap{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.fx-end{-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.bg-white{background:#fff}.bg-gary{background:#fafafa}.ta-c{text-align:center}.mt-2{margin-top:2px}.mt-10{margin-top:10px}.mt-5{margin-top:5px}.mt-15{margin-top:15px}.mt-20{margin-top:20px}.mt-30{margin-top:30px}.ml-10{margin-left:10px}.ml-5{margin-left:5px}.mr-10{margin-right:10px}.mb-15{margin-bottom:15px}.line-height{line-height:45px}.fs-12{font-size:12px}.fs-18{font-size:18px}.c-9{color:#9fa9ba}.fw-600{font-weight:600}.fw-700{font-weight:700}.padding-32{padding:32px}.bd-bottom{border-bottom:1px solid #d8d8d8}.el-table .bg-f5{background:#f5f7fa}.el-divider--horizontal{margin:16px 0!important}.info-table{background:#fff;-moz-border-radius:20px;border-radius:20px;padding:10px;margin-bottom:30px;-moz-box-shadow:8px 5px 25px -1px rgba(0,92,219,.1);box-shadow:8px 5px 25px -1px rgba(0,92,219,.1)}.update{-moz-border-radius:5px;border-radius:5px;height:24px;text-align:center;cursor:pointer;color:#005cdb}.w-32{width:32px}.w-50{width:50px;color:#005cdb;margin-left:10px}.bg-f2{background:#f2f4fc}.bg-00{background:#005cdb}.delete{width:55px;margin-top:10px}.c-green{color:#00c462}.c-red{color:#d12f2f}.cursor{cursor:pointer}.pagination{text-align:right;margin-top:20px}img{cursor:pointer}.el-table .el-table__cell{padding:5px 0!important}
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="public/logo.ico"><title>后台管理系统</title><link href="/css/chunk-110a256a.a25db90a.css" rel="prefetch"><link href="/css/chunk-1d861075.40b1f643.css" rel="prefetch"><link href="/css/chunk-3822025d.fa04025e.css" rel="prefetch"><link href="/css/chunk-49ce07d7.98f28cb3.css" rel="prefetch"><link href="/css/chunk-550ae69d.4420f6e8.css" rel="prefetch"><link href="/css/chunk-5adf13ea.26769709.css" rel="prefetch"><link href="/css/chunk-64634698.c016e1fc.css" rel="prefetch"><link href="/css/chunk-703cb39d.7d3ee7d7.css" rel="prefetch"><link href="/css/chunk-7990074a.eb024bfa.css" rel="prefetch"><link href="/css/chunk-7abf6b48.dd738b93.css" rel="prefetch"><link href="/css/chunk-7f0ee2a5.6dccd1d2.css" rel="prefetch"><link href="/css/chunk-b4b33ac4.ea065519.css" rel="prefetch"><link href="/css/chunk-be1a5d1e.34afee88.css" rel="prefetch"><link href="/css/chunk-d0fd3e22.24a9b455.css" rel="prefetch"><link href="/js/chunk-0691a8fa.bc2fa706.js" rel="prefetch"><link href="/js/chunk-07768766.c1cf0638.js" rel="prefetch"><link href="/js/chunk-0c187ed3.d74af11c.js" rel="prefetch"><link href="/js/chunk-1070d38b.b9df43ea.js" rel="prefetch"><link href="/js/chunk-110a256a.f61635d5.js" rel="prefetch"><link href="/js/chunk-1d861075.28680bb6.js" rel="prefetch"><link href="/js/chunk-2960167c.93ab9899.js" rel="prefetch"><link href="/js/chunk-2d0b5f95.4134b4b7.js" rel="prefetch"><link href="/js/chunk-2d0c034f.1a28979d.js" rel="prefetch"><link href="/js/chunk-2d0c156b.f48dc1a3.js" rel="prefetch"><link href="/js/chunk-2d2079b4.ec25c1e1.js" rel="prefetch"><link href="/js/chunk-2d2302c4.b8d0ebbd.js" rel="prefetch"><link href="/js/chunk-3822025d.77113b4d.js" rel="prefetch"><link href="/js/chunk-423a9557.da4300f3.js" rel="prefetch"><link href="/js/chunk-49ce07d7.328cf63f.js" rel="prefetch"><link href="/js/chunk-4c059fc4.f4fa2c4c.js" rel="prefetch"><link href="/js/chunk-4c9d4356.d8f9a797.js" rel="prefetch"><link href="/js/chunk-550ae69d.f6fb54cf.js" rel="prefetch"><link href="/js/chunk-5adf13ea.6a70d985.js" rel="prefetch"><link href="/js/chunk-5d55ee10.51e4e689.js" rel="prefetch"><link href="/js/chunk-64634698.a5b7c356.js" rel="prefetch"><link href="/js/chunk-6915533a.2a26bcf6.js" rel="prefetch"><link href="/js/chunk-69d00f44.49e07715.js" rel="prefetch"><link href="/js/chunk-69f93477.68d84afd.js" rel="prefetch"><link href="/js/chunk-703cb39d.f2e6c838.js" rel="prefetch"><link href="/js/chunk-7990074a.0541f14e.js" rel="prefetch"><link href="/js/chunk-7abf6b48.659485dc.js" rel="prefetch"><link href="/js/chunk-7f0ee2a5.f27078fb.js" rel="prefetch"><link href="/js/chunk-b4b33ac4.1b5db4e0.js" rel="prefetch"><link href="/js/chunk-bb792050.1847d2c1.js" rel="prefetch"><link href="/js/chunk-bd1ffd7c.3196ae82.js" rel="prefetch"><link href="/js/chunk-be1a5d1e.7e547a33.js" rel="prefetch"><link href="/js/chunk-d0fd3e22.6f0c79da.js" rel="prefetch"><link href="/js/chunk-d30b726a.f33055e7.js" rel="prefetch"><link href="/css/chunk-vendors.2efec192.css" rel="preload" as="style"><link href="/css/index.09bbd725.css" rel="preload" as="style"><link href="/js/chunk-vendors.73721c7d.js" rel="preload" as="script"><link href="/js/index.a341355c.js" rel="preload" as="script"><link href="/css/chunk-vendors.2efec192.css" rel="stylesheet"><link href="/css/index.09bbd725.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 后台管理系统 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.73721c7d.js"></script><script src="/js/index.a341355c.js"></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="logo.ico"><title>后台管理系统</title><link href="/css/chunk-110a256a.a25db90a.css" rel="prefetch"><link href="/css/chunk-1688724e.3befaad3.css" rel="prefetch"><link href="/css/chunk-26dc4411.292b1a25.css" rel="prefetch"><link href="/css/chunk-33e899c4.35ca6baf.css" rel="prefetch"><link href="/css/chunk-3822025d.fa04025e.css" rel="prefetch"><link href="/css/chunk-49ce07d7.98f28cb3.css" rel="prefetch"><link href="/css/chunk-550ae69d.4420f6e8.css" rel="prefetch"><link href="/css/chunk-57fb2f3f.00187555.css" rel="prefetch"><link href="/css/chunk-64634698.c016e1fc.css" rel="prefetch"><link href="/css/chunk-7990074a.eb024bfa.css" rel="prefetch"><link href="/css/chunk-7f0ee2a5.6dccd1d2.css" rel="prefetch"><link href="/css/chunk-b4b33ac4.ea065519.css" rel="prefetch"><link href="/css/chunk-be1a5d1e.34afee88.css" rel="prefetch"><link href="/css/chunk-d0fd3e22.24a9b455.css" rel="prefetch"><link href="/js/chunk-0691a8fa.bc2fa706.js" rel="prefetch"><link href="/js/chunk-07768766.c1cf0638.js" rel="prefetch"><link href="/js/chunk-0c187ed3.d74af11c.js" rel="prefetch"><link href="/js/chunk-1070d38b.e7a5e8b9.js" rel="prefetch"><link href="/js/chunk-110a256a.f61635d5.js" rel="prefetch"><link href="/js/chunk-1688724e.12b3487a.js" rel="prefetch"><link href="/js/chunk-26dc4411.7ac3180f.js" rel="prefetch"><link href="/js/chunk-2960167c.93ab9899.js" rel="prefetch"><link href="/js/chunk-2d0b5f95.4134b4b7.js" rel="prefetch"><link href="/js/chunk-2d0c034f.1a28979d.js" rel="prefetch"><link href="/js/chunk-2d0c156b.f48dc1a3.js" rel="prefetch"><link href="/js/chunk-2d2079b4.ec25c1e1.js" rel="prefetch"><link href="/js/chunk-2d2302c4.b8d0ebbd.js" rel="prefetch"><link href="/js/chunk-33e899c4.5450e5d2.js" rel="prefetch"><link href="/js/chunk-3822025d.77113b4d.js" rel="prefetch"><link href="/js/chunk-49ce07d7.328cf63f.js" rel="prefetch"><link href="/js/chunk-4c059fc4.f4fa2c4c.js" rel="prefetch"><link href="/js/chunk-4c9d4356.d8f9a797.js" rel="prefetch"><link href="/js/chunk-550ae69d.f6fb54cf.js" rel="prefetch"><link href="/js/chunk-57fb2f3f.c0d97a77.js" rel="prefetch"><link href="/js/chunk-5d55ee10.51e4e689.js" rel="prefetch"><link href="/js/chunk-64634698.a5b7c356.js" rel="prefetch"><link href="/js/chunk-6915533a.2a26bcf6.js" rel="prefetch"><link href="/js/chunk-69d00f44.49e07715.js" rel="prefetch"><link href="/js/chunk-69f93477.d6c536c5.js" rel="prefetch"><link href="/js/chunk-7990074a.0541f14e.js" rel="prefetch"><link href="/js/chunk-7f0ee2a5.f27078fb.js" rel="prefetch"><link href="/js/chunk-81d4e492.8c5ca57a.js" rel="prefetch"><link href="/js/chunk-b4b33ac4.1b5db4e0.js" rel="prefetch"><link href="/js/chunk-bb792050.1847d2c1.js" rel="prefetch"><link href="/js/chunk-bd1ffd7c.3196ae82.js" rel="prefetch"><link href="/js/chunk-be1a5d1e.7e547a33.js" rel="prefetch"><link href="/js/chunk-d0fd3e22.6f0c79da.js" rel="prefetch"><link href="/js/chunk-d30b726a.f33055e7.js" rel="prefetch"><link href="/css/chunk-vendors.2efec192.css" rel="preload" as="style"><link href="/css/index.c5ba9406.css" rel="preload" as="style"><link href="/js/chunk-vendors.73721c7d.js" rel="preload" as="script"><link href="/js/index.93743ff0.js" rel="preload" as="script"><link href="/css/chunk-vendors.2efec192.css" rel="stylesheet"><link href="/css/index.c5ba9406.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but 后台管理系统 doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.73721c7d.js"></script><script src="/js/index.93743ff0.js"></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-57fb2f3f"],{"3b34":function(t,e,n){"use strict";n("ad42")},9261:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"layout"},[i("el-container",[i("el-aside",{attrs:{width:"150px"}},[i("div",{staticClass:"logo"},[i("img",{attrs:{src:"logo2.png",width:"118px"}})]),i("div",{staticClass:"left",style:{height:t.scollerHeight}},t._l(t.menuList,(function(e,n){return i("div",{key:n},[i("div",{staticClass:"menu-list",class:t.tabName===e.name?"bg-bule":""},[i("div",{staticClass:"ml-10",on:{click:function(i){return t.toPage(e.jumpPath,n,e.name)}}},[t._v(t._s(e.name))])]),t._l(e.childrenMenus,(function(e,s){return t.tabIndex===n?i("div",{key:s,staticClass:"menu-list",class:t.tabName===e.name?"bg-bule":"",on:{click:function(n){return t.toPage1(e.jumpPath,e.name)}}},[i("div",{staticStyle:{"padding-left":"30px"}},[t._v(t._s(e.name))])]):t._e()}))],2)})),0)]),i("el-container",[i("el-header",[i("div",{staticClass:"fx align-items head-right"},[i("div",{staticClass:"ml-10"},[i("img",{staticClass:"head-img",attrs:{src:n("9955")}})]),i("div",{staticClass:"ml-5"},[t._v(t._s(t.userName))]),i("div",{staticClass:"ml-10 cursor",on:{click:t.loginOut}},[t._v("退出")])])]),i("el-main",[i("div",{staticClass:"main-div",style:{height:t.scollerHeight}},[t.active?i("router-view"):t._e()],1)])],1)],1)],1)},s=[],a=(n("b0c0"),n("6ace")),o={name:"index",provide:function(){return{reload:this.reload}},computed:{scollerHeight:function(){return document.body.clientHeight-80+"px"}},data:function(){return{active:!0,showSelect:!0,routeName:"home",tabName:"",tabIndex:0,userName:"",showMenu:!1,menuList:[]}},watch:{$route:function(t){this.routeName=t.name}},mounted:function(){this.routeName=this.$route.name,a["a"].get("token")?(this.getInfo(sessionStorage.getItem("id")),this.userName=sessionStorage.getItem("username")):this.$router.push({name:"login"})},methods:{reload:function(){this.active=!1,this.$nextTick((function(){this.active=!0}))},getInfo:function(){var t=this;this.$axios("post","/sys/menu/list").then((function(e){200===e.code&&(t.menuList=e.data,t.$router.push({name:t.menuList[0].jumpPath}))}))},toPage:function(t,e,n){this.tabIndex=e,this.tabName=n,this.$router.push({name:t})},toPage1:function(t,e){this.tabName=e,this.$router.push({name:t})},loginOut:function(){this.$router.push({name:"login"}),this.$axios("post","/sys/logout").then((function(t){sessionStorage.clear(),a["a"].remove("token")}))}}},u=o,c=(n("3b34"),n("2877")),r=Object(c["a"])(u,i,s,!1,null,"4dcf97f4",null);e["default"]=r.exports},9955:function(t,e,n){t.exports=n.p+"img/logo.bd4abbe1.jpg"},ad42:function(t,e,n){},b0c0:function(t,e,n){var i=n("83ab"),s=n("5e77").EXISTS,a=n("e330"),o=n("9bf2").f,u=Function.prototype,c=a(u.toString),r=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=a(r.exec),m="name";i&&!s&&o(u,m,{configurable:!0,get:function(){try{return l(r,c(this))[1]}catch(t){return""}}})}}]);
//# sourceMappingURL=chunk-57fb2f3f.c0d97a77.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5adf13ea"],{4808:function(t,e,n){"use strict";n("8d4a")},"8d4a":function(t,e,n){},9261:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"layout"},[i("el-container",[i("el-aside",{attrs:{width:"200px"}},[i("div",{staticClass:"logo"},[i("img",{attrs:{src:"logo2.png",width:"80%"}})]),i("div",{staticClass:"left",style:{height:t.scollerHeight}},t._l(t.menuList,(function(e,n){return i("div",{key:n},[i("div",{staticClass:"menu-list",class:t.tabName===e.name?"bg-bule":""},[i("div",{staticClass:"ml-10",on:{click:function(i){return t.toPage(e.jumpPath,n,e.name)}}},[t._v(t._s(e.name))])]),t._l(e.childrenMenus,(function(e,s){return t.tabIndex===n?i("div",{key:s,staticClass:"menu-list",class:t.tabName===e.name?"bg-bule":"",on:{click:function(n){return t.toPage1(e.jumpPath,e.name)}}},[i("div",{staticStyle:{"padding-left":"40px"}},[t._v(t._s(e.name))])]):t._e()}))],2)})),0)]),i("el-container",[i("el-header",[i("div",{staticClass:"fx align-items head-right"},[i("div",{staticClass:"ml-10"},[i("img",{staticClass:"head-img",attrs:{src:n("9955")}})]),i("div",{staticClass:"ml-5"},[t._v(t._s(t.userName))]),i("div",{staticClass:"ml-10 cursor",on:{click:t.loginOut}},[t._v("退出")])])]),i("el-main",[i("div",{staticClass:"main-div",style:{height:t.scollerHeight}},[t.active?i("router-view"):t._e()],1)])],1)],1)],1)},s=[],a=(n("b0c0"),n("6ace")),o={name:"index",provide:function(){return{reload:this.reload}},computed:{scollerHeight:function(){return document.body.clientHeight-80+"px"}},data:function(){return{active:!0,showSelect:!0,routeName:"home",tabName:"",tabIndex:0,userName:"",showMenu:!1,menuList:[]}},watch:{$route:function(t){this.routeName=t.name}},mounted:function(){this.routeName=this.$route.name,a["a"].get("token")?(this.getInfo(sessionStorage.getItem("id")),this.userName=sessionStorage.getItem("username")):this.$router.push({name:"login"})},methods:{reload:function(){this.active=!1,this.$nextTick((function(){this.active=!0}))},getInfo:function(){var t=this;this.$axios("post","/sys/menu/list").then((function(e){200===e.code&&(t.menuList=e.data,t.$router.push({name:t.menuList[0].jumpPath}))}))},toPage:function(t,e,n){this.tabIndex=e,this.tabName=n,this.$router.push({name:t})},toPage1:function(t,e){this.tabName=e,this.$router.push({name:t})},loginOut:function(){this.$router.push({name:"login"}),this.$axios("post","/sys/logout").then((function(t){sessionStorage.clear(),a["a"].remove("token")}))}}},u=o,c=(n("4808"),n("2877")),r=Object(c["a"])(u,i,s,!1,null,"4410ece0",null);e["default"]=r.exports},9955:function(t,e,n){t.exports=n.p+"img/logo.bd4abbe1.jpg"},b0c0:function(t,e,n){var i=n("83ab"),s=n("5e77").EXISTS,a=n("e330"),o=n("9bf2").f,u=Function.prototype,c=a(u.toString),r=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=a(r.exec),m="name";i&&!s&&o(u,m,{configurable:!0,get:function(){try{return l(r,c(this))[1]}catch(t){return""}}})}}]);
//# sourceMappingURL=chunk-5adf13ea.6a70d985.js.map
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment