webpackJsonp([30],{gOFg:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("P9l9"),i=r("0xDb"),o={name:"public_num_attention",data:function(){return{baseUrl:"",enterpriseId:"",backgroundMode:""}},beforeMount:function(){var e=window.location.origin;Object(i.a)("当前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){var n=t.baseUrl+"";return 1==t.backgroundMode?void(window.location.href=n+"/middle-ground/#/index"):void(window.location.href=n+"/report/#/memberSummary")}t.$message.error({duration:1e3,message:r.message})}).catch(function(e){Object(i.a)(e)})}},mounted:function(){Object(i.a)("mounted",this.$route.query.gradeId),this.enterpriseId=this.$route.query.enterpriseId,this.backgroundMode=this.$route.query.backgroundMode,this.redirect(this.enterpriseId)}},a={render:function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"right-wrap"})},staticRenderFns:[]},d=r("C7Lr")(o,a,!1,null,null,null);t.default=d.exports}});
//# sourceMappingURL=30.8efc70678d30106aeee5.js.map