work-order-log.component.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <div class="list-template">
  2. <div class="list-template__content">
  3. <div class="list-template__top" nz-row>
  4. <div nz-col nzXl='6' class="list-template__searchBox">
  5. </div>
  6. <div nz-col nzXl='18' class="list-template__btns">
  7. <button nz-button class="btn default" (click)='search()'>搜索</button>
  8. </div>
  9. </div>
  10. <div class="list-template__bottom">
  11. <nz-table class="list-template__nzTable" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false"
  12. [nzLoading]="loading1">
  13. <thead>
  14. <tr class="thead">
  15. <th nzWidth="10%">工单号</th>
  16. <th nzWidth="10%">申请科室</th>
  17. <th nzWidth="10%">操作类型</th>
  18. <th nzWidth="10%">操作人</th>
  19. <th nzWidth="10%">交接人</th>
  20. <th nzWidth="10%">操作时间</th>
  21. <th nzWidth="20%">备注</th>
  22. <th nzWidth="10%">图片</th>
  23. <th nzWidth="10%">操作</th>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. <tr *ngFor="let data of listOfData;let index=index;">
  28. <td>{{ data.title }}</td>
  29. <td>{{ data.taskNames }}</td>
  30. <td>{{ data.deptNames }}</td>
  31. <td>{{ data.type?.name }}</td>
  32. <td>{{ data.type?.name }}</td>
  33. <td>{{ data.type?.name }}</td>
  34. <td>{{ data.type?.name }}</td>
  35. <td>{{ data.type?.name }}</td>
  36. <td>
  37. <div class="coop">
  38. <span (click)="del(data)">查看</span>
  39. </div>
  40. </td>
  41. </tr>
  42. </tbody>
  43. </nz-table>
  44. <div class="list-template__pagination">
  45. <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" nzShowSizeChanger [(nzPageSize)]="pageSize"
  46. (nzPageIndexChange)="getList()" (nzPageSizeChange)="getList()">
  47. </nz-pagination>
  48. </div>
  49. </div>
  50. </div>
  51. </div>