详情优化
This commit is contained in:
@ -36,10 +36,39 @@
|
||||
</ng-template>
|
||||
</page-header-wrapper>
|
||||
|
||||
<nz-card [nzLoading]="service.http.loading">
|
||||
<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>
|
||||
<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>审核通过
|
||||
</label>
|
||||
<label *ngIf="userIdentityDetail?.certificationStatus === 2" style="color: #ff4d4f" class="ml-md"><i nz-icon
|
||||
nzType="close-circle" nzTheme="fill" class="mr-xs"></i>驳回
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<ng-container *ngIf="isEditUser; else elseTemplate">
|
||||
<button [nzLoading]="service.http.loading" nz-button (click)="reset()"> 取消 </button>
|
||||
<button [nzLoading]="service.http.loading" nz-button nzDanger (click)="saveUser()"> 保存 </button>
|
||||
</ng-container>
|
||||
<ng-template #elseTemplate>
|
||||
<button nz-button nzType="default" nzDanger (click)="approveUser()"
|
||||
*ngIf="userIdentityDetail?.certificationStatus === 0" acl
|
||||
[acl-ability]="['USERCENTER-DRIVER-CAPTAIN-DETAIL-audit']">审核通过</button>
|
||||
<button nz-button nzType="default" nzDanger (click)="rejectedUser()"
|
||||
*ngIf="userIdentityDetail?.certificationStatus === 0" acl
|
||||
[acl-ability]="['USERCENTER-DRIVER-CAPTAIN-DETAIL-audit']">驳回审核</button>
|
||||
<button nz-button nzType="default" nzDanger (click)="ratify()" acl
|
||||
[acl-ability]="['USERCENTER-DRIVER-CAPTAIN-DETAIL-edit']">修改</button>
|
||||
</ng-template>
|
||||
</div>
|
||||
</div>
|
||||
<div [class]="isEditUser ? 'edit-box' : 'readOnly-box'">
|
||||
<sv-container col="2">
|
||||
<sv-title>个人信息
|
||||
<!-- <sv-title>个人信息
|
||||
<label *ngIf="userIdentityDetail?.certificationStatus === 1" style="color: #52c41a" class="ml-md"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
</label>
|
||||
@ -62,7 +91,7 @@
|
||||
[acl-ability]="['USERCENTER-DRIVER-CAPTAIN-DETAIL-edit']">修改</button>
|
||||
</ng-template>
|
||||
</div>
|
||||
</sv-title>
|
||||
</sv-title> -->
|
||||
<sv label="姓名">
|
||||
<input nz-input type="text" [(ngModel)]="userIdentityDetail.name" [readonly]="!isEditUser"
|
||||
[nzBorderless]="!isEditUser" [placeholder]="isEditUser ? '' : '-'" />
|
||||
@ -99,9 +128,17 @@
|
||||
</sv>
|
||||
</sv-container>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>银行结算信息</span>
|
||||
<ng-container *ngIf="bankList?.length===0">(暂无银行信息)</ng-container>
|
||||
</div>
|
||||
<sv-container col="3" class="mt-md">
|
||||
<sv-title>银行结算信息<ng-container *ngIf="bankList?.length===0">(暂无银行信息)</ng-container></sv-title>
|
||||
<!-- <sv-title>银行结算信息<ng-container *ngIf="bankList?.length===0">(暂无银行信息)</ng-container>
|
||||
</sv-title> -->
|
||||
<ng-container *ngFor="let item of bankList">
|
||||
<sv label="开户银行">
|
||||
{{ item.bankName }}
|
||||
@ -112,6 +149,7 @@
|
||||
</ng-container>
|
||||
|
||||
</sv-container>
|
||||
</div>
|
||||
</nz-card>
|
||||
|
||||
<ng-template #redectModal>
|
||||
|
||||
@ -39,10 +39,60 @@
|
||||
</page-header-wrapper>
|
||||
|
||||
|
||||
<nz-card [nzLoading]="service.http.loading">
|
||||
<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>
|
||||
<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>审核通过
|
||||
</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>
|
||||
<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>
|
||||
<div style="float: right;">
|
||||
<ng-container *ngIf="isEditUser; else elseTemplate">
|
||||
<button [disabled]="false" nz-button (click)="reset(0)">
|
||||
取消
|
||||
</button>
|
||||
<button [disabled]="false" nz-button nzDanger (click)="saveUser()">
|
||||
保存
|
||||
</button>
|
||||
</ng-container>
|
||||
<ng-template #elseTemplate>
|
||||
<button nz-button nzType="default" nzDanger (click)="approveUser()"
|
||||
*ngIf="userIdentityDetail?.certificationStatus===0" acl
|
||||
[acl-ability]="['USERCENTER-DRIVER-LIST-DETAIL-auditUser']">审核通过</button>
|
||||
<button nz-button nzType="default" nzDanger (click)="rejectedUser()"
|
||||
*ngIf="userIdentityDetail?.certificationStatus===0" acl
|
||||
[acl-ability]="['USERCENTER-DRIVER-LIST-DETAIL-auditUser']">驳回审核</button>
|
||||
<button nz-button nzType="default" nzDanger (click)="ratify(0)" acl
|
||||
[acl-ability]="['USERCENTER-DRIVER-LIST-DETAIL-editUser']">修改</button>
|
||||
</ng-template>
|
||||
</div>
|
||||
</div>
|
||||
<div [class]="isEditUser?'edit-box':'readOnly-box'">
|
||||
|
||||
<sv-container col="2">
|
||||
<sv-title>个人信息
|
||||
<!-- <sv-title>个人信息
|
||||
<label *ngIf="userIdentityDetail?.certificationStatus===1" style="color: #52c41a;" class="ml-md"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
</label>
|
||||
@ -85,7 +135,7 @@
|
||||
[acl-ability]="['USERCENTER-DRIVER-LIST-DETAIL-editUser']">修改</button>
|
||||
</ng-template>
|
||||
</div>
|
||||
</sv-title>
|
||||
</sv-title> -->
|
||||
<sv label="姓名">
|
||||
<input nz-input type="text" [(ngModel)]="userIdentityDetail.name" [readonly]="!isEditUser"
|
||||
[nzBorderless]="!isEditUser" [placeholder]="isEditUser?'':'-'">
|
||||
@ -96,14 +146,16 @@
|
||||
</sv>
|
||||
<sv label="有效期" col="1">
|
||||
<nz-date-picker [(ngModel)]="userIdentityDetail.validStartTime" [nzDisabled]="!isEditUser" nzPlaceHolder=" "
|
||||
[nzBorderless]="!isEditUser" [nzSuffixIcon]="isEditUser?'calendar':''" style="width: 110px;" class="calendar">
|
||||
[nzBorderless]="!isEditUser" [nzSuffixIcon]="isEditUser?'calendar':''" style="width: 110px;"
|
||||
class="calendar">
|
||||
</nz-date-picker>
|
||||
-
|
||||
<ng-container *ngIf="!isEditUser && !userIdentityDetail?.validEndTime && userIdentityDetail?.validStartTime">
|
||||
<label style="padding-left: 11px;">长期</label>
|
||||
</ng-container>
|
||||
<nz-date-picker [(ngModel)]="userIdentityDetail.validEndTime" [nzDisabled]="!isEditUser" nzPlaceHolder=" "
|
||||
[nzBorderless]="!isEditUser" [nzSuffixIcon]="isEditUser?'calendar':''" style="width: 110px;" class="calendar">
|
||||
[nzBorderless]="!isEditUser" [nzSuffixIcon]="isEditUser?'calendar':''" style="width: 110px;"
|
||||
class="calendar">
|
||||
</nz-date-picker>
|
||||
<ng-container *ngIf="isEditUser">
|
||||
<label nz-checkbox [ngModel]="!!!userIdentityDetail.validEndTime"
|
||||
@ -123,11 +175,42 @@
|
||||
</sv>
|
||||
</sv-container>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<nz-divider></nz-divider>
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title" style="justify-content: space-between;">
|
||||
<div>
|
||||
<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>审核通过
|
||||
</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>
|
||||
</div>
|
||||
<div>
|
||||
<ng-container *ngIf="isEditDriver;else editDriverButton">
|
||||
<button [disabled]="false" nz-button (click)="reset(1)">
|
||||
取消
|
||||
</button>
|
||||
<button [disabled]="false" nz-button nzDanger (click)="saveDriver()">
|
||||
保存
|
||||
</button>
|
||||
</ng-container>
|
||||
<ng-template #editDriverButton>
|
||||
<button *ngIf="driverDetail?.approvalStatus==10" nz-button nzType="default" nzDanger (click)="approveDriver()"
|
||||
acl [acl-ability]="['USERCENTER-DRIVER-LIST-DETAIL-auditDriver']">审核通过</button>
|
||||
<button *ngIf="driverDetail?.approvalStatus==10" nz-button nzType="default" nzDanger
|
||||
(click)="rejectedDriver()" acl [acl-ability]="['USERCENTER-DRIVER-LIST-DETAIL-auditDriver']">驳回审核</button>
|
||||
<button nz-button nzType="default" nzDanger (click)="ratify(1)" acl
|
||||
[acl-ability]="['USERCENTER-DRIVER-LIST-DETAIL-editDriver']">修改</button>
|
||||
</ng-template>
|
||||
</div>
|
||||
</div>
|
||||
<div [class]="isEditDriver?'edit-box':'readOnly-box'">
|
||||
<sv-container col="3" class="mt16">
|
||||
<sv-title>驾驶证信息
|
||||
<!-- <sv-title>驾驶证信息
|
||||
<label *ngIf="driverDetail?.approvalStatus===20" style="color: #52c41a;" class="ml-md"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
</label>
|
||||
@ -152,7 +235,7 @@
|
||||
[acl-ability]="['USERCENTER-DRIVER-LIST-DETAIL-editDriver']">修改</button>
|
||||
</ng-template>
|
||||
</div>
|
||||
</sv-title>
|
||||
</sv-title> -->
|
||||
<sv label="驾驶证号">
|
||||
<input nz-input type="text" [(ngModel)]="driverDetail.licenseNo" [readonly]="!isEditDriver"
|
||||
[nzBorderless]="!isEditDriver" [placeholder]="isEditDriver?'':'-'">
|
||||
@ -207,17 +290,28 @@
|
||||
</ng-container>
|
||||
</sv>
|
||||
</sv-container>
|
||||
|
||||
<nz-divider></nz-divider>
|
||||
<sv-container col="3" class="mt16">
|
||||
<sv-title>从业资格证信息
|
||||
</div>
|
||||
</div>
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>从业资格证信息</span>
|
||||
<label *ngIf="licenseDetail?.approvalStatus===20" style="color: #52c41a;" class="ml-md">
|
||||
<i nz-icon nzType="check-circle" nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
</label>
|
||||
<label *ngIf="licenseDetail?.approvalStatus===30" style="color: #ff4d4f;" class="ml-md">
|
||||
<i nz-icon nzType="close-circle" nzTheme="fill" class="mr-xs"></i>驳回
|
||||
</label>
|
||||
</sv-title>
|
||||
</div>
|
||||
<sv-container col="3" class="mt16">
|
||||
<!-- <sv-title>从业资格证信息
|
||||
<label *ngIf="licenseDetail?.approvalStatus===20" style="color: #52c41a;" class="ml-md">
|
||||
<i nz-icon nzType="check-circle" nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
</label>
|
||||
<label *ngIf="licenseDetail?.approvalStatus===30" style="color: #ff4d4f;" class="ml-md">
|
||||
<i nz-icon nzType="close-circle" nzTheme="fill" class="mr-xs"></i>驳回
|
||||
</label>
|
||||
</sv-title> -->
|
||||
<sv label="从业资格证号">
|
||||
<input nz-input type="text" [(ngModel)]="licenseDetail.licenseNo" [readonly]="!isEditDriver"
|
||||
[nzBorderless]="!isEditDriver" [placeholder]="isEditDriver?'':'-'">
|
||||
@ -262,9 +356,14 @@
|
||||
</sv-container>
|
||||
</div>
|
||||
|
||||
<nz-divider></nz-divider>
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>载具信息</span>
|
||||
<ng-container *ngIf="carList?.length===0">(暂无载具信息)</ng-container>
|
||||
</div>
|
||||
<sv-container col="3" class="mt16">
|
||||
<sv-title>载具信息</sv-title>
|
||||
<!-- <sv-title>载具信息</sv-title> -->
|
||||
<ng-container *ngFor="let carDatail of carList">
|
||||
<sv label="车牌号">
|
||||
{{ carDatail?.carNo }}
|
||||
@ -285,7 +384,8 @@
|
||||
{{ carDatail?.isSelf?'否':'是' }}
|
||||
</sv>
|
||||
<sv label="行驶证照片" col="1">
|
||||
<app-imagelist [imgList]="[carDatail?.certificatePhotoFrontWatermark,carDatail?.certificatePhotoBackWatermark]">
|
||||
<app-imagelist
|
||||
[imgList]="[carDatail?.certificatePhotoFrontWatermark,carDatail?.certificatePhotoBackWatermark]">
|
||||
</app-imagelist>
|
||||
</sv>
|
||||
<sv label="道路运输证照片" col="3">
|
||||
@ -298,10 +398,17 @@
|
||||
</ng-container>
|
||||
|
||||
</sv-container>
|
||||
</div>
|
||||
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>银行结算信息</span>
|
||||
<ng-container *ngIf="bankList?.length===0">(暂无银行信息)</ng-container>
|
||||
</div>
|
||||
<sv-container col="3" class="mt-md">
|
||||
<sv-title>银行结算信息 <ng-container *ngIf="bankList?.length===0">(暂无银行信息)</ng-container>
|
||||
</sv-title>
|
||||
<!-- <sv-title>银行结算信息 <ng-container *ngIf="bankList?.length===0">(暂无银行信息)</ng-container>
|
||||
</sv-title> -->
|
||||
<ng-container *ngFor="let item of bankList">
|
||||
<sv label="开户银行">
|
||||
{{ item.bankName }}
|
||||
@ -311,24 +418,33 @@
|
||||
</sv>
|
||||
</ng-container>
|
||||
</sv-container>
|
||||
|
||||
<nz-divider></nz-divider>
|
||||
<sv-container col="3" class="mt-md">
|
||||
<sv-title>服务评级
|
||||
</div>
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>服务评级</span>
|
||||
<ng-container *ngIf="billEvaluateList?.length===0">(暂无评级)</ng-container>
|
||||
</sv-title>
|
||||
</div>
|
||||
<sv-container col="3" class="mt-md">
|
||||
<!-- <sv-title>服务评级
|
||||
<ng-container *ngIf="billEvaluateList?.length===0">(暂无评级)</ng-container>
|
||||
</sv-title> -->
|
||||
<sv [label]="item.evaluateTypeLabel" *ngFor="let item of billEvaluateList">
|
||||
<nz-rate [ngModel]="item.evaluateFraction" nzDisabled></nz-rate>
|
||||
</sv>
|
||||
</sv-container>
|
||||
</div>
|
||||
|
||||
<sv-container col="3" class="mt-md">
|
||||
<sv-title>关联企业</sv-title>
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>关联企业</span>
|
||||
</div>
|
||||
<st #st [columns]="columns" [data]="service.$api_get_driver_projects" size="small"
|
||||
[req]="{ method: 'POST', allInBody: true, params: {appUserId:route.snapshot.params.id} }" [page]="{ show: false }"
|
||||
[res]="{ reName: { list: 'data' } }" style="width: 100%;">
|
||||
</st>
|
||||
</sv-container>
|
||||
</div>
|
||||
</nz-card>
|
||||
|
||||
|
||||
|
||||
@ -114,10 +114,11 @@
|
||||
</ng-template>
|
||||
</page-header-wrapper>
|
||||
|
||||
<nz-card [class]="isEdit?'edit-box':'readOnly-box'">
|
||||
<sv-container col="2" class="mt16">
|
||||
<sv-title>
|
||||
<label class="mr-md">企业基本信息</label>
|
||||
<nz-card [class]="isEdit?'edit-box':'readOnly-box'" [nzBorderless]="true">
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span class="mr-xs">企业基本信息</span>
|
||||
<label *ngIf="detailData?.approvalStatus===10" style="color: #1890ff;"><i nz-icon nzType="info-circle"
|
||||
nzTheme="fill" class="mr-xs"></i>待审核
|
||||
</label>
|
||||
@ -130,6 +131,23 @@
|
||||
<label *ngIf="detailData?.isExpired" style="color: #fa8c16;">
|
||||
<i nz-icon nzType="info-circle" nzTheme="fill" class="ml-md mr-xs"></i>企业营业期限已过期
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<sv-container col="2" class="mt16">
|
||||
<sv-title>
|
||||
<!-- <label class="mr-md">企业基本信息</label>
|
||||
<label *ngIf="detailData?.approvalStatus===10" style="color: #1890ff;"><i nz-icon nzType="info-circle"
|
||||
nzTheme="fill" class="mr-xs"></i>待审核
|
||||
</label>
|
||||
<label *ngIf="detailData?.approvalStatus===20" style="color: #52c41a;"><i nz-icon nzType="check-circle"
|
||||
nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
</label>
|
||||
<label *ngIf="detailData?.approvalStatus===30" style="color: #ff4d4f;"><i nz-icon nzType="close-circle"
|
||||
nzTheme="fill" class="mr-xs"></i>驳回 驳回原因:{{detailData?.approvalOpinion}}
|
||||
</label>
|
||||
<label *ngIf="detailData?.isExpired" style="color: #fa8c16;">
|
||||
<i nz-icon nzType="info-circle" nzTheme="fill" class="ml-md mr-xs"></i>企业营业期限已过期
|
||||
</label> -->
|
||||
<p style="margin-bottom: 0;">
|
||||
四要素验证:
|
||||
<label *ngIf="detailData?.esignCheckStatus===0" style="color: #ff4d4f;"><i nz-icon nzType="info-circle"
|
||||
@ -187,7 +205,8 @@
|
||||
</sv>
|
||||
<sv label="成立日期">
|
||||
<nz-date-picker [(ngModel)]="detailData.enterpriseRegistrationTime" [nzDisabled]="!isEdit"
|
||||
[nzPlaceHolder]="isEdit?'':'-'" [nzBorderless]="!isEdit" [nzSuffixIcon]="isEdit?'calendar':''"></nz-date-picker>
|
||||
[nzPlaceHolder]="isEdit?'':'-'" [nzBorderless]="!isEdit" [nzSuffixIcon]="isEdit?'calendar':''">
|
||||
</nz-date-picker>
|
||||
</sv>
|
||||
<sv label="营业期限">
|
||||
<nz-date-picker [(ngModel)]="detailData.operatingStartTime" [nzDisabled]="!isEdit" nzPlaceHolder=" "
|
||||
@ -241,8 +260,8 @@
|
||||
</sv>
|
||||
<sv label="经营范围" col="1">
|
||||
<ng-container *ngIf="isEdit; else businessScopeelseTemplate">
|
||||
<input nz-input type="text" [(ngModel)]="detailData.businessScope" [readonly]="!isEdit" [nzBorderless]="!isEdit"
|
||||
[placeholder]="isEdit?'':'-'">
|
||||
<input nz-input type="text" [(ngModel)]="detailData.businessScope" [readonly]="!isEdit"
|
||||
[nzBorderless]="!isEdit" [placeholder]="isEdit?'':'-'">
|
||||
</ng-container>
|
||||
<ng-template #businessScopeelseTemplate>
|
||||
<span style="word-break:break-all ">{{detailData.businessScope}}</span>
|
||||
@ -263,20 +282,28 @@
|
||||
</ng-container>
|
||||
</sv>
|
||||
</sv-container>
|
||||
<nz-divider></nz-divider>
|
||||
<sv-container col="3" class="mt16">
|
||||
<sv-title>法人信息
|
||||
</div>
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>法人信息</span>
|
||||
<label *ngIf="detailData?.legalPersonIdentityVO?.isExpired" style="color: #fa8c16;">
|
||||
<i nz-icon nzType="info-circle" nzTheme="fill" class="ml-md mr-xs"></i>法人身份证期限已过期
|
||||
</label>
|
||||
</sv-title>
|
||||
</div>
|
||||
<sv-container col="3" class="mt16">
|
||||
<!-- <sv-title>法人信息
|
||||
<label *ngIf="detailData?.legalPersonIdentityVO?.isExpired" style="color: #fa8c16;">
|
||||
<i nz-icon nzType="info-circle" nzTheme="fill" class="ml-md mr-xs"></i>法人身份证期限已过期
|
||||
</label>
|
||||
</sv-title> -->
|
||||
<sv label="法定代表人">
|
||||
<input nz-input type="text" maxlength="32" [(ngModel)]="detailData.legalPersonIdentityVO.name"
|
||||
[readonly]="!isEdit" [nzBorderless]="!isEdit" [placeholder]="isEdit?'':'-'">
|
||||
</sv>
|
||||
<sv label="身份证号码">
|
||||
<input nz-input type="text" [(ngModel)]="detailData.legalPersonIdentityVO.certificateNumber" [readonly]="!isEdit"
|
||||
[nzBorderless]="!isEdit" [placeholder]="isEdit?'':'-'">
|
||||
<input nz-input type="text" [(ngModel)]="detailData.legalPersonIdentityVO.certificateNumber"
|
||||
[readonly]="!isEdit" [nzBorderless]="!isEdit" [placeholder]="isEdit?'':'-'">
|
||||
</sv>
|
||||
<sv label="身份证有效期" col="1">
|
||||
<nz-date-picker [(ngModel)]="detailData.legalPersonIdentityVO.validStartTime" [nzDisabled]="!isEdit"
|
||||
@ -306,13 +333,21 @@
|
||||
</div>
|
||||
</sv>
|
||||
</sv-container>
|
||||
<nz-divider></nz-divider>
|
||||
<sv-container col="3">
|
||||
<sv-title>企业管理员信息
|
||||
</div>
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>企业管理员信息</span>
|
||||
<label *ngIf="detailData?.adminUserInfo?.isExpired" style="color: #fa8c16;">
|
||||
<i nz-icon nzType="info-circle" nzTheme="fill" class="ml-md mr-xs"></i>企业营业期限已过期
|
||||
</label>
|
||||
</sv-title>
|
||||
</div>
|
||||
<sv-container col="3">
|
||||
<!-- <sv-title>企业管理员信息
|
||||
<label *ngIf="detailData?.adminUserInfo?.isExpired" style="color: #fa8c16;">
|
||||
<i nz-icon nzType="info-circle" nzTheme="fill" class="ml-md mr-xs"></i>企业营业期限已过期
|
||||
</label>
|
||||
</sv-title> -->
|
||||
<sv label="姓名">
|
||||
<input nz-input type="text" [(ngModel)]="detailData.adminUserInfo.name" [readonly]="!isEdit"
|
||||
[nzBorderless]="!isEdit" [placeholder]="isEdit?'':'-'">
|
||||
@ -335,10 +370,14 @@
|
||||
</div>
|
||||
</sv>
|
||||
</sv-container>
|
||||
|
||||
<nz-divider></nz-divider>
|
||||
</div>
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>企业开票信息</span>
|
||||
</div>
|
||||
<sv-container col="3" class="mt16">
|
||||
<sv-title>企业开票信息</sv-title>
|
||||
<!-- <sv-title>企业开票信息</sv-title> -->
|
||||
<sv label="开户银行">
|
||||
<ng-container *ngIf="isEdit; else createBankTemplate">
|
||||
<input nz-input type="text" [(ngModel)]="detailData.createBank" [readonly]="!isEdit" [nzBorderless]="!isEdit"
|
||||
@ -366,15 +405,22 @@
|
||||
</ng-template>
|
||||
</sv>
|
||||
</sv-container>
|
||||
<nz-divider></nz-divider>
|
||||
<sv-container col="3" class="mt-md">
|
||||
<sv-title>服务评级
|
||||
</div>
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>服务评级</span>
|
||||
<ng-container *ngIf="billEvaluateList?.length===0">(暂无评级)</ng-container>
|
||||
</sv-title>
|
||||
</div>
|
||||
<sv-container col="3" class="mt-md">
|
||||
<!-- <sv-title>服务评级
|
||||
<ng-container *ngIf="billEvaluateList?.length===0">(暂无评级)</ng-container>
|
||||
</sv-title> -->
|
||||
<sv [label]="item.evaluateTypeLabel" *ngFor="let item of billEvaluateList">
|
||||
<nz-rate [ngModel]="item.evaluateFraction" nzDisabled></nz-rate>
|
||||
</sv>
|
||||
</sv-container>
|
||||
</div>
|
||||
<!-- <nz-divider></nz-divider> -->
|
||||
<!-- <sv-container col="3" class="mt16">
|
||||
<sv-title>合伙人信息</sv-title>
|
||||
|
||||
@ -46,9 +46,42 @@
|
||||
</ng-template>
|
||||
</page-header-wrapper>
|
||||
|
||||
<nz-card [nzLoading]="service.http.loading">
|
||||
<nz-card [nzLoading]="service.http.loading" [nzBorderless]="true" style="height: 100%;">
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title" style="justify-content: space-between;">
|
||||
<div>
|
||||
<a class="sign"></a>
|
||||
<span>个人信息</span>
|
||||
<label *ngIf="userIdentityDetail?.certificationStatus===1" style="color: #52c41a;"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
</label>
|
||||
<label *ngIf="userIdentityDetail?.certificationStatus===2" style="color: #ff4d4f;"><i nz-icon
|
||||
nzType="close-circle" nzTheme="fill" class="mr-xs"></i>驳回
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<ng-container *ngIf="isEditUser; else elseTemplate">
|
||||
<button [nzLoading]="service.http.loading" nz-button (click)="reset()">
|
||||
取消
|
||||
</button>
|
||||
<button [nzLoading]="service.http.loading" nz-button nzDanger (click)="saveUser()">
|
||||
保存
|
||||
</button>
|
||||
</ng-container>
|
||||
<ng-template #elseTemplate>
|
||||
<button nz-button nzType="default" nzDanger (click)="auditPass()"
|
||||
*ngIf="userIdentityDetail.certificationStatus===0" [nzLoading]="service.http.loading" acl
|
||||
[acl-ability]="['USERCENTER-FREIGHT-USER-D-audit']">审核通过</button>
|
||||
<button nz-button nzType="default" nzDanger (click)="auditNo()"
|
||||
*ngIf="userIdentityDetail.certificationStatus===0" [nzLoading]="service.http.loading" acl
|
||||
[acl-ability]="['USERCENTER-FREIGHT-USER-D-audit']">驳回审核</button>
|
||||
<button nz-button nzType="default" nzDanger (click)="ratify()" acl
|
||||
[acl-ability]="['USERCENTER-FREIGHT-USER-D-edit']">修改</button>
|
||||
</ng-template>
|
||||
</div>
|
||||
</div>
|
||||
<sv-container col="2">
|
||||
<sv-title>个人信息
|
||||
<!-- <sv-title>个人信息
|
||||
<label *ngIf="userIdentityDetail?.certificationStatus===1" style="color: #52c41a;"><i nz-icon
|
||||
nzType="check-circle" nzTheme="fill" class="mr-xs"></i>审核通过
|
||||
</label>
|
||||
@ -71,25 +104,28 @@
|
||||
<button nz-button nzType="default" nzDanger (click)="ratify()" acl [acl-ability]="['USERCENTER-FREIGHT-USER-D-edit']" >修改</button>
|
||||
</ng-template>
|
||||
</div>
|
||||
</sv-title>
|
||||
</sv-title> -->
|
||||
<sv label="姓名">
|
||||
<input nz-input type="text" [maxlength]="32" [(ngModel)]="userIdentityDetail.name" [readonly]="!isEditUser"
|
||||
[nzBorderless]="!isEditUser" [placeholder]="isEditUser?'':'-'">
|
||||
</sv>
|
||||
<sv label="身份证号码">
|
||||
<input nz-input type="text" [minlength]="18" [maxlength]="18" [(ngModel)]="userIdentityDetail.certificateNumber" [readonly]="!isEditUser"
|
||||
[nzBorderless]="!isEditUser" [placeholder]="isEditUser?'':'-'">
|
||||
<input nz-input type="text" [minlength]="18" [maxlength]="18"
|
||||
[(ngModel)]="userIdentityDetail.certificateNumber" [readonly]="!isEditUser" [nzBorderless]="!isEditUser"
|
||||
[placeholder]="isEditUser?'':'-'">
|
||||
</sv>
|
||||
<sv label="有效期" col="1">
|
||||
<nz-date-picker [(ngModel)]="userIdentityDetail.validStartTime" [nzDisabled]="!isEditUser" nzPlaceHolder=" "
|
||||
[nzBorderless]="!isEditUser" [nzSuffixIcon]="isEditUser?'calendar':''" style="width: 130px;" class="calendar">
|
||||
[nzBorderless]="!isEditUser" [nzSuffixIcon]="isEditUser?'calendar':''" style="width: 130px;"
|
||||
class="calendar">
|
||||
</nz-date-picker>
|
||||
-
|
||||
<ng-container *ngIf="!isEditUser && !userIdentityDetail?.validEndTime && userIdentityDetail?.validStartTime">
|
||||
<label style="padding-left: 11px;">长期</label>
|
||||
</ng-container>
|
||||
<nz-date-picker [(ngModel)]="userIdentityDetail.validEndTime" [nzDisabled]="!isEditUser" nzPlaceHolder=" "
|
||||
[nzBorderless]="!isEditUser" [nzSuffixIcon]="isEditUser?'calendar':''" style="width: 130px;" class="calendar">
|
||||
[nzBorderless]="!isEditUser" [nzSuffixIcon]="isEditUser?'calendar':''" style="width: 130px;"
|
||||
class="calendar">
|
||||
</nz-date-picker>
|
||||
<ng-container *ngIf="isEditUser">
|
||||
<label nz-checkbox [ngModel]="!!!userIdentityDetail.validEndTime"
|
||||
@ -107,15 +143,21 @@
|
||||
</div>
|
||||
</sv>
|
||||
</sv-container>
|
||||
<nz-divider></nz-divider>
|
||||
<sv-container col="3" class="mt16">
|
||||
<sv-title>关联企业</sv-title>
|
||||
</div>
|
||||
|
||||
<div class="mb-md">
|
||||
<div class="font-weight-blod text-md detail-title">
|
||||
<a class="sign"></a>
|
||||
<span>关联企业</span>
|
||||
</div>
|
||||
|
||||
<!-- <sv-title>关联企业</sv-title> -->
|
||||
<st #st [columns]="columns" [data]="service.$api_get_driver_projects" size="small"
|
||||
[req]="{ method: 'POST', allInBody: true, params: {appUserId:route.snapshot.params.id} }"
|
||||
[res]="{ reName: { list: 'data' } }" [page]="{ show: false }" style="width: 100%;">
|
||||
</st>
|
||||
</sv-container>
|
||||
|
||||
</div>
|
||||
</nz-card>
|
||||
</ng-container>
|
||||
|
||||
|
||||
@ -22,4 +22,5 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user