edit
This commit is contained in:
		| @ -1,7 +1,7 @@ | ||||
| <div class="treeWrap"> | ||||
|     <div class="leftBox"> | ||||
|         <nz-tree #nzTreeComponent [nzData]="functionList" (nzClick)="nzEvent($event)" nzCheckable | ||||
|             [nzCheckedKeys]="authorityAssistId" [nzExpandedKeys]="defaultExpandedKeys" style="max-height: 600px; | ||||
|         <nz-tree #nzTreeComponent [nzData]="functionList" (nzClick)="clickTreeNodeAction($event)" nzCheckable | ||||
|             (nzCheckBoxChange)="changeTreeCheckEvent($event)" [nzCheckedKeys]="authorityAssistId" style="max-height: 600px; | ||||
|         overflow: auto;"> | ||||
|         </nz-tree> | ||||
|     </div> | ||||
| @ -9,12 +9,12 @@ | ||||
|         <nz-tabset [nzSize]="'small'"> | ||||
|             <nz-tab nzTitle="操作权限"> | ||||
|                 <div *ngIf="origin.buttonInfoList && origin.buttonInfoList.length"> | ||||
|                     <label style="width: 100%" nz-checkbox [(ngModel)]="item.checked" | ||||
|                         *ngFor="let item of origin.buttonInfoList" (ngModelChange)="addAuthority(origin, node, item)" | ||||
|                         [disabled]="source === 'onlyAuth'">{{ | ||||
|                     <label style="width: 100%" nz-checkbox [ngModel]="_apiAuthSet.has(item.functionButtonId)" | ||||
|                         *ngFor="let item of origin.buttonInfoList" | ||||
|                         (ngModelChange)="addAuthority($event,origin,node,  item)" [disabled]="source === 'onlyAuth'">{{ | ||||
|                         item.permissionsName }}</label> | ||||
|                 </div> | ||||
|                 <nz-empty nzNotFoundImage="simple" *ngIf="origin.buttonInfoList && origin.buttonInfoList.length === 0"> | ||||
|                 <nz-empty nzNotFoundImage="simple" *ngIf="!origin.buttonInfoList || origin.buttonInfoList.length === 0"> | ||||
|                 </nz-empty> | ||||
|             </nz-tab> | ||||
|         </nz-tabset> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user