<div class="detail">
  <div class="title">
    人员预约检查情况
    <i class="icon_transport transport-guanbi" (click)="close()"></i>
  </div>
  <div class="box">
    <nz-table class="hospitalTable" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false"
      [nzLoading]="loading1" [nzScroll]="{y:'350px'}">
      <thead>
        <tr class="thead">
          <th nzWidth="5%">序号</th>
          <th nzWidth="15%">时间</th>
          <th nzWidth="10%">配送人员名称</th>
          <th nzWidth="15%">可预约检查总数</th>
          <th nzWidth="15%">系统自动建单数</th>
          <th nzWidth="10%">主动建单数</th>
          <th nzWidth="10%">科室派单数</th>
          <th nzWidth="10%">未建单</th>
          <th nzWidth="10%">操作</th>
        </tr>
      </thead>
      <tbody>
        <tr *ngFor="let data of listOfData;let index=index;">
          <td>{{index+(pageIndex-1) * pageSize + 1}}</td>
          <td>{{data.datetime|date:'yyyy-MM-dd hh:mm'}}</td>
          <td>{{data.userName}}</td>
          <td>{{data.count5}}</td>
          <td>{{data.count1}}</td>
          <td>{{data.count2}}</td>
          <td>{{data.count3}}</td>
          <td>{{data.count4}}</td>
          <td>
            <div class="coop">
              <span *ngIf="data.userId&&data.count5" (click)="integralDetail(data)">查看</span>
            </div>
          </td>
        </tr>
      </tbody>
    </nz-table>
    <div class="pagination">
      <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" nzShowSizeChanger [(nzPageSize)]="pageSize"
        (nzPageIndexChange)="getListByDept(hosId,currentDeptId)"
        (nzPageSizeChange)="getListByDept(hosId,currentDeptId)">
      </nz-pagination>
    </div>
  </div>
  <div class="btns">
    <button class=" btn cancel" nz-button nzType="default" (click)="close()">关闭</button>
  </div>
</div>
<router-outlet></router-outlet>
