|
@@ -185,16 +185,18 @@
|
|
|
openId: this.carhelp.getOpenId(),
|
|
|
|
|
|
}).then((response) => {
|
|
|
+ if(response.result){
|
|
|
+ this.step3=true
|
|
|
+
|
|
|
+ var token = response ? response.data.token : '';
|
|
|
+ this.carhelp.setToken(token);
|
|
|
+ this.carhelp.setPersonInfo(response.data.regUser);
|
|
|
+ this.carhelp.setPersonInfoPlus(response.data)
|
|
|
+ this.regUser=response.data.regUser
|
|
|
+ this.name=this.regUser.name
|
|
|
+ this.phone=this.regUser.phone
|
|
|
+ }
|
|
|
|
|
|
- this.step3=true
|
|
|
-
|
|
|
- var token = response ? response.data.token : '';
|
|
|
- this.carhelp.setToken(token);
|
|
|
- this.carhelp.setPersonInfo(response.data.regUser);
|
|
|
- this.carhelp.setPersonInfoPlus(response.data)
|
|
|
- this.regUser=response.data.regUser
|
|
|
- this.name=this.regUser.name
|
|
|
- this.phone=this.regUser.phone
|
|
|
}).catch(error => {
|
|
|
|
|
|
uni.hideLoading();
|
|
@@ -262,7 +264,7 @@
|
|
|
uni.hideLoading();
|
|
|
//this.show=true
|
|
|
var info=res.data.applicationInfo;
|
|
|
- if(info&&info.status==1||allCheck){
|
|
|
+ if(allCheck){
|
|
|
this.step=true
|
|
|
this.meterList=res.data.meterList
|
|
|
var img=require('@/assets/img/controlCover.png')
|