<nz-modal [nzWidth]="700" [(nzVisible)]="isVisible" nzTitle="选择用户" (nzOnCancel)="handleKeyCancel()" (nzOnOk)="handleKeyCancel()">
  <div nz-row>
    <div nz-col [nzSpan]="16">
      Agent用户
    </div>
  </div>
  <div>
    <nz-table #nzKeyTable [nzData]="objList">
      <thead>
      <tr>
        <th width="30%">用户名</th>
        <th>内容</th>
      </tr>
      </thead>
      <tbody>
      <tr *ngFor="let data of nzKeyTable.data">
        <td (click)="setUser(data)">{{data.alias}}</td>
        <td>{{data.surname}}</td>
      </tr>
      </tbody>
    </nz-table>
  </div>
</nz-modal>
