车辆对接
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user