fix bug
This commit is contained in:
@ -42,15 +42,25 @@
|
||||
<nz-card [nzLoading]="service.http.loading" [nzBorderless]="true">
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title" style="justify-content: space-between;">
|
||||
<div>
|
||||
<div style="display: flex; justify-content: center;align-items: center;">
|
||||
<a class="sign"></a>
|
||||
<span>个人信息</span>
|
||||
<label *ngIf="userIdentityDetail?.certificationStatus===1" style="color: #52c41a;" class="ml-md"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
<p style="margin-bottom: 0">
|
||||
个人信息
|
||||
<label *ngIf="userIdentityDetail?.tips" style="color: #ff4d4f"><i nz-icon nzType="info-circle"
|
||||
nzTheme="fill" class="mr-xs"></i>驳回:<span nz-popover [nzPopoverTitle]="titleTemplate1" [nzPopoverContent]="contentTemplate1">
|
||||
驳回原因
|
||||
<ng-template #titleTemplate1>
|
||||
原因
|
||||
</ng-template>
|
||||
<ng-template #contentTemplate1>
|
||||
{{userIdentityDetail?.tips}}
|
||||
</ng-template>
|
||||
</span>
|
||||
</label>
|
||||
<label *ngIf="userIdentityDetail?.certificationStatus===2" style="color: #ff4d4f;" class="ml-md"><i nz-icon
|
||||
nzType="close-circle" nzTheme="fill" class="mr-xs"></i>驳回 驳回原因:{{userIdentityDetail?.certificationOpinions}}
|
||||
<label *ngIf="!userIdentityDetail?.tips" style="color: #52c41a"><i nz-icon nzType="check-circle"
|
||||
nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
</label>
|
||||
</p>
|
||||
<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>
|
||||
@ -179,15 +189,25 @@
|
||||
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title" style="justify-content: space-between;">
|
||||
<div>
|
||||
<div style="display: flex; justify-content: center;align-items: center;">
|
||||
<a class="sign"></a>
|
||||
<span>驾驶证信息</span>
|
||||
<label *ngIf="driverDetail?.approvalStatus===20" style="color: #52c41a;" class="ml-md"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
<p style="margin-bottom: 0">
|
||||
驾驶证信息
|
||||
<label *ngIf="driverDetail?.tips" style="color: #ff4d4f"><i nz-icon nzType="info-circle"
|
||||
nzTheme="fill" class="mr-xs"></i>驳回:<span nz-popover [nzPopoverTitle]="titleTemplate1" [nzPopoverContent]="contentTemplate1">
|
||||
驳回原因
|
||||
<ng-template #titleTemplate1>
|
||||
原因
|
||||
</ng-template>
|
||||
<ng-template #contentTemplate1>
|
||||
{{driverDetail?.tips}}
|
||||
</ng-template>
|
||||
</span>
|
||||
</label>
|
||||
<label *ngIf="driverDetail?.approvalStatus===30" style="color: #ff4d4f;" class="ml-md"><i nz-icon
|
||||
nzType="close-circle" nzTheme="fill" class="mr-xs"></i>驳回
|
||||
<label *ngIf="!driverDetail?.tips" style="color: #52c41a"><i nz-icon nzType="check-circle"
|
||||
nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
</label>
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<ng-container *ngIf="isEditDriver;else editDriverButton">
|
||||
|
||||
@ -2,16 +2,11 @@ import { DatePipe } from '@angular/common';
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { apiConf } from '@conf/api.conf';
|
||||
import { STColumn, STComponent } from '@delon/abc/st';
|
||||
import { SFComponent, SFDateWidgetSchema, SFSchema, SFTagWidgetSchema, SFTextWidgetSchema, SFUISchema } from '@delon/form';
|
||||
import { ModalHelper, _HttpClient } from '@delon/theme';
|
||||
import { STColumn } from '@delon/abc/st';
|
||||
import { _HttpClient } from '@delon/theme';
|
||||
import { NzImageService } from 'ng-zorro-antd/image';
|
||||
import { NzMessageService } from 'ng-zorro-antd/message';
|
||||
import { NzModalService } from 'ng-zorro-antd/modal';
|
||||
import { Subject } from 'rxjs';
|
||||
import { ImageViewComponent } from 'src/app/shared/components/imagelist';
|
||||
import { UsermanageService } from '../../../services/usercenter.service';
|
||||
import { debounceTime } from 'rxjs/operators';
|
||||
|
||||
@Component({
|
||||
selector: 'app-usercenter-components-driver-detail',
|
||||
|
||||
Reference in New Issue
Block a user