<div class="modal display_flex justify-content_flex-center align-items_center" *ngIf="show">
  <div class="modalBody">
    <div class="title">查看医废详情<i class="icon_transport transport-guanbi" (click)="hideModal()"></i></div>
    <div class="content">
      <nz-table class="hospitalTable" [nzData]="historySpecimenList" nzSize="middle" [nzShowPagination]="false"
        [nzLoading]="hsLoading">
        <thead>
          <tr class="thead">
            <th nzWidth="10%">序号</th>
            <th nzWidth="18%">医废序号</th>
            <th nzWidth="18%">重量</th>
            <th nzWidth="18%">收取科室</th>
            <th nzWidth="18%">收取时间</th>
            <th nzWidth="18%">收取人</th>
          </tr>
        </thead>
        <tbody>
          <tr *ngFor="let data of historySpecimenList;let i = index;">
            <td>{{i+(historySpecimenPageIndex-1) * historySpecimenPageSize + 1}}</td>
            <td>{{ data.clinicalWasteSn }}</td>
            <td>{{ data.weight }}kg</td>
            <td>{{ data.dept ? data.dept.dept : '' }}</td>
            <td>{{ data.receiveTime | date:"yyyy-MM-dd HH:mm:ss" }}</td>
            <td>{{ data.receivor ? data.receivor.name : '' }}</td>
          </tr>
        </tbody>
      </nz-table>
      <div class="pagination">
        <nz-pagination [(nzPageIndex)]="historySpecimenPageIndex" [(nzTotal)]="historySpecimenListLength"
          [(nzPageSize)]="historySpecimenPageSize" (nzPageIndexChange)="getList()"
          (nzPageSizeChange)="getList()">
        </nz-pagination>
      </div>
    </div>
    <div class="display_flex justify-content_flex-center">
      <button class="btn know" nz-button nzType="primary" (click)="hideModal()">知道了</button>
    </div>
  </div>
</div>
