|
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d4e6d2d8"],{"17b3":function(t,e,n){},7837:function(t,e,n){"use strict";var r=n("17b3"),o=n.n(r);o.a},ae7f:function(t,e,n){},bb14:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-nav"},t._l(t.list,(function(e){return n("div",{key:e.key,staticClass:"app-nav-item no-drag",class:{"app-nav-item-active":0===t.currentKey.indexOf(e.key)},on:{click:function(n){return t.goto(e.key)}}},[t._v(" "+t._s(e.label)+" ")])})),0)},o=[],a=(n("b0c0"),{props:{list:Array},data:function(){return{currentKey:this.$route.name}},methods:{goto:function(t){this.$router.push({name:t})}},watch:{$route:function(t){this.currentKey=t.name}}}),c=a,s=(n("c84d"),n("2877")),u=Object(s["a"])(c,r,o,!1,null,"49e804bc",null);e["a"]=u.exports},c84d:function(t,e,n){"use strict";var r=n("ae7f"),o=n.n(r);o.a},f364:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("app-header",{directives:[{name:"show",rawName:"v-show",value:t.showHeader,expression:"showHeader"}],attrs:{theme:"white",backBtnTitle:"返回",onBackBtnClick:t.onBackBtnClick},scopedSlots:t._u([{key:"right",fn:function(){return[n("span",{staticClass:"header-logout",on:{click:t.tryToLogout}},[t._v("退出登录")])]},proxy:!0},{key:"center",fn:function(){return[n("app-nav",{attrs:{list:t.navList}})]},proxy:!0}])}),n("router-view")],1)},o=[],a=(n("13d5"),n("b0c0"),n("f96e")),c=n("bb14"),s=(n("1d40"),function(t,e){return{key:t,label:e}}),u=[s("system_customer","客户列表"),s("system_template","流程模板")],i=u.reduce((function(t,e){return t[e.key]=!0,t}),{});i["system_template_file"]=!0;var l=function(t){return i[t]},f={components:{AppHeader:a["a"],AppNav:c["a"]},data:function(){return{showHeader:l(this.$route.name),navList:u}},methods:{onBackBtnClick:function(){this.$router.push({name:"platform"})},tryToLogout:function(){var t=this;this.$confirm("退出当前账户,是否继续?","",{confirmButtonText:"确定",cancelButtonText:"取消",showClose:!1,type:"warning"}).then((function(){t.$store.logout(),t.$router.push({path:"/",query:{isChangeCount:!0}})})).catch((function(t){return console.log(t)}))}},watch:{$route:function(t){this.showHeader=l(t.name)}}},p=f,h=(n("7837"),n("2877")),d=Object(h["a"])(p,r,o,!1,null,"f67b3230",null);e["default"]=d.exports},f96e:function(t,e,n){"use strict";var r=n("01a8");n.d(e,"a",(function(){return r["a"]}))}}]);
|