This commit is contained in:
Taric Xin
2022-01-12 21:28:48 +08:00
parent 18872aab7a
commit 7235c826e0
2 changed files with 16 additions and 16 deletions

View File

@ -16,11 +16,11 @@
<nz-badge nzStatus="warning" nzText="冻结" *ngIf="userDetail?.stateLocked" class="ml-xl"></nz-badge>
</p>
<div style="margin-right: 24px;">
<button *ngIf="userDetail?.stateLocked" [nzLoading]="service.http.loading" nz-button nzType="primary"
<button *ngIf="userDetail?.stateLocked" [disabled]="service.http.loading" nz-button nzType="primary"
nzGhost (click)="userAction(1)">
启用
</button>
<button *ngIf="!userDetail?.stateLocked" [nzLoading]="service.http.loading" nz-button nzDanger nzGhost
<button *ngIf="!userDetail?.stateLocked" [disabled]="service.http.loading" nz-button nzDanger nzGhost
(click)="userAction(0)">
冻结
</button>
@ -51,10 +51,10 @@
</label>
<div style="float: right;">
<ng-container *ngIf="isEditUser; else elseTemplate">
<button [nzLoading]="service.http.loading" nz-button (click)="reset(0)">
<button [disabled]="service.http.loading" nz-button (click)="reset(0)">
取消
</button>
<button [nzLoading]="service.http.loading" nz-button nzDanger (click)="saveUser()">
<button [disabled]="service.http.loading" nz-button nzDanger (click)="saveUser()">
保存
</button>
</ng-container>
@ -100,10 +100,10 @@
</label>
<div style="float: right;">
<ng-container *ngIf="isEditDriver;else editDriverButton">
<button [nzLoading]="service.http.loading" nz-button (click)="reset(1)">
<button [disabled]="service.http.loading" nz-button (click)="reset(1)">
取消
</button>
<button [nzLoading]="service.http.loading" nz-button nzDanger (click)="saveDriver()">
<button [disabled]="service.http.loading" nz-button nzDanger (click)="saveDriver()">
保存
</button>
</ng-container>
@ -287,7 +287,7 @@
<div nz-row nzGutter="8">
<div nz-col nzSpan="24" se-container [labelWidth]="120">
<se [col]="1" label="姓名">
{{ detailData?.enterpriseName }}
{{ userIdentityDetail?.name }}
</se>
<se [col]="1" label="备注" required>
<textarea nz-input rows="3" style="width: 325px;margin-left: 14px;" [(ngModel)]="approvalOpinion"></textarea>