webpackJsonp([32],{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=32.34c6c67d1f9e29e97828.js.map