车辆对接

This commit is contained in:
wangshiming
2022-01-13 20:55:20 +08:00
parent 87453dfe12
commit ea5a84c15f
4 changed files with 35 additions and 2 deletions

View File

@ -20,6 +20,8 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
detailData: any;
userDetail: any;
contencarModel: any;
facetext: any;
faceStatus: any = 0;
userIdentityDetail: any = {};
tempalateUserIdentityDetail = { ...this.userIdentityDetail };
driverDetail: any = {
@ -82,6 +84,16 @@ export class UserCenterComponentsDriverDetailComponent implements OnInit {
this.contencarModel = res;
}
});
// 获取人脸识别结果
this.service.request(this.service.$api_getFaceFlowQuery, { id: this.route.snapshot.params.id }).subscribe(res => {
console.log(res)
if(res) {
this.faceStatus = res.status
if(res.status == 4) {
this.facetext= res.failReason
}
}
});
// 获取用户个人信息
this.service.request(this.service.$api_get_user_identity, { id: this.route.snapshot.params.id }).subscribe(res => {
if (res) {