<div class="modal-header">
  <div class="modal-title">{{ params.id === 0 ? '新增角色' : '编辑角色' }}</div>
</div>
<nz-spin *ngIf="!params" class="modal-spin"></nz-spin>
<div *ngIf="params">
  <sf #sf [compact]="true" [ui]="{'*': { spanLabelFixed: 120, grid: { span: 24 } } }" [schema]="schema"
    [button]="'none'"> </sf>
</div>
<div class="box">
  <se-container se-container="1">
    <se label="角色权限" required [labelWidth]="120">
      <app-cuc-menu #menu (changeData)="getData($event)" [type]="params.id === 0 ? 'add' : 'edit'" [roleId]="params.id" [appId]="params.appId"
        [isAuthorityIdDTOList]="roleInfoData.authority || []"
        [authorityAssistId]="roleInfoData.authorityAssistId || []">
      </app-cuc-menu>
    </se>
  </se-container>
</div>

<div class="modal-footer">
  <button nz-button type="button" (click)="close()">取消</button>
  <button nz-button type="button" nzType="primary" (click)="sure()">确定</button>
</div>