Commit a16558de by lishengfu

Merge branch 'master' of gitlab.corp.qinqinxiaobao.com:frontend_vue/qqxb-self-service

parents 273bed73 b4f997bf
Showing with 5 additions and 3 deletions
...@@ -41,13 +41,15 @@ export default class SelectIdentity extends Vue { ...@@ -41,13 +41,15 @@ export default class SelectIdentity extends Vue {
this.$router.push({ name: "Index", query: { id_no: this.id_no } }); this.$router.push({ name: "Index", query: { id_no: this.id_no } });
} }
created() { async created() {
this.$server.EmployeeService.getUserInfo({}).then(res => { await this.$server.EmployeeService.getUserInfo({}).then(res => {
if (res.data && res.data.uthStatus && res.data.uthStatus > 2) { if (res.data && res.data.uthStatus && res.data.uthStatus > 0) {
this.id_no = res.data.personalIdCardNo; this.id_no = res.data.personalIdCardNo;
} else { } else {
//TODO: 跳转到实名认证 //TODO: 跳转到实名认证
} }
}).catch(err=>{
console.log('err=',err);
}); });
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment