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