diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..890ec9599f5b8f8bb514addea587e1167452186a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: php + +php: + - 7.0.27 + - 7.1.13 + - 7.2.1 + - 7.3.1 + +before_script: + - cd laravel + - composer install + +script: composer info diff --git a/admin/src/router/index.js b/admin/src/router/index.js index c948c49ad1c0dbe89579564b741d31e03bd59c0c..8af6fb3e3b3bfec01b0d3c5a4a32b6198a969904 100644 --- a/admin/src/router/index.js +++ b/admin/src/router/index.js @@ -126,7 +126,7 @@ const routeTest = [ export const constantRouterMap = [...routeBase, ...routeTest] export default new Router({ - mode: 'history', // 后端支持可开 + // mode: 'history', // 后端支持可开 scrollBehavior: () => ({ y: 0 }), routes: constantRouterMap }) diff --git a/laravel/public/index.html b/laravel/public/index.html index a5105fe0d13abb92d873345df5c1a519d786d491..404b57c148e7a34d6dd76c15e2bc6e8029331348 100644 --- a/laravel/public/index.html +++ b/laravel/public/index.html @@ -1 +1 @@ -Laravel-vue-admin 后台管理系统
\ No newline at end of file +Laravel-vue-admin 后台管理系统
\ No newline at end of file diff --git a/laravel/public/static/css/chunk-1a1c.66f88917.css b/laravel/public/static/css/chunk-1a1c.66f88917.css deleted file mode 100644 index b67acd44043c35edeee29ae938a9610571ec9e9c..0000000000000000000000000000000000000000 --- a/laravel/public/static/css/chunk-1a1c.66f88917.css +++ /dev/null @@ -1 +0,0 @@ -.dashboard-container[data-v-a63748b2]{margin:30px}.dashboard-text[data-v-a63748b2]{font-size:30px;line-height:46px}.text[data-v-a63748b2]{font-size:14px}.item[data-v-a63748b2]{margin-bottom:18px}.clearfix[data-v-a63748b2]:after,.clearfix[data-v-a63748b2]:before{display:table;content:""}.clearfix[data-v-a63748b2]:after{clear:both}.box-card[data-v-a63748b2]{width:40%;float:left;margin:0 2%} \ No newline at end of file diff --git a/laravel/public/static/css/chunk-4fcd.33f2b537.css b/laravel/public/static/css/chunk-4fcd.33f2b537.css new file mode 100644 index 0000000000000000000000000000000000000000..065e91213bd1b420cebcc71725f6a6e9bffda3d8 --- /dev/null +++ b/laravel/public/static/css/chunk-4fcd.33f2b537.css @@ -0,0 +1 @@ +.dashboard-container[data-v-27d61ef7]{margin:30px}.dashboard-text[data-v-27d61ef7]{font-size:30px;line-height:46px}.text[data-v-27d61ef7]{font-size:14px}.item[data-v-27d61ef7]{margin-bottom:18px}.clearfix[data-v-27d61ef7]:after,.clearfix[data-v-27d61ef7]:before{display:table;content:""}.clearfix[data-v-27d61ef7]:after{clear:both}.box-card[data-v-27d61ef7]{width:40%;float:left;margin:0 2%} \ No newline at end of file diff --git a/laravel/public/static/js/app.30777b75.js b/laravel/public/static/js/app.67bcf247.js similarity index 58% rename from laravel/public/static/js/app.30777b75.js rename to laravel/public/static/js/app.67bcf247.js index 437c31a36e6f9ad6eb5792c542a7a3813301dc9d..7cff199c4d60360730cfd76100cae93489353088 100644 --- a/laravel/public/static/js/app.30777b75.js +++ b/laravel/public/static/js/app.67bcf247.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"/OCX":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-ico-table",use:"icon-ico-table-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},"0faV":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-article",use:"icon-article-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},"3PhE":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},"6xvN":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},"8fzN":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-tag",use:"icon-tag-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},"96Go":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-ico-aliyun",use:"icon-ico-aliyun-usage",viewBox:"0 0 1844 1024",content:''});o.a.add(s);n.default=s},"9ChT":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-category",use:"icon-category-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},"A0++":function(e,n,t){"use strict";var i=t("xUNX");t.n(i).a},BKkR:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-ico-article",use:"icon-ico-article-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},GPBF:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},GbIm:function(e,n,t){"use strict";var i=t("rMdT");t.n(i).a},Hoqj:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-ico-category",use:"icon-ico-category-usage",viewBox:"0 0 1260 1024",content:''});o.a.add(s);n.default=s},Kj24:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},MMMJ:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},OXmT:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-permission",use:"icon-permission-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},Q2AE:function(e,n,t){"use strict";var i=t("Kw5r"),a=t("L2JU"),c=t("p46w"),o=t.n(c),s={state:{sidebar:{opened:!+o.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened?o.a.set("sidebarStatus",1):o.a.set("sidebarStatus",0),e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(e,n){o.a.set("sidebarStatus",1),e.sidebar.opened=!1,e.sidebar.withoutAnimation=n},TOGGLE_DEVICE:function(e,n){e.device=n}},actions:{ToggleSideBar:function(e){(0,e.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(e,n){(0,e.commit)("CLOSE_SIDEBAR",n.withoutAnimation)},ToggleDevice:function(e,n){(0,e.commit)("TOGGLE_DEVICE",n)}}},l=t("gDS+"),r=t.n(l),d=t("4d7F"),u=t.n(d),h=t("t3Un");var m=t("X4fA"),p={state:{token:Object(m.a)(),name:"",avatar:"",roles:[],addRouters:[]},mutations:{SET_TOKEN:function(e,n){e.token=n},SET_NAME:function(e,n){e.name=n},SET_AVATAR:function(e,n){e.avatar=n},SET_ROLES:function(e,n){e.roles=n},SET_ROUTERS:function(e,n){e.addRouters=n}},actions:{Login:function(e,n){var t=e.commit;return new u.a(function(e,i){(function(e){return h.a.post("/api/user/login",e)})(n).then(function(n){var i=n.data;Object(m.c)(i.access_token),t("SET_TOKEN",i.access_token),e()}).catch(function(e){i(e)})})},GetInfo:function(e){var n=e.commit,t=e.state;return new u.a(function(e,i){(function(e){return Object(h.a)({url:"/api/user/info",method:"get",params:{token:e}})})(t.token).then(function(t){var a=t.data;a.roles&&a.roles.length>0?n("SET_ROLES",a.roles):i("getInfo: roles must be a non-null array !"),n("SET_NAME",a.name),n("SET_AVATAR",a.avatar),e(t)}).catch(function(e){i(e)})})},LogOut:function(e){var n=e.commit,t=e.state;return new u.a(function(e,i){(t.token,Object(h.a)({url:"/api/user/logout",method:"post"})).then(function(){n("SET_TOKEN",""),n("SET_ROLES",[]),Object(m.b)(),sessionStorage.setItem("roles",""),e()}).catch(function(e){i(e)})})},FedLogOut:function(e){var n=e.commit;return new u.a(function(e){n("SET_TOKEN",""),Object(m.b)(),e()})},GenerateRoutes:function(e,n){var t=e.commit;return new u.a(function(e){t("SET_ROUTERS",n.routers),sessionStorage.setItem("roles",r()(n.roles)),e()})}}},v={sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},roles:function(e){return e.user.roles},addRouters:function(e){return e.user.addRouters}};i.default.use(a.a);var f=new a.a.Store({modules:{app:s,user:p},getters:v});n.a=f},"R/Hx":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},RHgo:function(e,n,t){},TfVu:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});o.a.add(s);n.default=s},TnCw:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-auth",use:"icon-auth-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},"Uf/o":function(e,n,t){var i={"./add.svg":"wqOL","./api.svg":"dHYy","./article.svg":"0faV","./auth.svg":"TnCw","./bus.svg":"jxcm","./category.svg":"9ChT","./example.svg":"MMMJ","./excel.svg":"ZZmv","./eye.svg":"TfVu","./form.svg":"6xvN","./ico-aliyun.svg":"96Go","./ico-article.svg":"BKkR","./ico-category.svg":"Hoqj","./ico-table.svg":"/OCX","./link.svg":"GPBF","./nav.svg":"dbke","./nested.svg":"3PhE","./password.svg":"Kj24","./permission.svg":"OXmT","./role.svg":"Ugzh","./table.svg":"R/Hx","./tag.svg":"8fzN","./task.svg":"dxv6","./tree.svg":"k80C","./user.svg":"s7Vf"};function a(e){var n=c(e);return t(n)}function c(e){var n=i[e];if(!(n+1)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n}a.keys=function(){return Object.keys(i)},a.resolve=c,e.exports=a,a.id="Uf/o"},Ugzh:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-role",use:"icon-role-usage",viewBox:"0 0 1333 1024",content:''});o.a.add(s);n.default=s},Vtdi:function(e,n,t){"use strict";t.r(n);var i=t("Kw5r"),a=(t("9d8Q"),t("XJYT")),c=t.n(a),o=(t("D66Q"),t("cIdk"),t("sg+I"),t("stgD")),s=t.n(o),l=(t("ZOF2"),{name:"App"}),r=(t("A0++"),t("KHd+")),d=Object(r.a)(l,function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},[],!1,null,null,null);d.options.__file="App.vue";var u=d.exports,h=t("jE9Z");i.default.use(h.a);var m=function(){return t.e("chunk-5769").then(t.bind(null,"2c6e"))},p=[].concat([{path:"/",name:"index",component:function(){return t.e("chunk-2bf7").then(t.bind(null,"er4n"))},hidden:!0},{path:"/line",name:"line",component:function(){return t.e("chunk-1fb6").then(t.bind(null,"G5rc"))},hidden:!0},{path:"/home",component:function(){return t.e("chunk-017a").then(t.bind(null,"d7gD"))},hidden:!0},{path:"/md",name:"md",component:function(){return t.e("gW6U").then(t.bind(null,"gW6U"))},hidden:!0},{path:"/out",name:"out",component:function(){return t.e("chunk-5549").then(t.bind(null,"LnUv"))},hidden:!0},{path:"/excel",name:"excel",component:function(){return Promise.all([t.e("chunk-7a80"),t.e("chunk-778d")]).then(t.bind(null,"5EWB"))},hidden:!0},{path:"/upload",name:"upload",component:function(){return t.e("chunk-f5e6").then(t.bind(null,"4p+I"))},hidden:!0},{path:"/websocket",name:"websocket",component:function(){return t.e("chunk-f5ec").then(t.bind(null,"6jsT"))},hidden:!0},{path:"/echarts",name:"echarts",component:function(){return Promise.all([t.e("chunk-06ea"),t.e("chunk-4d97")]).then(t.bind(null,"HnWs"))},hidden:!0},{path:"/login",component:function(){return t.e("chunk-787a").then(t.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return t.e("chunk-e999").then(t.bind(null,"jNvO"))},hidden:!0},{path:"/admin",component:m,redirect:"/admin/dashboard",name:"Dashboard",hidden:!0,children:[{path:"dashboard",component:function(){return Promise.all([t.e("chunk-06ea"),t.e("chunk-1a1c")]).then(t.bind(null,"lAbF"))}}]}],[{path:"/form",component:m,children:[{path:"index",name:"Form",component:function(){return t.e("chunk-408c").then(t.bind(null,"Nx2/"))},meta:{title:"Form",icon:"form"}}],hidden:!0},{path:"/nested",component:m,redirect:"/nested/menu1",name:"Nested",meta:{title:"Nested",icon:"nested"},children:[{path:"menu1",component:function(){return t.e("6bwb").then(t.bind(null,"6bwb"))},name:"Menu1",meta:{title:"Menu1"},children:[{path:"menu1-1",component:function(){return t.e("kbPl").then(t.bind(null,"kbPl"))},name:"Menu1-1",meta:{title:"Menu1-1"}},{path:"menu1-2",component:function(){return t.e("Vc2m").then(t.bind(null,"Vc2m"))},name:"Menu1-2",meta:{title:"Menu1-2"},children:[{path:"menu1-2-1",component:function(){return t.e("ZYJW").then(t.bind(null,"ZYJW"))},name:"Menu1-2-1",meta:{title:"Menu1-2-1"}},{path:"menu1-2-2",component:function(){return t.e("tvtM").then(t.bind(null,"tvtM"))},name:"Menu1-2-2",meta:{title:"Menu1-2-2"}}]},{path:"menu1-3",component:function(){return t.e("jYsI").then(t.bind(null,"jYsI"))},name:"Menu1-3",meta:{title:"Menu1-3"}}]},{path:"menu2",component:function(){return t.e("27OO").then(t.bind(null,"27OO"))},meta:{title:"menu2"}}]},{path:"*",redirect:"/404",hidden:!0}]),v=new h.a({mode:"history",scrollBehavior:function(){return{y:0}},routes:p}),f=t("Q2AE"),w={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},g=(t("GbIm"),Object(r.a)(w,function(){var e=this.$createElement,n=this._self._c||e;return n("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"22425877",null));g.options.__file="index.vue";var x=g.exports,b={name:"NavBar",data:function(){return{activeIndex:""}}},k=(t("xVJr"),Object(r.a)(b,function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"nav"},[t("el-menu",{staticClass:"el-menu-demo",attrs:{"default-active":e.activeIndex,mode:"horizontal"}},[t("el-row",{attrs:{gutter:1}},[t("el-col",{attrs:{xs:6,sm:6,md:4,lg:4,xl:4}},[t("div",{staticClass:"grid-content"},[t("el-menu-item",{attrs:{index:"1"}},[t("router-link",{attrs:{to:{name:"index"}}},[e._v("公交-首页")])],1)],1)]),e._v(" "),t("el-col",{attrs:{xs:6,sm:6,md:4,lg:4,xl:4}},[t("div",{staticClass:"grid-content"},[t("el-menu-item",{attrs:{index:"3"}},[t("router-link",{staticClass:"login",attrs:{to:{name:"out"}}},[e._v("中文排版")])],1)],1)]),e._v(" "),t("el-col",{attrs:{xs:6,sm:6,md:4,lg:4,xl:4}},[t("div",{staticClass:"grid-content"},[t("el-menu-item",{attrs:{index:"4"}},[t("router-link",{staticClass:"login",attrs:{to:{name:"excel"}}},[e._v("在线表格 Excel")])],1)],1)]),e._v(" "),t("el-col",{attrs:{xs:6,sm:6,md:4,lg:4,xl:4}},[t("div",{staticClass:"grid-content"},[t("el-menu-item",{attrs:{index:"4"}},[t("router-link",{staticClass:"login",attrs:{to:{name:"upload"}}},[e._v("图片转文字")])],1)],1)]),e._v(" "),t("el-col",{attrs:{xs:6,sm:6,md:4,lg:4,xl:4}},[t("div",{staticClass:"grid-content"},[t("el-submenu",{attrs:{index:"2"}},[t("template",{slot:"title"},[e._v("其它工具")]),e._v(" "),t("el-menu-item",{attrs:{index:"2-2"}},[t("router-link",{staticClass:"login",attrs:{to:{name:"md"}}},[e._v("Markdown")])],1),e._v(" "),t("el-menu-item",{attrs:{index:"2-2"}},[t("router-link",{attrs:{to:{name:"echarts"}}},[e._v("图表")])],1)],2)],1)])],1)],1)],1)},[],!1,null,"21a7e4a4",null));k.options.__file="navBar.vue";var y=k.exports;i.default.component("svg-icon",x),i.default.component("nav-bar",y);!function(e){e.keys().map(e)}(t("Uf/o"));var M=t("m1cH"),z=t.n(M),B=t("QbLZ"),C=t.n(B),L=function(){return t.e("chunk-5769").then(t.bind(null,"2c6e"))},E="Super Administrator",V=[{path:"/api_excel",component:L,redirect:"/api_excel/index",name:"Excel-List",meta:{title:"批量测试管理",icon:"ico-table",roles:[E,"Admin"]},children:[{path:"/api_excel/edit/:id",name:"EditExcel",component:function(){return t.e("chunk-5c4a").then(t.bind(null,"F/uS"))},hidden:!0},{path:"/api_excel/add",name:"AddExcel",component:function(){return t.e("chunk-2d3b").then(t.bind(null,"wf12"))},meta:{title:"上传测试",icon:"excel",roles:[E,"Admin"]}},{path:"/api_excel/index",name:"Excel",component:function(){return t.e("chunk-1bf7").then(t.bind(null,"yWqU"))},meta:{title:"测试管理",icon:"ico-aliyun",roles:[E,"Admin"]}},{path:"/api_param/add",name:"AddApiParam",component:function(){return t.e("chunk-088a").then(t.bind(null,"eR/3"))},hidden:!0},{path:"/api_param/edit/:id",name:"EditApiParam",component:function(){return t.e("chunk-7a07").then(t.bind(null,"/+Eh"))},hidden:!0},{path:"/api_param/index",name:"ApiParam",component:function(){return t.e("chunk-6612").then(t.bind(null,"dH62"))},meta:{title:"接口列表",icon:"api",roles:[E,"Admin"]}}]}],H=[{path:"/category",component:L,redirect:"/category/index",name:"Category-Nav",meta:{title:"栏目菜单",icon:"category",roles:[E]},children:[{path:"/category/add",name:"AddCategory",component:function(){return t.e("chunk-f699").then(t.bind(null,"GMaQ"))},meta:{title:"添加栏目"},hidden:!0},{path:"/category/edit/:id",name:"EditCategory",component:function(){return t.e("chunk-65a4").then(t.bind(null,"1ylW"))},hidden:!0},{path:"/category/index",name:"Category",component:function(){return t.e("chunk-c28c").then(t.bind(null,"oZKA"))},meta:{title:"栏目管理",icon:"ico-category",roles:[E]}},{path:"/nav/add",name:"AddNav",component:function(){return t.e("chunk-229e").then(t.bind(null,"JPfX"))},hidden:!0},{path:"/nav/edit/:id",name:"EditNav",component:function(){return t.e("chunk-6f3d").then(t.bind(null,"LnHU"))},hidden:!0},{path:"/nav",name:"Nav",component:function(){return t.e("chunk-648e").then(t.bind(null,"mxRw"))},meta:{title:"导航管理",icon:"nav",roles:[E]}},{path:"/tag/add",name:"AddTag",component:function(){return t.e("chunk-3843").then(t.bind(null,"+1ta"))},meta:{title:"添加标签"},hidden:!0},{path:"/tag/edit/:id",name:"EditTag",component:function(){return t.e("chunk-6637").then(t.bind(null,"S2fK"))},hidden:!0},{path:"/tag",name:"Tag",component:function(){return t.e("chunk-78cb").then(t.bind(null,"ZhNY"))},meta:{title:"标签列表",icon:"tag",roles:[E]}}]},{path:"/article",component:L,name:"Article-List",meta:{title:"文章管理",icon:"article",roles:[E]},children:[{path:"/article/edit/:id",name:"EditArticle",component:function(){return t.e("chunk-b179").then(t.bind(null,"++5l"))},hidden:!0},{path:"/article/index",name:"Article",component:function(){return t.e("chunk-39ed").then(t.bind(null,"Iwy+"))},meta:{title:"文章管理",icon:"ico-article",roles:[E]}},{path:"/article/add",name:"AddArticle",component:function(){return t.e("chunk-318c").then(t.bind(null,"/cac"))},meta:{title:"添加文章",icon:"add",roles:[E]}}]},{path:"/list",component:L,redirect:"/task",name:"公交",meta:{title:"公交管理",icon:"bus",roles:[E]},children:[{path:"/task/search",name:"search",component:function(){return t.e("chunk-fde2").then(t.bind(null,"Keas"))},hidden:!0},{path:"/task/newBus",name:"NewBus",component:function(){return t.e("chunk-3fdb").then(t.bind(null,"GRON"))},hidden:!0},{path:"/task/edit/:id",name:"taskEdit",component:function(){return t.e("chunk-056c").then(t.bind(null,"J1Jp"))},hidden:!0},{path:"/task",name:"定时任务",component:function(){return t.e("chunk-5a05").then(t.bind(null,"xDC0"))},meta:{title:"定时任务",icon:"task",roles:[E]}},{path:"lines/add",name:"linesAdd",component:function(){return t.e("chunk-5463").then(t.bind(null,"V9Fe"))},hidden:!0},{path:"lines/edit/:id",name:"linesEdit",component:function(){return t.e("chunk-47f3").then(t.bind(null,"bAuQ"))},hidden:!0},{path:"lines",name:"公交列表",component:function(){return t.e("chunk-bb38").then(t.bind(null,"HBaq"))},meta:{title:"公交列表",icon:"table",roles:[E]}},{path:"config",name:"配置管理",component:function(){return t.e("chunk-7ddc").then(t.bind(null,"60Md"))},meta:{title:"配置列表",icon:"table",roles:[E]}},{path:"tree",name:"Tree",component:function(){return t.e("ad09").then(t.bind(null,"ad09"))},meta:{title:"Tree",icon:"tree",roles:[E]},hidden:!0}]},{path:"user",component:L,redirect:"/user",name:"权限",meta:{title:"权限管理",icon:"auth",roles:[E]},children:[{path:"index",name:"userIndex",component:function(){return t.e("chunk-5f34").then(t.bind(null,"44Km"))},hidden:!0},{path:"password",name:"userPassword",component:function(){return t.e("chunk-4d73").then(t.bind(null,"HwY3"))},hidden:!0},{path:"/user/add",name:"AddUser",component:function(){return t.e("chunk-204a").then(t.bind(null,"fqc2"))},hidden:!0},{path:"/user/edit/:id",name:"EditUser",component:function(){return t.e("chunk-692d").then(t.bind(null,"00Qp"))},hidden:!0},{path:"/user",name:"用户管理",component:function(){return t.e("chunk-5f34").then(t.bind(null,"44Km"))},meta:{title:"用户列表",icon:"user",roles:[E]}},{path:"/permission/add",name:"AddPermission",component:function(){return t.e("chunk-5329").then(t.bind(null,"oKS6"))},hidden:!0},{path:"/permission/edit/:id",name:"EditPermission",component:function(){return t.e("chunk-061c").then(t.bind(null,"t2jL"))},hidden:!0},{path:"/permission",name:"权限列表",component:function(){return t.e("chunk-833a").then(t.bind(null,"wjrd"))},meta:{title:"权限列表",icon:"permission",roles:[E]}},{path:"/role/add",name:"Addroles",component:function(){return t.e("chunk-5dcb").then(t.bind(null,"rwG5"))},hidden:!0},{path:"/role/edit/:id",name:"Editroles",component:function(){return t.e("chunk-c495").then(t.bind(null,"XqkG"))},hidden:!0},{path:"/role",name:"角色管理",component:function(){return t.e("chunk-2f00").then(t.bind(null,"bDWH"))},meta:{title:"角色管理",icon:"role",roles:[E]}}]}],A=[],O=t("Mj6V"),_=t.n(O),S=(t("pdi6"),t("X4fA"));if(0===f.a.getters.roles.length&&sessionStorage.getItem("roles")){var I=JSON.parse(sessionStorage.getItem("roles")),T=Z(I);f.a.dispatch("GenerateRoutes",{routers:T,roles:I}),v.addRoutes(T)}var F=["/login","/index","/line","/home","/404","/","","/echarts","/md","/out","/excel","/upload"];function Y(e,n){return e.indexOf("Super Administrator")>=0||(!n||e.some(function(e){return n.indexOf(e)>=0}))}function Z(e){return e.indexOf("Super Administrator")>=0?[].concat(z()(V),z()(H),z()(A)):e.indexOf("Admin")>=0?V:A}v.beforeEach(function(e,n,t){_.a.start(),Object(S.a)()?"/login"===e.path?(t({path:"/admin"}),_.a.done()):0===f.a.getters.roles.length?f.a.dispatch("GetInfo").then(function(n){var i=Z(n.data.roles);sessionStorage.getItem("roles")||v.addRoutes(i),f.a.dispatch("GenerateRoutes",{routers:i,roles:n.data.roles}),!e.meta.role||-1!==F.indexOf(e.path)||Y(n.data.roles,e.meta.roles)?t(C()({},e,{replace:!0})):(t({path:"/404"}),_.a.done())}).catch(function(e){f.a.dispatch("FedLogOut").then(function(){a.Message.error(e||"Verification failed, please login again"),t({path:"/admin"})})}):!e.meta.role||-1!==F.indexOf(e.path)||Y(f.a.getters.roles,e.meta.roles)?t():(t({path:"/404"}),_.a.done()):-1!==F.indexOf(e.path)?t():(t("/login?redirect="+e.path),_.a.done())}),v.afterEach(function(){_.a.done()}),i.default.use(s.a),i.default.use(c.a),i.default.config.productionTip=!1,new i.default({el:"#app",router:v,store:f.a,render:function(e){return e(u)}})},X4fA:function(e,n,t){"use strict";t.d(n,"a",function(){return o}),t.d(n,"c",function(){return s}),t.d(n,"b",function(){return l});var i=t("p46w"),a=t.n(i),c="Admin-Token";function o(){return a.a.get(c)}function s(e){return a.a.set(c,e)}function l(){return a.a.remove(c)}},ZZmv:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},dHYy:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-api",use:"icon-api-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},dbke:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-nav",use:"icon-nav-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},dxv6:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-task",use:"icon-task-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},jxcm:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-bus",use:"icon-bus-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},k80C:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},rMdT:function(e,n,t){},s7Vf:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});o.a.add(s);n.default=s},"sg+I":function(e,n,t){},t3Un:function(e,n,t){"use strict";var i=t("4d7F"),a=t.n(i),c=t("vDqi"),o=t.n(c),s=t("XJYT"),l=t("Q2AE"),r=t("X4fA"),d=o.a.create({baseURL:"https://www.guke1.com",timeout:5e3});d.interceptors.request.use(function(e){return l.a.getters.token&&(e.headers.Authorization="Bearer "+Object(r.a)()),e},function(e){console.log(e),a.a.reject(e)}),d.interceptors.response.use(function(e){var n=e.data;if(200!==n.code){Object(s.Message)({message:n.reason,type:"error",duration:5e3}),50008!==n.code&&50012!==n.code&&50014!==n.code&&1200!==n.code||s.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){l.a.dispatch("FedLogOut").then(function(){location.reload()})});var t=n.reason?n.reason:"error";return a.a.reject(t)}return e.data},function(e){return console.log("err"+e),Object(s.Message)({message:e.message,type:"error",duration:5e3}),a.a.reject(e)}),n.a=d},wqOL:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-add",use:"icon-add-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},xUNX:function(e,n,t){},xVJr:function(e,n,t){"use strict";var i=t("RHgo");t.n(i).a}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"/OCX":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-ico-table",use:"icon-ico-table-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},"0faV":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-article",use:"icon-article-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},"3PhE":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},"6xvN":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},"8fzN":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-tag",use:"icon-tag-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},"96Go":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-ico-aliyun",use:"icon-ico-aliyun-usage",viewBox:"0 0 1844 1024",content:''});o.a.add(s);n.default=s},"9ChT":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-category",use:"icon-category-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},"A0++":function(e,n,t){"use strict";var i=t("xUNX");t.n(i).a},BKkR:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-ico-article",use:"icon-ico-article-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},GPBF:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},GbIm:function(e,n,t){"use strict";var i=t("rMdT");t.n(i).a},Hoqj:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-ico-category",use:"icon-ico-category-usage",viewBox:"0 0 1260 1024",content:''});o.a.add(s);n.default=s},Kj24:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},MMMJ:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},OXmT:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-permission",use:"icon-permission-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},Q2AE:function(e,n,t){"use strict";var i=t("Kw5r"),a=t("L2JU"),c=t("p46w"),o=t.n(c),s={state:{sidebar:{opened:!+o.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop"},mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened?o.a.set("sidebarStatus",1):o.a.set("sidebarStatus",0),e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1},CLOSE_SIDEBAR:function(e,n){o.a.set("sidebarStatus",1),e.sidebar.opened=!1,e.sidebar.withoutAnimation=n},TOGGLE_DEVICE:function(e,n){e.device=n}},actions:{ToggleSideBar:function(e){(0,e.commit)("TOGGLE_SIDEBAR")},CloseSideBar:function(e,n){(0,e.commit)("CLOSE_SIDEBAR",n.withoutAnimation)},ToggleDevice:function(e,n){(0,e.commit)("TOGGLE_DEVICE",n)}}},r=t("gDS+"),l=t.n(r),d=t("4d7F"),u=t.n(d),h=t("t3Un");var m=t("X4fA"),p={state:{token:Object(m.a)(),name:"",avatar:"",roles:[],addRouters:[]},mutations:{SET_TOKEN:function(e,n){e.token=n},SET_NAME:function(e,n){e.name=n},SET_AVATAR:function(e,n){e.avatar=n},SET_ROLES:function(e,n){e.roles=n},SET_ROUTERS:function(e,n){e.addRouters=n}},actions:{Login:function(e,n){var t=e.commit;return new u.a(function(e,i){(function(e){return h.a.post("/api/user/login",e)})(n).then(function(n){var i=n.data;Object(m.c)(i.access_token),t("SET_TOKEN",i.access_token),e()}).catch(function(e){i(e)})})},GetInfo:function(e){var n=e.commit,t=e.state;return new u.a(function(e,i){(function(e){return Object(h.a)({url:"/api/user/info",method:"get",params:{token:e}})})(t.token).then(function(t){var a=t.data;a.roles&&a.roles.length>0?n("SET_ROLES",a.roles):i("getInfo: roles must be a non-null array !"),n("SET_NAME",a.name),n("SET_AVATAR",a.avatar),e(t)}).catch(function(e){i(e)})})},LogOut:function(e){var n=e.commit,t=e.state;return new u.a(function(e,i){(t.token,Object(h.a)({url:"/api/user/logout",method:"post"})).then(function(){n("SET_TOKEN",""),n("SET_ROLES",[]),Object(m.b)(),sessionStorage.setItem("roles",""),e()}).catch(function(e){i(e)})})},FedLogOut:function(e){var n=e.commit;return new u.a(function(e){n("SET_TOKEN",""),Object(m.b)(),e()})},GenerateRoutes:function(e,n){var t=e.commit;return new u.a(function(e){t("SET_ROUTERS",n.routers),sessionStorage.setItem("roles",l()(n.roles)),e()})}}},f={sidebar:function(e){return e.app.sidebar},device:function(e){return e.app.device},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},roles:function(e){return e.user.roles},addRouters:function(e){return e.user.addRouters}};i.default.use(a.a);var v=new a.a.Store({modules:{app:s,user:p},getters:f});n.a=v},"R/Hx":function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},RHgo:function(e,n,t){},TfVu:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});o.a.add(s);n.default=s},TnCw:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-auth",use:"icon-auth-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},"Uf/o":function(e,n,t){var i={"./add.svg":"wqOL","./api.svg":"dHYy","./article.svg":"0faV","./auth.svg":"TnCw","./bus.svg":"jxcm","./category.svg":"9ChT","./example.svg":"MMMJ","./excel.svg":"ZZmv","./eye.svg":"TfVu","./form.svg":"6xvN","./ico-aliyun.svg":"96Go","./ico-article.svg":"BKkR","./ico-category.svg":"Hoqj","./ico-table.svg":"/OCX","./link.svg":"GPBF","./nav.svg":"dbke","./nested.svg":"3PhE","./password.svg":"Kj24","./permission.svg":"OXmT","./role.svg":"Ugzh","./table.svg":"R/Hx","./tag.svg":"8fzN","./task.svg":"dxv6","./tree.svg":"k80C","./user.svg":"s7Vf"};function a(e){var n=c(e);return t(n)}function c(e){var n=i[e];if(!(n+1)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n}a.keys=function(){return Object.keys(i)},a.resolve=c,e.exports=a,a.id="Uf/o"},Ugzh:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-role",use:"icon-role-usage",viewBox:"0 0 1333 1024",content:''});o.a.add(s);n.default=s},Vtdi:function(e,n,t){"use strict";t.r(n);var i=t("Kw5r"),a=(t("9d8Q"),t("XJYT")),c=t.n(a),o=(t("D66Q"),t("cIdk"),t("sg+I"),t("stgD")),s=t.n(o),r=(t("ZOF2"),{name:"App"}),l=(t("A0++"),t("KHd+")),d=Object(l.a)(r,function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},[],!1,null,null,null);d.options.__file="App.vue";var u=d.exports,h=t("jE9Z");i.default.use(h.a);var m=function(){return t.e("chunk-5769").then(t.bind(null,"2c6e"))},p=[].concat([{path:"/",name:"index",component:function(){return t.e("chunk-2bf7").then(t.bind(null,"er4n"))},hidden:!0},{path:"/line",name:"line",component:function(){return t.e("chunk-1fb6").then(t.bind(null,"G5rc"))},hidden:!0},{path:"/home",component:function(){return t.e("chunk-017a").then(t.bind(null,"d7gD"))},hidden:!0},{path:"/md",name:"md",component:function(){return t.e("gW6U").then(t.bind(null,"gW6U"))},hidden:!0},{path:"/out",name:"out",component:function(){return t.e("chunk-5549").then(t.bind(null,"LnUv"))},hidden:!0},{path:"/excel",name:"excel",component:function(){return Promise.all([t.e("chunk-7a80"),t.e("chunk-778d")]).then(t.bind(null,"5EWB"))},hidden:!0},{path:"/upload",name:"upload",component:function(){return t.e("chunk-f5e6").then(t.bind(null,"4p+I"))},hidden:!0},{path:"/websocket",name:"websocket",component:function(){return t.e("chunk-f5ec").then(t.bind(null,"6jsT"))},hidden:!0},{path:"/echarts",name:"echarts",component:function(){return Promise.all([t.e("chunk-06ea"),t.e("chunk-4d97")]).then(t.bind(null,"HnWs"))},hidden:!0},{path:"/login",component:function(){return t.e("chunk-787a").then(t.bind(null,"ntYl"))},hidden:!0},{path:"/404",component:function(){return t.e("chunk-e999").then(t.bind(null,"jNvO"))},hidden:!0},{path:"/admin",component:m,redirect:"/admin/dashboard",name:"Dashboard",hidden:!0,children:[{path:"dashboard",component:function(){return Promise.all([t.e("chunk-06ea"),t.e("chunk-4fcd")]).then(t.bind(null,"lAbF"))}}]}],[{path:"/form",component:m,children:[{path:"index",name:"Form",component:function(){return t.e("chunk-408c").then(t.bind(null,"Nx2/"))},meta:{title:"Form",icon:"form"}}],hidden:!0},{path:"/nested",component:m,redirect:"/nested/menu1",name:"Nested",meta:{title:"Nested",icon:"nested"},children:[{path:"menu1",component:function(){return t.e("6bwb").then(t.bind(null,"6bwb"))},name:"Menu1",meta:{title:"Menu1"},children:[{path:"menu1-1",component:function(){return t.e("kbPl").then(t.bind(null,"kbPl"))},name:"Menu1-1",meta:{title:"Menu1-1"}},{path:"menu1-2",component:function(){return t.e("Vc2m").then(t.bind(null,"Vc2m"))},name:"Menu1-2",meta:{title:"Menu1-2"},children:[{path:"menu1-2-1",component:function(){return t.e("ZYJW").then(t.bind(null,"ZYJW"))},name:"Menu1-2-1",meta:{title:"Menu1-2-1"}},{path:"menu1-2-2",component:function(){return t.e("tvtM").then(t.bind(null,"tvtM"))},name:"Menu1-2-2",meta:{title:"Menu1-2-2"}}]},{path:"menu1-3",component:function(){return t.e("jYsI").then(t.bind(null,"jYsI"))},name:"Menu1-3",meta:{title:"Menu1-3"}}]},{path:"menu2",component:function(){return t.e("27OO").then(t.bind(null,"27OO"))},meta:{title:"menu2"}}]},{path:"*",redirect:"/404",hidden:!0}]),f=new h.a({scrollBehavior:function(){return{y:0}},routes:p}),v=t("Q2AE"),w={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-"+this.iconClass},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},g=(t("GbIm"),Object(l.a)(w,function(){var e=this.$createElement,n=this._self._c||e;return n("svg",{class:this.svgClass,attrs:{"aria-hidden":"true"}},[n("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"22425877",null));g.options.__file="index.vue";var x=g.exports,b={name:"NavBar",data:function(){return{activeIndex:""}}},y=(t("xVJr"),Object(l.a)(b,function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"nav"},[t("el-menu",{staticClass:"el-menu-demo",attrs:{"default-active":e.activeIndex,mode:"horizontal"}},[t("el-row",{attrs:{gutter:1}},[t("el-col",{attrs:{xs:6,sm:6,md:4,lg:4,xl:4}},[t("div",{staticClass:"grid-content"},[t("el-menu-item",{attrs:{index:"1"}},[t("router-link",{attrs:{to:{name:"index"}}},[e._v("公交-首页")])],1)],1)]),e._v(" "),t("el-col",{attrs:{xs:6,sm:6,md:4,lg:4,xl:4}},[t("div",{staticClass:"grid-content"},[t("el-menu-item",{attrs:{index:"3"}},[t("router-link",{staticClass:"login",attrs:{to:{name:"out"}}},[e._v("中文排版")])],1)],1)]),e._v(" "),t("el-col",{attrs:{xs:6,sm:6,md:4,lg:4,xl:4}},[t("div",{staticClass:"grid-content"},[t("el-menu-item",{attrs:{index:"4"}},[t("router-link",{staticClass:"login",attrs:{to:{name:"excel"}}},[e._v("在线表格 Excel")])],1)],1)]),e._v(" "),t("el-col",{attrs:{xs:6,sm:6,md:4,lg:4,xl:4}},[t("div",{staticClass:"grid-content"},[t("el-menu-item",{attrs:{index:"4"}},[t("router-link",{staticClass:"login",attrs:{to:{name:"upload"}}},[e._v("图片转文字")])],1)],1)]),e._v(" "),t("el-col",{attrs:{xs:6,sm:6,md:4,lg:4,xl:4}},[t("div",{staticClass:"grid-content"},[t("el-submenu",{attrs:{index:"2"}},[t("template",{slot:"title"},[e._v("其它工具")]),e._v(" "),t("el-menu-item",{attrs:{index:"2-2"}},[t("router-link",{staticClass:"login",attrs:{to:{name:"md"}}},[e._v("Markdown")])],1),e._v(" "),t("el-menu-item",{attrs:{index:"2-2"}},[t("router-link",{attrs:{to:{name:"echarts"}}},[e._v("图表")])],1)],2)],1)])],1)],1)],1)},[],!1,null,"21a7e4a4",null));y.options.__file="navBar.vue";var k=y.exports;i.default.component("svg-icon",x),i.default.component("nav-bar",k);!function(e){e.keys().map(e)}(t("Uf/o"));var M=t("m1cH"),z=t.n(M),B=t("QbLZ"),C=t.n(B),L=function(){return t.e("chunk-5769").then(t.bind(null,"2c6e"))},E="Super Administrator",V=[{path:"/api_excel",component:L,redirect:"/api_excel/index",name:"Excel-List",meta:{title:"批量测试管理",icon:"ico-table",roles:[E,"Admin"]},children:[{path:"/api_excel/edit/:id",name:"EditExcel",component:function(){return t.e("chunk-5c4a").then(t.bind(null,"F/uS"))},hidden:!0},{path:"/api_excel/add",name:"AddExcel",component:function(){return t.e("chunk-2d3b").then(t.bind(null,"wf12"))},meta:{title:"上传测试",icon:"excel",roles:[E,"Admin"]}},{path:"/api_excel/index",name:"Excel",component:function(){return t.e("chunk-1bf7").then(t.bind(null,"yWqU"))},meta:{title:"测试管理",icon:"ico-aliyun",roles:[E,"Admin"]}},{path:"/api_param/add",name:"AddApiParam",component:function(){return t.e("chunk-088a").then(t.bind(null,"eR/3"))},hidden:!0},{path:"/api_param/edit/:id",name:"EditApiParam",component:function(){return t.e("chunk-7a07").then(t.bind(null,"/+Eh"))},hidden:!0},{path:"/api_param/index",name:"ApiParam",component:function(){return t.e("chunk-6612").then(t.bind(null,"dH62"))},meta:{title:"接口列表",icon:"api",roles:[E,"Admin"]}}]}],H=[{path:"/category",component:L,redirect:"/category/index",name:"Category-Nav",meta:{title:"栏目菜单",icon:"category",roles:[E]},children:[{path:"/category/add",name:"AddCategory",component:function(){return t.e("chunk-f699").then(t.bind(null,"GMaQ"))},meta:{title:"添加栏目"},hidden:!0},{path:"/category/edit/:id",name:"EditCategory",component:function(){return t.e("chunk-65a4").then(t.bind(null,"1ylW"))},hidden:!0},{path:"/category/index",name:"Category",component:function(){return t.e("chunk-c28c").then(t.bind(null,"oZKA"))},meta:{title:"栏目管理",icon:"ico-category",roles:[E]}},{path:"/nav/add",name:"AddNav",component:function(){return t.e("chunk-229e").then(t.bind(null,"JPfX"))},hidden:!0},{path:"/nav/edit/:id",name:"EditNav",component:function(){return t.e("chunk-6f3d").then(t.bind(null,"LnHU"))},hidden:!0},{path:"/nav",name:"Nav",component:function(){return t.e("chunk-648e").then(t.bind(null,"mxRw"))},meta:{title:"导航管理",icon:"nav",roles:[E]}},{path:"/tag/add",name:"AddTag",component:function(){return t.e("chunk-3843").then(t.bind(null,"+1ta"))},meta:{title:"添加标签"},hidden:!0},{path:"/tag/edit/:id",name:"EditTag",component:function(){return t.e("chunk-6637").then(t.bind(null,"S2fK"))},hidden:!0},{path:"/tag",name:"Tag",component:function(){return t.e("chunk-78cb").then(t.bind(null,"ZhNY"))},meta:{title:"标签列表",icon:"tag",roles:[E]}}]},{path:"/article",component:L,name:"Article-List",meta:{title:"文章管理",icon:"article",roles:[E]},children:[{path:"/article/edit/:id",name:"EditArticle",component:function(){return t.e("chunk-b179").then(t.bind(null,"++5l"))},hidden:!0},{path:"/article/index",name:"Article",component:function(){return t.e("chunk-39ed").then(t.bind(null,"Iwy+"))},meta:{title:"文章管理",icon:"ico-article",roles:[E]}},{path:"/article/add",name:"AddArticle",component:function(){return t.e("chunk-318c").then(t.bind(null,"/cac"))},meta:{title:"添加文章",icon:"add",roles:[E]}}]},{path:"/list",component:L,redirect:"/task",name:"公交",meta:{title:"公交管理",icon:"bus",roles:[E]},children:[{path:"/task/search",name:"search",component:function(){return t.e("chunk-fde2").then(t.bind(null,"Keas"))},hidden:!0},{path:"/task/newBus",name:"NewBus",component:function(){return t.e("chunk-3fdb").then(t.bind(null,"GRON"))},hidden:!0},{path:"/task/edit/:id",name:"taskEdit",component:function(){return t.e("chunk-056c").then(t.bind(null,"J1Jp"))},hidden:!0},{path:"/task",name:"定时任务",component:function(){return t.e("chunk-5a05").then(t.bind(null,"xDC0"))},meta:{title:"定时任务",icon:"task",roles:[E]}},{path:"lines/add",name:"linesAdd",component:function(){return t.e("chunk-5463").then(t.bind(null,"V9Fe"))},hidden:!0},{path:"lines/edit/:id",name:"linesEdit",component:function(){return t.e("chunk-47f3").then(t.bind(null,"bAuQ"))},hidden:!0},{path:"lines",name:"公交列表",component:function(){return t.e("chunk-bb38").then(t.bind(null,"HBaq"))},meta:{title:"公交列表",icon:"table",roles:[E]}},{path:"config",name:"配置管理",component:function(){return t.e("chunk-7ddc").then(t.bind(null,"60Md"))},meta:{title:"配置列表",icon:"table",roles:[E]}},{path:"tree",name:"Tree",component:function(){return t.e("ad09").then(t.bind(null,"ad09"))},meta:{title:"Tree",icon:"tree",roles:[E]},hidden:!0}]},{path:"user",component:L,redirect:"/user",name:"权限",meta:{title:"权限管理",icon:"auth",roles:[E]},children:[{path:"index",name:"userIndex",component:function(){return t.e("chunk-5f34").then(t.bind(null,"44Km"))},hidden:!0},{path:"password",name:"userPassword",component:function(){return t.e("chunk-4d73").then(t.bind(null,"HwY3"))},hidden:!0},{path:"/user/add",name:"AddUser",component:function(){return t.e("chunk-204a").then(t.bind(null,"fqc2"))},hidden:!0},{path:"/user/edit/:id",name:"EditUser",component:function(){return t.e("chunk-692d").then(t.bind(null,"00Qp"))},hidden:!0},{path:"/user",name:"用户管理",component:function(){return t.e("chunk-5f34").then(t.bind(null,"44Km"))},meta:{title:"用户列表",icon:"user",roles:[E]}},{path:"/permission/add",name:"AddPermission",component:function(){return t.e("chunk-5329").then(t.bind(null,"oKS6"))},hidden:!0},{path:"/permission/edit/:id",name:"EditPermission",component:function(){return t.e("chunk-061c").then(t.bind(null,"t2jL"))},hidden:!0},{path:"/permission",name:"权限列表",component:function(){return t.e("chunk-833a").then(t.bind(null,"wjrd"))},meta:{title:"权限列表",icon:"permission",roles:[E]}},{path:"/role/add",name:"Addroles",component:function(){return t.e("chunk-5dcb").then(t.bind(null,"rwG5"))},hidden:!0},{path:"/role/edit/:id",name:"Editroles",component:function(){return t.e("chunk-c495").then(t.bind(null,"XqkG"))},hidden:!0},{path:"/role",name:"角色管理",component:function(){return t.e("chunk-2f00").then(t.bind(null,"bDWH"))},meta:{title:"角色管理",icon:"role",roles:[E]}}]}],_=[],A=t("Mj6V"),O=t.n(A),S=(t("pdi6"),t("X4fA"));if(0===v.a.getters.roles.length&&sessionStorage.getItem("roles")){var I=JSON.parse(sessionStorage.getItem("roles")),T=Z(I);v.a.dispatch("GenerateRoutes",{routers:T,roles:I}),f.addRoutes(T)}var F=["/login","/index","/line","/home","/404","/","","/echarts","/md","/out","/excel","/upload"];function Y(e,n){return e.indexOf("Super Administrator")>=0||(!n||e.some(function(e){return n.indexOf(e)>=0}))}function Z(e){return e.indexOf("Super Administrator")>=0?[].concat(z()(V),z()(H),z()(_)):e.indexOf("Admin")>=0?V:_}f.beforeEach(function(e,n,t){O.a.start(),Object(S.a)()?"/login"===e.path?(t({path:"/admin"}),O.a.done()):0===v.a.getters.roles.length?v.a.dispatch("GetInfo").then(function(n){var i=Z(n.data.roles);sessionStorage.getItem("roles")||f.addRoutes(i),v.a.dispatch("GenerateRoutes",{routers:i,roles:n.data.roles}),!e.meta.role||-1!==F.indexOf(e.path)||Y(n.data.roles,e.meta.roles)?t(C()({},e,{replace:!0})):(t({path:"/404"}),O.a.done())}).catch(function(e){v.a.dispatch("FedLogOut").then(function(){a.Message.error(e||"Verification failed, please login again"),t({path:"/admin"})})}):!e.meta.role||-1!==F.indexOf(e.path)||Y(v.a.getters.roles,e.meta.roles)?t():(t({path:"/404"}),O.a.done()):-1!==F.indexOf(e.path)?t():(t("/login?redirect="+e.path),O.a.done())}),f.afterEach(function(){O.a.done()}),i.default.use(s.a),i.default.use(c.a),i.default.config.productionTip=!1,new i.default({el:"#app",router:f,store:v.a,render:function(e){return e(u)}})},X4fA:function(e,n,t){"use strict";t.d(n,"a",function(){return o}),t.d(n,"c",function(){return s}),t.d(n,"b",function(){return r});var i=t("p46w"),a=t.n(i),c="Admin-Token";function o(){return a.a.get(c)}function s(e){return a.a.set(c,e)}function r(){return a.a.remove(c)}},ZZmv:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},dHYy:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-api",use:"icon-api-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},dbke:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-nav",use:"icon-nav-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},dxv6:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-task",use:"icon-task-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},jxcm:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-bus",use:"icon-bus-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},k80C:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);n.default=s},rMdT:function(e,n,t){},s7Vf:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});o.a.add(s);n.default=s},"sg+I":function(e,n,t){},t3Un:function(e,n,t){"use strict";var i=t("4d7F"),a=t.n(i),c=t("vDqi"),o=t.n(c),s=t("XJYT"),r=t("Q2AE"),l=t("X4fA"),d=o.a.create({baseURL:"https://www.guke1.com",timeout:5e3,retry:3,retryDelay:300});d.interceptors.request.use(function(e){return r.a.getters.token&&(e.headers.Authorization="Bearer "+Object(l.a)()),e},function(e){console.log(e),a.a.reject(e)}),d.interceptors.response.use(function(e){var n=e.data;if(200!==n.code){Object(s.Message)({message:n.reason,type:"error",duration:5e3}),50008!==n.code&&50012!==n.code&&50014!==n.code&&1200!==n.code||s.MessageBox.confirm("你已被登出,可以取消继续留在该页面,或者重新登录","确定登出",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(function(){r.a.dispatch("FedLogOut").then(function(){location.reload()})});var t=n.reason?n.reason:"error";return a.a.reject(t)}return e.data},function(e){console.log("err"+e);var n=e.config;return console.log(n),n&&n.retry?(n.__retryCount=n.__retryCount||0,n.__retryCount>=n.retry?(Object(s.Message)({message:e.message,type:"error",duration:5e3}),a.a.reject(e)):(n.__retryCount+=1,new a.a(function(e){setTimeout(function(){e()},n.retryDelay||1)}).then(function(){return o()(n)}))):a.a.reject(e)}),n.a=d},wqOL:function(e,n,t){"use strict";t.r(n);var i=t("4BeY"),a=t.n(i),c=t("IaFt"),o=t.n(c),s=new a.a({id:"icon-add",use:"icon-add-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);n.default=s},xUNX:function(e,n,t){},xVJr:function(e,n,t){"use strict";var i=t("RHgo");t.n(i).a}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]); \ No newline at end of file diff --git a/laravel/public/static/js/chunk-1a1c.619f638e.js b/laravel/public/static/js/chunk-1a1c.619f638e.js deleted file mode 100644 index 6e556d55e698d9ee3b1413ef9959f7730345aa5a..0000000000000000000000000000000000000000 --- a/laravel/public/static/js/chunk-1a1c.619f638e.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-1a1c"],{lAbF:function(t,e,a){"use strict";a.r(e);var i=a("QbLZ"),s=a.n(i),n=a("L2JU"),l=a("t3Un");var c=a("MT78"),r=a.n(c),o={name:"Dashboard",data:function(){return{loading:!1,is_serve:!0,is_php:!0,serve:[],php:[],activeNames:["1","2"],chartLine:null,xData:["周一","周二","周三","周四","周五","周六","周日"]}},computed:s()({},Object(n.b)(["name","roles"])),created:function(){this.init()},mounted:function(){},updated:function(){},methods:{init:function(){var t=this;this.loading=!0,function(t){return Object(l.a)({url:"/api/admin/system",method:"get",params:t})}().then(function(e){t.loading=!1,t.serve=e.data.serve,t.php=e.data.php}),function(t){return Object(l.a)({url:"/api/admin/report",method:"get",params:t})}({section:7}).then(function(e){t.xData=e.data.date,t.yData=e.data.success_slide,t.drawLineChart()}).catch(function(e){console.log(e),t.drawLineChart()})},closeServe:function(){this.is_serve=!1},closePhp:function(){this.is_php=!1},handleChange:function(t){console.log(t)},drawLineChart:function(){this.chartLine=r.a.init(document.getElementById("chartLine")),this.chartLine.setOption({color:["#3398DB"],title:{text:"登录日志数据"},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["登录成功"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:this.xData,axisTick:{alignWithLabel:!0}},yAxis:{type:"value"},series:[{barWidth:"60%",name:"登录成功",type:"bar",stack:"总量",data:this.yData,smooth:!0}]})}}},d=(a("nHSv"),a("KHd+")),h=Object(d.a)(o,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dashboard-container"},[t._m(0),t._v(" "),a("el-card",{staticClass:"box-card"},[a("el-collapse",{on:{change:t.handleChange},model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[a("el-collapse-item",{attrs:{title:"服务器配置",name:"1"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.serve}},[a("el-table-column",{attrs:{prop:"name",label:"名称",width:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"value",label:"数值",width:""}})],1)],1)],1)],1),t._v(" "),a("el-card",{staticClass:"box-card"},[a("el-collapse",{on:{change:t.handleChange},model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[a("el-collapse-item",{attrs:{title:"服务器配置",name:"2"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.php}},[a("el-table-column",{attrs:{prop:"name",label:"名称",width:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"value",label:"数值",width:""}})],1)],1)],1)],1),t._v(" "),a("div",{staticClass:"clearfix"}),t._v(" "),t._m(1),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"dashboard-text"},[t._v("name:"+t._s(t.name))]),t._v(" "),a("div",{staticClass:"dashboard-text"},[t._v("roles:"),t._l(t.roles,function(e){return a("span",{key:e},[t._v(t._s(e))])})],2)]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticStyle:{width:"100%",height:"400px"},attrs:{id:"chartLine"}})]),t._v(" "),a("div",{staticClass:"clearfix"})],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("fieldset",{staticClass:"layui-elem-field layui-field-title",staticStyle:{"margin-top":"20px"}},[e("legend",[this._v("服务器信息")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("fieldset",{staticClass:"clearfix layui-elem-field layui-field-title",staticStyle:{"margin-top":"20px"}},[e("legend",[this._v("管理员信息")])])}],!1,null,"a63748b2",null);h.options.__file="index.vue";e.default=h.exports},nHSv:function(t,e,a){"use strict";var i=a("yK6i");a.n(i).a},yK6i:function(t,e,a){}}]); \ No newline at end of file diff --git a/laravel/public/static/js/chunk-4fcd.37929134.js b/laravel/public/static/js/chunk-4fcd.37929134.js new file mode 100644 index 0000000000000000000000000000000000000000..b38eb5d5157cf58a7f5e3e3ccd438ef4912db62b --- /dev/null +++ b/laravel/public/static/js/chunk-4fcd.37929134.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-4fcd"],{"4WiM":function(t,e,a){},EU5h:function(t,e,a){"use strict";var i=a("4WiM");a.n(i).a},lAbF:function(t,e,a){"use strict";a.r(e);var i=a("QbLZ"),s=a.n(i),n=a("L2JU"),l=a("t3Un");var c=a("MT78"),r=a.n(c),o={name:"Dashboard",data:function(){return{loading:!1,is_serve:!0,is_php:!0,serve:[],php:[],activeNames:["1","2"],chartLine:null,xData:["周一","周二","周三","周四","周五","周六","周日"]}},computed:s()({},Object(n.b)(["name","roles"])),created:function(){this.init()},mounted:function(){},updated:function(){},methods:{init:function(){var t=this;this.loading=!0,function(t){return Object(l.a)({url:"/api/admin/system",method:"get",params:t})}().then(function(e){t.loading=!1,t.serve=e.data.serve,t.php=e.data.php}),function(t){return Object(l.a)({url:"/api/admin/report",method:"get",params:t})}({section:7}).then(function(e){t.xData=e.data.date,t.yData=e.data.success_slide,t.drawLineChart()}).catch(function(e){console.log(e),t.drawLineChart()})},closeServe:function(){this.is_serve=!1},closePhp:function(){this.is_php=!1},handleChange:function(t){console.log(t)},drawLineChart:function(){this.chartLine=r.a.init(document.getElementById("chartLine")),this.chartLine.setOption({color:["#3398DB"],title:{text:"登录日志数据"},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["登录成功"]},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:this.xData,axisTick:{alignWithLabel:!0}},yAxis:{type:"value"},series:[{barWidth:"60%",name:"登录成功",type:"line",stack:"总量",data:this.yData,smooth:!0}]})}}},d=(a("EU5h"),a("KHd+")),h=Object(d.a)(o,function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"dashboard-container"},[t._m(0),t._v(" "),a("el-card",{staticClass:"box-card"},[a("el-collapse",{on:{change:t.handleChange},model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[a("el-collapse-item",{attrs:{title:"服务器配置",name:"1"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.serve}},[a("el-table-column",{attrs:{prop:"name",label:"名称",width:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"value",label:"数值",width:""}})],1)],1)],1)],1),t._v(" "),a("el-card",{staticClass:"box-card"},[a("el-collapse",{on:{change:t.handleChange},model:{value:t.activeNames,callback:function(e){t.activeNames=e},expression:"activeNames"}},[a("el-collapse-item",{attrs:{title:"服务器配置",name:"2"}},[a("el-table",{staticStyle:{width:"100%"},attrs:{data:t.php}},[a("el-table-column",{attrs:{prop:"name",label:"名称",width:""}}),t._v(" "),a("el-table-column",{attrs:{prop:"value",label:"数值",width:""}})],1)],1)],1)],1),t._v(" "),a("div",{staticClass:"clearfix"}),t._v(" "),t._m(1),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"dashboard-text"},[t._v("name:"+t._s(t.name))]),t._v(" "),a("div",{staticClass:"dashboard-text"},[t._v("roles:"),t._l(t.roles,function(e){return a("span",{key:e},[t._v(t._s(e))])})],2)]),t._v(" "),a("el-card",{staticClass:"box-card"},[a("div",{staticStyle:{width:"100%",height:"400px"},attrs:{id:"chartLine"}})]),t._v(" "),a("div",{staticClass:"clearfix"})],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("fieldset",{staticClass:"layui-elem-field layui-field-title",staticStyle:{"margin-top":"20px"}},[e("legend",[this._v("服务器信息")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("fieldset",{staticClass:"clearfix layui-elem-field layui-field-title",staticStyle:{"margin-top":"20px"}},[e("legend",[this._v("管理员信息")])])}],!1,null,"27d61ef7",null);h.options.__file="index.vue";e.default=h.exports}}]); \ No newline at end of file