<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="4%">序号</th>
              <th nzWidth="8%">单号</th>
              <th nzWidth="7%">申请科室</th>
              <th nzWidth="5%">实际接收</th>
              <th nzWidth="8%">发起时间</th>
              <th nzWidth="8%">状态</th>
              <th nzWidth="5%">操作</th>
          </tr>
        </thead>
        <tbody>
          <tr *ngFor="let data of historySpecimenList;let i = index;">
              <td>{{ i + 1 }}</td>
              <td>{{ data.gdcode || '无' }}</td>
              <td>{{ data.createDeptDTO?data.createDeptDTO.dept:'无' }}</td>
              <td>{{ data.actualReceiveNum }}</td>
              <td>{{ data.startTime|date:'yyyy-MM-dd HH:mm'}}</td>
              <td>{{ data.gdState?data.gdState.name:'无' }}</td>
              <td>
                <div class="coop">
                  <span (click)="goToOrderDetail(data.id)">查看</span>
                </div>
              </td>
          </tr>
        </tbody>
      </nz-table>
      <div class="pagination">
        <nz-pagination [(nzPageIndex)]="historySpecimenPageIndex" [(nzTotal)]="historySpecimenListLength"
          [(nzPageSize)]="historySpecimenPageSize" (nzPageIndexChange)="getOrders()"
          (nzPageSizeChange)="getOrders()">
        </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>
