|
|
@@ -107,8 +107,7 @@
|
|
|
},
|
|
|
computed :{
|
|
|
setTokenPage() {
|
|
|
- return 'http://192.168.253.39/set-token.html'
|
|
|
- //return this.$url.web + '/set-token.html'
|
|
|
+ return this.$url.web + '/set-token.html'
|
|
|
}
|
|
|
},
|
|
|
watch:{
|
|
|
@@ -151,6 +150,7 @@
|
|
|
}
|
|
|
this.$store.commit('Loginfalse')
|
|
|
// console.log(res.data.data)
|
|
|
+ this.$store.state.email = this.arr[0].adminEmail
|
|
|
})
|
|
|
.catch(err=>{
|
|
|
// console.log("请求失败",err)
|
|
|
@@ -205,10 +205,8 @@
|
|
|
session.account.companyId=id;
|
|
|
session.span = session.timestamp - new Date().getTime();
|
|
|
session.token=mytoken;
|
|
|
- // frame.postMessage(JSON.stringify(session), '*');
|
|
|
- // window.location.href = this.$url.web
|
|
|
frame.postMessage(JSON.stringify(session), '*');
|
|
|
- window.open('http://192.168.253.39:1841/#main','_blank');
|
|
|
+ window.location.href = this.$url.web
|
|
|
})
|
|
|
.catch(err=>{
|
|
|
// console.log('请求失败',err)
|
|
|
@@ -245,7 +243,7 @@
|
|
|
let account = {'realname':name,'email':email,'mobile':mobile, 'uu':uu}
|
|
|
// let id = this.saasid;
|
|
|
this.$ajax({
|
|
|
- url: "http://192.168.253.31:8560/api/account/accountCenter/companyAccount/save",
|
|
|
+ url: this.$url.api+"/api/account/accountCenter/companyAccount/save",
|
|
|
method: 'post',
|
|
|
data: {
|
|
|
companyRegDTO:company,
|