|
@@ -180,22 +180,23 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
async onLoad() {
|
|
async onLoad() {
|
|
|
|
+ debugger
|
|
that = this
|
|
that = this
|
|
- // #ifdef APP-PLUS
|
|
|
|
- let _status = await that.$request.baseRequest('get', '/driverInfo/firstAuthentication', {
|
|
|
|
- driverPhone: this.userInfo.phone,
|
|
|
|
- }).then(res => {
|
|
|
|
- return res.data.authenticationStatus
|
|
|
|
- })
|
|
|
|
- if (_status == '已禁用') {
|
|
|
|
- this.isShowAlert = true
|
|
|
|
- this.alertTitle = '账号审核中'
|
|
|
|
- this.confirmText = '退出APP'
|
|
|
|
- this.showCancelButton = false
|
|
|
|
- } else {
|
|
|
|
- console.log(1231233212332312312213)
|
|
|
|
- }
|
|
|
|
- // #endif
|
|
|
|
|
|
+
|
|
|
|
+ // let _status = await that.$request.baseRequest('get', '/driverInfo/firstAuthentication', {
|
|
|
|
+ // driverPhone: this.userInfo.phone,
|
|
|
|
+ // }).then(res => {
|
|
|
|
+ // return res.data.authenticationStatus
|
|
|
|
+ // })
|
|
|
|
+ // if (_status == '已禁用') {
|
|
|
|
+ // this.isShowAlert = true
|
|
|
|
+ // this.alertTitle = '账号审核中'
|
|
|
|
+ // this.confirmText = '退出APP'
|
|
|
|
+ // this.showCancelButton = false
|
|
|
|
+ // } else {
|
|
|
|
+ // console.log(1231233212332312312213)
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|