|
|
@ -230,8 +230,8 @@ |
|
|
.then(result => { |
|
|
.then(result => { |
|
|
app.userInfo = result.data.userInfo |
|
|
app.userInfo = result.data.userInfo |
|
|
// 处理用户认证的问题 |
|
|
// 处理用户认证的问题 |
|
|
|
|
|
this.checkverify() |
|
|
this.hasverify = app.userInfo.grade_id>0?true:false |
|
|
//this.hasverify = app.userInfo.grade_id>0?true:false |
|
|
resolve(app.userInfo) |
|
|
resolve(app.userInfo) |
|
|
}) |
|
|
}) |
|
|
.catch(err => { |
|
|
.catch(err => { |
|
|
@ -245,6 +245,17 @@ |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 检查实名等级的情况 |
|
|
|
|
|
checkverify(){ |
|
|
|
|
|
const app = this |
|
|
|
|
|
let uinfo = app.userInfo |
|
|
|
|
|
if(uinfo.real_name!="" || uinfo.id_no!=""){ |
|
|
|
|
|
app.hasverify = true |
|
|
|
|
|
}else{ |
|
|
|
|
|
app.hasverify = false |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// go to zw |
|
|
// go to zw |
|
|
gotozw(){ |
|
|
gotozw(){ |
|
|
//this.$navTo("http://10.24.4.14") |
|
|
//this.$navTo("http://10.24.4.14") |
|
|
|