<div class="modal display_flex justify-content_flex-center align-items_center">
  <div class="modalBody" style="width: 1200px;">
    <div class="title">追加检查<i class="icon_transport transport-guanbi" (click)="hideModal()"></i></div>
    <div class="content">
      <div class="tableWrap">
        <div class="inspectType">
          检查类型：<u *ngFor="let item of inspectCheckItemList" (click)="clickInspectCheckItem(item.id)" [ngClass]="{ active: activeInspectCheckItemId == item.id }">{{item.name}}</u>
        </div>
        <nz-table class="hospitalTable" [nzData]="data2List" nzSize="middle" [nzShowPagination]="false"
          [nzLoading]="hsLoading" (nzCurrentPageDataChange)="currentPageData2Change($event)" [nzScroll]="{ y: '385px' }">
          <thead>
            <tr class="thead">
              <th nzWidth="4%" nzShowCheckbox [(nzChecked)]="isAllDisplayData2Checked" [nzIndeterminate]="isIndeterminateData2"
                (nzCheckedChange)="checkAllData2($event)"></th>
              <th nzWidth="32%">检查项目</th>
              <th nzWidth="32%">检查地点</th>
              <th nzWidth="32%">检查类型</th>
            </tr>
          </thead>
          <tbody>
            <tr *ngFor="let data of data2List;let i = index;" (click)="selectedListData2(data.id)">
              <td nzShowCheckbox [(nzChecked)]="mapOfCheckedData2Id[data.id]" (nzCheckedChange)="refreshData2Status()"></td>
              <td>{{ data.name}}</td>
              <td>{{ deptDisplay == 2 ? data.extra4DTO?.deptalias : data.extra4DTO?.dept }}</td>
              <td>{{ data.extra5DTO?.name }}</td>
            </tr>
          </tbody>
        </nz-table>
      </div>
    </div>
    <div class="display_flex justify-content_flex-center">
      <button class="btn" nz-button nzType="primary" (click)="confirmModal()">确认</button>
      <button class="btn cancel" nz-button nzType="default" (click)="hideModal()">取消</button>
    </div>
  </div>
</div>
