webpackJsonp([30],{gOFg:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("P9l9"),o={name:"public_num_attention",data:function(){return{baseUrl:"",enterpriseId:""}},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 t=this,r={eid:e};Object(n.a)("/api-auth/do-login-for-clique",r).then(function(e){var r=e.data;if(0!=r.errorCode)errMsg.errorMsg(r);else{var n=t.baseUrl+"";window.location.href=n+"/report/#/memberSummary"}}).catch(function(e){console.log(e),t.$message.error({duration:1e3,message:e.message})})}},mounted:function(){console.log("mounted",this.$route.query.gradeId),this.enterpriseId=this.$route.query.enterpriseId,this.redirect(this.enterpriseId)}},i={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"right-wrap"})},staticRenderFns:[]},s=r("VU/8")(o,i,!1,null,null,null);t.default=s.exports}});
//# sourceMappingURL=30.ebb71c6a502890f047f8.js.map