fix bug
This commit is contained in:
@ -30,11 +30,11 @@
|
||||
<div nz-col [nzXl]="8" [nzLg]="8" [nzSm]="24" [nzXs]="24" class="d-flex"
|
||||
style="justify-content: flex-end;padding-right: 24px;">
|
||||
<button *ngIf="userDetail?.stateLocked" [nzLoading]="service.http.loading" nz-button nzType="primary"
|
||||
nzGhost (click)="userAction(1)">
|
||||
nzGhost (click)="userAction(1)" acl [acl-ability]="['USERCENTER-FREIGHT-USER-D-lock']">
|
||||
启用
|
||||
</button>
|
||||
<button *ngIf="!userDetail?.stateLocked" [nzLoading]="service.http.loading" nz-button nzDanger nzGhost
|
||||
(click)="userAction(0)">
|
||||
(click)="userAction(0)" acl [acl-ability]="['USERCENTER-FREIGHT-USER-D-lock']">
|
||||
冻结
|
||||
</button>
|
||||
</div>
|
||||
@ -65,11 +65,10 @@
|
||||
</button>
|
||||
</ng-container>
|
||||
<ng-template #elseTemplate>
|
||||
<button nz-button nzType="default" nzDanger (click)="auditPass()"
|
||||
*ngIf="userIdentityDetail.certificationStatus===0" [nzLoading]="service.http.loading">审核通过</button>
|
||||
<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">驳回审核</button>
|
||||
<button nz-button nzType="default" nzDanger (click)="ratify()">修改</button>
|
||||
*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>
|
||||
</sv-title>
|
||||
|
||||
Reference in New Issue
Block a user