fix bug
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
</button>
|
||||
</ng-template>
|
||||
<ng-template #content>
|
||||
<nz-skeleton [nzLoading]="false">
|
||||
<nz-skeleton [nzLoading]="service.http.loading">
|
||||
<div class="user-info">
|
||||
<img [src]="userDetail?.avatar" />
|
||||
<div style="flex: 1">
|
||||
@ -16,11 +16,11 @@
|
||||
<nz-badge nzStatus="warning" nzText="冻结" *ngIf="userDetail?.stateLocked" class="ml-xs"> </nz-badge>
|
||||
</p>
|
||||
<div style="margin-right: 24px">
|
||||
<button *ngIf="userDetail?.stateLocked" [nzLoading]="false" nz-button nzType="primary"
|
||||
<button *ngIf="userDetail?.stateLocked" [nzLoading]="service.http.loading" nz-button nzType="primary"
|
||||
nzGhost (click)="userAction(1)" acl [acl-ability]="['USERCENTER-DRIVER-CAPTAIN-DETAIL-lock']">
|
||||
启用
|
||||
</button>
|
||||
<button *ngIf="!userDetail?.stateLocked" [nzLoading]="false" nz-button nzDanger nzGhost
|
||||
<button *ngIf="!userDetail?.stateLocked" [nzLoading]="service.http.loading" nz-button nzDanger nzGhost
|
||||
(click)="userAction(0)" acl [acl-ability]="['USERCENTER-DRIVER-CAPTAIN-DETAIL-lock']">
|
||||
冻结
|
||||
</button>
|
||||
@ -36,7 +36,7 @@
|
||||
</ng-template>
|
||||
</page-header-wrapper>
|
||||
|
||||
<nz-card [nzLoading]="false">
|
||||
<nz-card [nzLoading]="service.http.loading">
|
||||
<div [class]="isEditUser ? 'edit-box' : 'readOnly-box'">
|
||||
<sv-container col="2">
|
||||
<sv-title>个人信息
|
||||
@ -48,8 +48,8 @@
|
||||
</label>
|
||||
<div style="float: right">
|
||||
<ng-container *ngIf="isEditUser; else elseTemplate">
|
||||
<button [nzLoading]="false" nz-button (click)="reset()"> 取消 </button>
|
||||
<button [nzLoading]="false" nz-button nzDanger (click)="saveUser()"> 保存 </button>
|
||||
<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()"
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
<button
|
||||
nz-button
|
||||
nzType="primary"
|
||||
[nzLoading]="false"
|
||||
[nzLoading]="service.http.loading"
|
||||
(click)="st?.load(1)"
|
||||
acl
|
||||
[acl-ability]="['USERCENTER-DRIVER-CAPTAIN-list']"
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
</button>
|
||||
</ng-template>
|
||||
<ng-template #content>
|
||||
<nz-skeleton [nzLoading]="false">
|
||||
<nz-skeleton [nzLoading]="service.http.loading">
|
||||
<div class="user-info">
|
||||
<img [src]="userDetail?.avatar" />
|
||||
<div style="flex: 1">
|
||||
@ -39,7 +39,7 @@
|
||||
</page-header-wrapper>
|
||||
|
||||
|
||||
<nz-card [nzLoading]="false">
|
||||
<nz-card [nzLoading]="service.http.loading">
|
||||
<div [class]="isEditUser?'edit-box':'readOnly-box'">
|
||||
<sv-container col="2">
|
||||
<sv-title>个人信息
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
<sf #sf [schema]="schema" [ui]="{ '*': { spanLabelFixed: 120, grid: { lg: 8, md: 12, sm: 12, xs: 24 } } }" [compact]="true" [button]="'none'"></sf>
|
||||
</div>
|
||||
<div nz-col [nzXl]=" 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
||||
<button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)" acl
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)" acl
|
||||
[acl-ability]="['USERCENTER-DRIVER-CONFIG-search']">查询</button>
|
||||
<button nz-button nzType="primary" [disabled]="false" (click)="exportList()" acl
|
||||
[acl-ability]="['USERCENTER-DRIVER-CONFIG-export']">导出</button>
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right"
|
||||
[class.expend-options]="_$expand">
|
||||
<button nz-button nzType="primary" [nzLoading]="false" (click)="st?.load(1)" acl [acl-ability]="['USERCENTER-DRIVER-LIST-list']">查询</button>
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)" acl [acl-ability]="['USERCENTER-DRIVER-LIST-list']">查询</button>
|
||||
<button nz-button nzType="primary" (click)="exportList()" [disabled]="false" acl [acl-ability]="['USERCENTER-DRIVER-LIST-export']">导出</button>
|
||||
<button nz-button (click)="resetSF()" [disabled]="false">重置</button>
|
||||
<button nz-button nzType="link" (click)="expandToggle()">
|
||||
|
||||
Reference in New Issue
Block a user