|
@@ -320,8 +320,7 @@
|
|
|
{
|
|
|
car:'car-3'
|
|
|
}
|
|
|
- ],
|
|
|
- telarea:[],
|
|
|
+ ],
|
|
|
part1:[
|
|
|
{
|
|
|
clist:'1 、数字资产市场是全新的、未经确认的,而且可能不会增长。目前,数字资产主要由投机者大量使用,零售和商业市场使用相对较少。因此,数字资产价格易产生波动,并进而对数字资产投资产生不利影响。'
|
|
@@ -397,6 +396,7 @@
|
|
|
clist:'数字货币可能存在矿工预挖、庄家操控、团队解散、技术缺陷等问题,其价格波动较大,可能发生资产归零的风险。因此我们强烈建议您在自身能承受的风险范围内参与数字货币交易。请注意止盈止损,合理评估风险,请勿投入高于个人承受能力的金额! 最终解释权归FX66所有。FX66感谢有您的陪伴!'
|
|
|
}
|
|
|
],
|
|
|
+ telarea:[],
|
|
|
applyform:{},
|
|
|
}
|
|
|
},
|
|
@@ -424,6 +424,7 @@
|
|
|
}
|
|
|
},
|
|
|
apply: function(){
|
|
|
+ this.$store.commit('getusername');
|
|
|
if(this.regshow==4){
|
|
|
if(this.applyform.company!=undefined){
|
|
|
this.$router.push({path:'/verify'});
|
|
@@ -506,12 +507,13 @@
|
|
|
})
|
|
|
this.username = result.data.username;
|
|
|
this.usertip = 1;
|
|
|
- this.regshow = 4;
|
|
|
+ this.regshow = 4;
|
|
|
this.Authorization = 'Bearer '+result.data.access_token;
|
|
|
sessionStorage.setItem('regshow',this.regshow);
|
|
|
sessionStorage.setItem('usertip',this.usertip);
|
|
|
sessionStorage.setItem('username',this.username);
|
|
|
sessionStorage.setItem('token_code',this.Authorization);
|
|
|
+ this.$store.commit('showstatus');
|
|
|
console.log('登陆成功');
|
|
|
this.loadapplymsg();
|
|
|
}
|
|
@@ -571,19 +573,6 @@
|
|
|
message: result.message,
|
|
|
type:'warning',
|
|
|
})
|
|
|
- const LogForm = this.loginform;
|
|
|
- // console.log(LogForm);
|
|
|
- LogForm.type = Form.type;
|
|
|
- LogForm.area = Form.area;
|
|
|
- LogForm.password = Form.password;
|
|
|
- LogForm.mobile = Form.mobile;
|
|
|
- LogForm.email = Form.email;
|
|
|
- // console.log(LogForm);
|
|
|
- const logparam = new URLSearchParams();
|
|
|
- for (let item in LogForm){
|
|
|
- logparam.append(item,Form[item]);
|
|
|
- }
|
|
|
- console.log(logparam);
|
|
|
}else{
|
|
|
this.$notify({
|
|
|
title:'成功',
|
|
@@ -621,16 +610,6 @@
|
|
|
console.log('登陆成功');
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
- // this.username = this.regform.email!=''? this.regform.email:this.regform.mobile;
|
|
|
- // this.usertip = 1;
|
|
|
- // this.regshow = 4;
|
|
|
- // this.Authorization = 'Bearer '+result.data.access_token;
|
|
|
- // sessionStorage.setItem('regshow',this.regshow);
|
|
|
- // sessionStorage.setItem('usertip',this.usertip);
|
|
|
- // sessionStorage.setItem('username',this.username);
|
|
|
- // sessionStorage.setItem('token_code',this.Authorization);
|
|
|
- // console.log('注册成功')
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -757,6 +736,7 @@
|
|
|
this.Authorization = sessionStorage.getItem('token_code')? sessionStorage.getItem('token_code'):'';
|
|
|
},
|
|
|
applyRoute: function(){
|
|
|
+ this.$store.commit('getusername');
|
|
|
if(this.regshow==4){
|
|
|
if(this.applyform.company!=undefined){
|
|
|
this.$router.push({path:'/verify'});
|
|
@@ -772,6 +752,7 @@
|
|
|
this.axios.get('https://dev407.33.cn/api/broker/applystatus',{headers:{Authorization: this.Authorization}}).then((res)=>{
|
|
|
console.log(res.data.data.info);
|
|
|
this.applyform = res.data.data.info;
|
|
|
+ sessionStorage.setItem('applyreturn',this.applyform.company);
|
|
|
}).catch((err)=>{
|
|
|
console.log(err);
|
|
|
})
|