|
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1f7519e6"],{"65b7":function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("app-header",{directives:[{name:"show",rawName:"v-show",value:e.showHeader,expression:"showHeader"}],attrs:{theme:"white",backBtnTitle:e.companyName,canBackBtnTitleClick:!1,onBackBtnClick:e.onBackBtnClick,showUserCenter:""},scopedSlots:e._u([{key:"center",fn:function(){return[n("app-nav",{attrs:{list:e.navList}})]},proxy:!0}])}),n("router-view")],1)},r=[],c=(n("13d5"),n("b0c0"),n("f96e")),o=n("bb14"),s=function(e,t){return{key:e,label:t}},i=[s("template_console","模板控制台")],u=i.reduce((function(e,t){return e[t.key]=!0,e}),{}),l=function(e){return u[e]},p={components:{AppHeader:c["a"],AppNav:o["a"]},data:function(){return{showHeader:l(this.$route.name),companyName:this.$store.state.currentPlatform.orgName,navList:i}},methods:{onBackBtnClick:function(){this.$router.push({name:"platform"})}},watch:{$route:function(e){this.showHeader=l(e.name)}}},f=p,h=n("2877"),d=Object(h["a"])(f,a,r,!1,null,null,null);t["default"]=d.exports},ae7f:function(e,t,n){},bb14:function(e,t,n){"use strict";var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-nav"},e._l(e.list,(function(t){return n("div",{key:t.key,staticClass:"app-nav-item no-drag",class:{"app-nav-item-active":0===e.currentKey.indexOf(t.key)},on:{click:function(n){return e.goto(t.key)}}},[e._v(" "+e._s(t.label)+" ")])})),0)},r=[],c=(n("b0c0"),{props:{list:Array},data:function(){return{currentKey:this.$route.name}},methods:{goto:function(e){this.$router.push({name:e})}},watch:{$route:function(e){this.currentKey=e.name}}}),o=c,s=(n("c84d"),n("2877")),i=Object(s["a"])(o,a,r,!1,null,"49e804bc",null);t["a"]=i.exports},c84d:function(e,t,n){"use strict";var a=n("ae7f"),r=n.n(a);r.a},f96e:function(e,t,n){"use strict";var a=n("01a8");n.d(t,"a",(function(){return a["a"]}))}}]);
|