webpackJsonp([89],{"Kj+C":function(t,a){},qSX4:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=e("Gu7T"),i=e.n(n),o=e("bzW+"),c=e("Qie6"),s=e("Z8ln"),r=e("Ch4/"),h=e("P9l9"),d={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"指标管理",activeSelTab:"1",activeTab:"1",navpath:[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"}],defaultNavpath:[{name:"首页",path:"/index"},{name:"指标管理",path:"/monthList"}],tabListData:[{tabId:"1",tabName:"月指标",icon:"iconzhibiao"},{tabId:"2",tabName:"月指标任务",icon:"iconrenwu"}],navName:{1:"月指标",11:"门店月指标",111:"导购月指标详情",12:"商户日权重月指标",2:"月指标任务",21:"月指标任务详情"},navFrontPath:{1:"/monthList",11:"/monthList",111:"/storeMonthTask",12:"/monthList",13:"/monthList",2:"/monthList",21:"/monthTask"},activeBrand:"",activeGroup:"",expiredFlag:!1}},computed:{},methods:{getExpired:function(){var t=this,a={enterpriseId:t.activeBrand};Object(h.b)("/haoban-manage3-web/enterprise-is-over",a).then(function(a){var e=a.data;1!=e.errorCode?r.a.errorMsg(e):t.expiredFlag=e.result}).catch(function(a){t.$message.error({duration:1e3,message:a.message})})},changeRoute:function(t){this.$router.push(t)},selectBrandId:function(t,a){this.activeBrand=t,this.activeGroup=a,this.getExpired()},setSelectTab:function(t){switch(this.activeTab=t.tabId,t.tabId){case"1":this.changeRoute("monthList");break;case"2":this.changeRoute("monthTask")}},showTab:function(t){var a=this,e=[].concat(Array.prototype.slice.call(arguments));this.activeTab=t,this.activeSelTab=t,this.navpath=[].concat(i()(this.defaultNavpath)),e.length&&e.map(function(t){a.navpath[a.navpath.length-1].path="111"===t?a.navFrontPath[t]+"?yearMonth="+a.$route.query.yearMonth:a.navFrontPath[t],a.navpath.push({name:a.navName[t],path:""})})}},watch:{activeBrand:function(t,a){this.activeBrand=t},activeGroup:function(t,a){this.activeGroup=t}},mounted:function(){document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{navCrumb:o.a,commonDetailLeft:c.a,expiredDialog:s.a}},v={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"my-customer-wrap common-set-wrap"},[e("nav-crumb",{attrs:{navpath:t.navpath},on:{selectBrandId:t.selectBrandId}}),t._v(" "),e("div",{staticClass:"right-content"},[e("div",{staticClass:"right-box",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content flex",staticStyle:{"min-height":"calc(100vh - 112px)"}},[e("div",{staticClass:"apps-content-left w-157"},[e("common-detail-left",{attrs:{tabListData:t.tabListData,activeSelTab:t.activeSelTab},on:{setSelectTab:t.setSelectTab}})],1),t._v(" "),e("div",{staticClass:"apps-content-right"},[e("transition",{attrs:{name:"fade",mode:"out-in"}},[t.$route.meta.keepAlive?e("keep-alive",[t.activeBrand?e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}}):t._e()],1):e("router-view",{attrs:{brandId:t.activeBrand,activeGroupId:t.activeGroup,tabType:t.activeTab},on:{showTab:t.showTab}})],1)],1)])])]),t._v(" "),t.expiredFlag?e("expired-dialog"):t._e()],1)},staticRenderFns:[]};var u=e("VU/8")(d,v,!1,function(t){e("Kj+C")},"data-v-4d124316",null);a.default=u.exports}});