车辆对接
This commit is contained in:
@ -49,6 +49,25 @@
|
||||
<label *ngIf="userIdentityDetail?.certificationStatus===2" style="color: #ff4d4f;" class="ml-md"><i nz-icon
|
||||
nzType="close-circle" nzTheme="fill" class="mr-xs"></i>驳回
|
||||
</label>
|
||||
<label *ngIf="faceStatus == 1" style="color: #bec8c8; position: relative;
|
||||
bottom: 2px;" class="ml-md"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs">人脸识别结果:已发起</i>
|
||||
</label>
|
||||
<label *ngIf="faceStatus == 0" style="color: #bec8c8; position: relative;
|
||||
bottom: 2px;" class="ml-md"><i nz-icon nzType="check-circle" nzTheme="fill" class="mr-xs">人脸识别结果:无</i>
|
||||
</label>
|
||||
<label *ngIf="faceStatus == 2" style="color: #bec8c8; position: relative;
|
||||
bottom: 2px;" class="ml-md"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs">人脸识别结果:进行中</i>
|
||||
</label>
|
||||
<label *ngIf="faceStatus == 3" style="color: #52c41a; position: relative;
|
||||
bottom: 2px;" class="ml-md"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs">人脸识别结果:已成功</i>
|
||||
</label>
|
||||
<label *ngIf="faceStatus == 4" style="color: #ff4d4f; position: relative;
|
||||
bottom: 2px;" class="ml-md"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs">人脸识别结果:已失败;失败原因:{{facetext}}</i>
|
||||
</label>
|
||||
<div style="float: right;">
|
||||
<ng-container *ngIf="isEditUser; else elseTemplate">
|
||||
<button [disabled]="service.http.loading" nz-button (click)="reset(0)">
|
||||
|
||||
@ -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