24 lines
1.2 KiB
HTML
24 lines
1.2 KiB
HTML
<div class="treeWrap">
|
|
<div class="leftBox">
|
|
<nz-tree #nzTreeComponent [nzData]="functionList" (nzClick)="clickTreeNodeAction($event)" nzCheckable
|
|
(nzCheckBoxChange)="changeTreeCheckEvent($event)" [nzCheckedKeys]="authorityAssistId" style="max-height: 600px;
|
|
overflow: auto;">
|
|
</nz-tree>
|
|
</div>
|
|
<div class="rightBox">
|
|
<nz-tabset [nzSize]="'small'">
|
|
<nz-tab nzTitle="操作权限">
|
|
<div *ngIf="origin.buttonInfoList && origin.buttonInfoList.length">
|
|
<label style="width: 100%" nz-checkbox [ngModel]="_apiAuthSet.has(item.functionButtonId)"
|
|
*ngFor="let item of origin.buttonInfoList"
|
|
(ngModelChange)="butCheckedAction($event,origin,node, item)"
|
|
[disabled]="source === 'onlyAuth'">{{
|
|
item.permissionsName }}</label>
|
|
</div>
|
|
<nz-empty nzNotFoundImage="simple" *ngIf="!origin.buttonInfoList || origin.buttonInfoList.length === 0">
|
|
</nz-empty>
|
|
</nz-tab>
|
|
</nz-tabset>
|
|
</div>
|
|
</div>
|
|
<nz-empty nzNotFoundImage="simple" *ngIf="functionList.length === 0"></nz-empty> |