<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="15%">发起时间</th>
          <th nzWidth="15%">执行时长</th>
          <th nzWidth="15%">积分</th>
          <th nzWidth="15%">建单类型</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.gdcode}}</td>
          <td>{{data.startTime|date:'yyyy-MM-dd HH:mm'}}</td>
          <td>{{data.showTimeNum}}</td>
          <td>{{data.grade?data.grade.gradeTotal:''}}</td>
          <td>{{data.sourceType}}</td>
          <td>{{data.specialCloseReason?'是':'否'}}</td>
          <td>
            <div class="coop">
              <span (click)="integralDetail(data)">查看</span>
            </div>
          </td>
        </tr>
      </tbody>
    </nz-table>
    <div class="pagination">
      <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" nzShowSizeChanger [(nzPageSize)]="pageSize"
        (nzPageIndexChange)="getListByWorker(hosId,currentDeptId)"
        (nzPageSizeChange)="getListByWorker(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>
