1 line
21 KiB
JavaScript
1 line
21 KiB
JavaScript
|
|
webpackJsonp([37],{0:function(e,t){},"0iHA":function(e,t){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"16%"}},"15wH":function(e,t){},"6LrX":function(e,t){},"8bMC":function(e,t){},E4LH:function(e,t,n){"use strict";t.c=function(e){if(!e)return!0;if(""===e||null===e)return!1;if(/[`~!@#?$%^&*()+<>?:"{},\/;'[\]]/im.test(e)||e.length>50)return!1;return!0},t.a=function(e){return/^(https?:|mailto:|tel:)/.test(e)},t.b=function(e,t){if("string"==typeof e)return e;var n=e.getFullYear(),i=e.getMonth()+1;i=i<10?"0"+i:i;var a=e.getDate();a=a<10?"0"+a:a;var o=e.getHours();o=o<10?"0"+o:o;var r=e.getMinutes();r=r<10?"0"+r:r;var l=e.getSeconds();if(l=l<10?"0"+l:l,"date"==t)return n+"-"+i+"-"+a;return n+"-"+i+"-"+a+" "+o+":"+r+":"+l};var i=n("pFYg");n.n(i)},F5sT:function(e,t){e.exports={title:"Vue Admin Template",fixedHeader:!1,sidebarLogo:!1}},HtQT:function(e,t){},KgK4:function(e,t){},NHnr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("7+uW"),a={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},staticRenderFns:[]};var o=n("VU/8")({name:"App",mounted:function(){}},a,!1,function(e){n("PDP/"),n("0iHA"),n("8bMC")},null,null).exports,r=n("zL8q"),l=n.n(r),s=n("XLwt"),u=n.n(s),c=(n("KgK4"),n("XSKG"),n("wUZ8"),n("Vi3T")),p=n.n(c),m=n("/ocq"),d=n("Dd8w"),h=n.n(d),f=n("NYxO"),g=n("Ygqm"),b=n.n(g),v={data:function(){return{levelList:null}},watch:{$route:function(){this.getBreadcrumb()}},created:function(){this.getBreadcrumb()},methods:{getBreadcrumb:function(){var e=this.$route.matched.filter(function(e){return e.meta&&e.meta.title}),t=e[0];this.isDashboard(t)||(e=[{path:"/",meta:{title:"#"}}].concat(e)),this.levelList=e.filter(function(e){return e.meta&&e.meta.title&&!1!==e.meta.breadcrumb})},isDashboard:function(e){var t=e&&e.name;return!!t&&t.trim().toLocaleLowerCase()==="Dashboard".toLocaleLowerCase()},pathCompile:function(e){var t=this.$route.params;return b.a.compile(e)(t)},handleLink:function(e){var t=e.redirect,n=e.path;console.log(e),t?this.$router.push(t):this.$router.push(this.pathCompile(n))}}},y={render: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,i){return n("el-breadcrumb-item",{key:t.path},["noRedirect"===t.redirect||i==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)},staticRenderFns:[]};var _=n("VU/8")(v,y,!1,function(e){n("HtQT")},"data-v-bf674c4c",null).exports,C={name:"Hamburger",props:{isActive:{type:Boolean,default:!1}},computed:h()({},Object(f.b)(["sidebar","avatar"])),methods:{toggleClick:function(){this.$emit("toggleClick")}}},S={render:function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticStyle:{padding:"0 15px"},on:{click:this.toggleClick}},[t("i",{staticClass:"el-icon-s-unfold hamburger",class:{"is-active":this.isActive},staticStyle:{fontSize:"20px"}})])},staticRenderFns:[]};var A=n("VU/8")(C,S,!1,function(e){n("vFUK")},"data-v-0be2fece",null).exports,w=n("TIfe"),E=n("l4Jg"),P={components:{Breadcrumb:_,Hamburger:A},data:function(){return{loginStatuss:"",activeIndex:"1",options:[{value:"选项1",label:"黄金糕"},{value:"选项2",label:"双皮奶"},{value:"选项3",label:"蚵仔煎"},{value:"选项4",label:"龙须面"},{value:"选项5",label:"北京烤鸭"}],value:"",cu:"cas"}},computed:h()({},Object(f.b)(["sidebar","avatar"])),created:function(){this.getZw(),this.loginStatuss=this.$store.state.app.cu},mounted:function(){},methods:{loginIn:function(){window.location.href="http://10.10.150.237/login?service=http://10.10.151.3:5555/api/login/cas?sign=asos_service"},loginOut:function(){var e=this;this.$confirm("是否确定注销?","提示",{confirmB
|