(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d20958a"],{a951:function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div")},i=[],s=(o("a481"),o("4360"),o("cc33")),c=o("b775"),r=(o("83d6"),o("5a89"),{data:function(){return{authCode:void 0,projectId:void 0,cjuserid:void 0,token:void 0}},mounted:function(){this.init(),this.enterWorkbench()},methods:{init:function(){this.authCode=this.$route.query.authCode,this.projectId=this.$route.query.projectId,this.cjuserid=this.$route.query.cjuserid,this.token=this.$route.query.token},enterWorkbench:function(){var t=this,e={transCode:"A00114",authCode:this.authCode};Object(c["c"])(e).then((function(e){console.log("gethcfdsolverfiles"+e),t.$store.dispatch("user/changeState",{key:"userId",value:e.authUserId}),t.$store.dispatch("user/changeState",{key:"token",value:e.authToken}),t.$store.dispatch("user/changeState",{key:"loginStatus",value:!0}),Object(s["b"])(e.authToken),t.getToHcfd()})).catch((function(e){t.getToHcfd()}))},getToHcfd:function(){var t=this,e=this.$store.getters.loginStatus;e?(this.$message.success("恭喜你，成功进入工作台！"),this.projectId=1,void 0!=this.projectId&&null!=this.projectId?(console.log(1111),this.$router.replace("/HCFD/HCFD?projectId="+this.projectId+"&token="+this.token+"&cjuserid="+this.cjuserid)):(console.log(2222),this.$router.replace("/HCFD/HCFD"))):this.$confirm("你还未登录，请登录后再操作, 是否登录?","提示",{confirmButtonText:"登录",cancelButtonText:"取消",type:"warning"}).then((function(){window.location.protocol,window.location.host,t.$store.getters.logUrl;window.location.href=t.logUrl})).catch((function(){t.$message.info("已取消！")}))}}}),u=r,h=o("2877"),a=Object(h["a"])(u,n,i,!1,null,null,null);e["default"]=a.exports}}]);