<nz-modal [nzMaskClosable]="false" [nzWidth]="780" [(nzVisible)]="isVisiable" nzTitle="选择项目" (nzOnCancel)="handleCancel()"
          (nzOnOk)="handleOk()">
  <div class="padding-10">
    <input name="outSearchName" (keyup.enter)="getList()" style="width: 200px;" type="text" nz-input
           [(ngModel)]="obj.keyword" placeholder="输入名称">
    <button (click)="getList()" nz-button nzType="default"><i class="anticon anticon-search"
                                                              style="color: #6097b7"></i>搜索
    </button>
  </div>
  <nz-table #basicTable [nzData]="page.list"
            [nzFrontPagination]="false" [nzTotal]="page.totalNum" [nzPageIndex]="page.pageNum"
            [nzPageSize]="page.pageCount"
            (nzCurrentPageDataChange)="PageDataChange($event)"
            (nzPageIndexChange)="changePage($event)">
    <thead>
    <tr>
      <th></th>
      <th>项目名称</th>
      <th>项目单位</th>
      <th>项目负责人</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of basicTable.data">
      <td nzShowCheckbox [(nzChecked)]="data.checked" (nzCheckedChange)="selectItem(data,$event)"></td>
      <td>{{data.name}}</td>
      <td>{{data.officeName}}</td>
      <td>{{data.officePrincipal}}</td>
    </tr>
    </tbody>
  </nz-table>
</nz-modal>
