webpackJsonp([68],{"av/3":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a("2eFk"),r=a("fvdr"),n=a("Qie6"),o=a("F3nK"),c=a("Ch4/"),s=a("P9l9"),d={name:"reviewed",data:function(){return{bgHeight:window.screen.availHeight-380+"px",appName:"企业公告",appIcon:"icon-gonggao",activeSelTab:"1",activeTab:"1",tabListData:[{id:"1",name:"企业公告列表",icon:"",onlyIconActive:!1},{id:"2",name:"新建公告",icon:"",onlyIconActive:!1}],activeBrand:"",activeGroup:"",expiredFlag:!1,forbidFlag:"forbid",gicEnterpriseId:""}},computed:{},methods:{getExpired:function(){var e=this,t={enterpriseId:e.gicEnterpriseId};Object(s.a)("/haoban-manage-web/enterprise/enterprise-is-over",t).then(function(t){var a=t.data;if(1==a.errorCode)return e.expiredFlag=a.result,void(e.forbidFlag="expired");c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},getUpdated:function(){var e=this,t={enterpriseId:e.gicEnterpriseId};Object(s.a)("/haoban-manage-web/enterprise/enterprise-is-use-three",t).then(function(t){var a=t.data;if(1==a.errorCode)return e.expiredFlag=a.result,void(e.forbidFlag="forbid");c.a.errorMsg(a)}).catch(function(t){e.$message.error({duration:1e3,message:t.message})})},changeRoute:function(e){this.$router.push(e)},selectBrandId:function(e,t,a){this.activeBrand=e,this.activeGroup=t,this.gicEnterpriseId=a}},watch:{activeBrand:function(e,t){this.activeBrand=e},activeGroup:function(e,t){this.activeGroup=e}},mounted:function(){var e=this.$route.query.appIcon;e&&(this.appIcon=window.unescape(e)),document.documentElement.style.backgroundColor="#f0f2f5"},destroyed:function(){document.documentElement.style.backgroundColor="#fff"},components:{appDetail:i.a,commonAppTop:r.a,commonDetailLeft:n.a,expiredDialog:o.a}},p={render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-customer-wrap common-set-wrap"},[a("div",{staticClass:"right-content"},[a("common-app-top",{attrs:{appName:e.appName,appIcon:e.appIcon},on:{selectBrandId:e.selectBrandId}}),e._v(" "),a("div",{staticClass:"right-box",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content flex",style:{"min-height":e.bgHeight}},[a("div",{staticClass:"apps-content-right"},[a("transition",{attrs:{name:"fade",mode:"out-in"}},[a("router-view",{attrs:{brandId:e.activeBrand,activeGroupId:e.activeGroup}})],1)],1)])])],1),e._v(" "),e.expiredFlag?a("expired-dialog",{attrs:{forbidFlag:e.forbidFlag}}):e._e(),e._v(" "),a("vue-gic-footer")],1)},staticRenderFns:[]};var u=a("VU/8")(d,p,!1,function(e){a("qVzC")},"data-v-6a56e090",null);t.default=u.exports},qVzC:function(e,t){}});