<!--添加资源-->
<nz-modal [nzWidth]="1080" [(nzVisible)]="isVisible" [nzTitle]="title" (nzOnCancel)="handleEditCancel()" (nzOnOk)="handEditleOk()">
  <nz-table #basicTable [nzData]="dataSet">
    <thead>
    <tr>
      <th>角色名称</th>
      <th>说明</th>
      <th>权限模块</th>
      <th>资源权限</th>
      <th>有效</th>
      <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of basicTable.data">
      <td>{{data.name}}</td>
      <td>{{data.comments}}</td>
      <td>{{data.key3}}</td>
      <td>{{data.key4}}</td>
      <td>
        <ng-container *ngIf="data.status == 0">
          <i class="anticon anticon-check"></i>
        </ng-container>
      </td>
      <td class="handle">
        <span (click)="grantUser(data)">授予用户</span>
        <span>查看</span>
        <span (click)="showEditModal(data.id)">编辑</span>
        <span (click)="deleteRole(data)">删除</span>
      </td>
    </tr>
    </tbody>
  </nz-table>
</nz-modal>
