webpackJsonp([30],{gOFg:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=t("P9l9"),n={name:"public_num_attention",data:function(){return{baseUrl:"",enterpriseId:"",backgroundMode:""}},beforeMount:function(){var e=window.location.origin;console.log("当前host:",e),"-1"!=e.indexOf("localhost")?this.baseUrl="http://gicdev.demogic.com":this.baseUrl=e},methods:{redirect:function(e){var r=this,t={eid:e};Object(o.a)("/api-auth/do-login-for-clique",t).then(function(e){var t=e.data;if(0==t.errorCode){var o=r.baseUrl+"";return 1==r.backgroundMode?void(window.location.href=o+"/middle-ground/#/index"):void(window.location.href=o+"/report/#/memberSummary")}errMsg.errorMsg(t)}).catch(function(e){console.log(e),r.$message.error({duration:1e3,message:e.message})})}},mounted:function(){console.log("mounted",this.$route.query.gradeId),this.enterpriseId=this.$route.query.enterpriseId,this.backgroundMode=this.$route.query.backgroundMode,this.redirect(this.enterpriseId)}},i={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"right-wrap"})},staticRenderFns:[]},s=t("VU/8")(n,i,!1,null,null,null);r.default=s.exports}});
//# sourceMappingURL=30.666907bd786bd3d85c16.js.map