dept-statistics.component.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <div class="list-template">
  2. <div class="list-template__content">
  3. <div class="list-template__top" nz-row>
  4. <div nz-col nzXl='19' class="list-template__searchBox">
  5. <div class="list-template__searchItem">
  6. <span class="label">发起时间</span>:
  7. <nz-range-picker [(ngModel)]="dateRange" [nzAllowClear]='false' (ngModelChange)="changeDate($event)">
  8. </nz-range-picker>
  9. <br />
  10. </div>
  11. <div class="list-template__searchItem ml8">
  12. <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" [nzShowSearch]="false" nzPlaceHolder="请选择时间"
  13. [(ngModel)]="defRange" (ngModelChange)="changeDateRange($event)">
  14. <nz-option nzLabel="{{data.label}}" nzValue="{{data.id}}" *ngFor="let data of defRanges"></nz-option>
  15. </nz-select>
  16. </div>
  17. </div>
  18. <div nz-col nzXl='5' class="list-template__btns">
  19. <button nz-button class="btn default" (click)='search(1)'>搜索</button>
  20. <button nz-button class="btn default ml8" (click)='export()' [nzLoading]="loading2">导出</button>
  21. <button nz-button class="btn default ml8" (click)='reset()'>重置</button>
  22. </div>
  23. </div>
  24. <div class="list-template__bottom">
  25. <nz-table class="list-template__nzTable" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false"
  26. [nzLoading]="loading1">
  27. <thead>
  28. <tr class="thead">
  29. <th nzWidth="5%">序号</th>
  30. <th nzWidth="10%">科室名称</th>
  31. <th nzWidth="10%">工单总量</th>
  32. <th nzWidth="10%">主动评价次数</th>
  33. <th nzWidth="10%">标本数量</th>
  34. <th nzWidth="10%">标本轮巡数量</th>
  35. <th nzWidth="10%">患者陪检数量</th>
  36. <th nzWidth="10%">药品数量</th>
  37. <th nzWidth="10%">静配数量</th>
  38. <th nzWidth="10%">患者转运数量</th>
  39. <th nzWidth="5%">其他数量</th>
  40. </tr>
  41. </thead>
  42. <tbody>
  43. <tr *ngFor="let data of listOfData;let index=index;">
  44. <td>{{index+(pageIndex-1) * pageSize + 1}}</td>
  45. <td>{{ data.date }}</td>
  46. <td>{{ data.total||0}}</td>
  47. <td>{{data.elevateCount||0}}</td>
  48. <td>{{data.speCount||0}}</td>
  49. <td>{{data.spePlanCount||0}}</td>
  50. <td>{{data.insCount||0}}</td>
  51. <td>{{data.drugsCount||0}}</td>
  52. <td>{{data.jpCount||0}}</td>
  53. <td>{{data.transCount||0}}</td>
  54. <td>{{data.otherCount||0}}</td>
  55. </tr>
  56. </tbody>
  57. </nz-table>
  58. <div class="list-template__pagination">
  59. <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" nzShowSizeChanger [(nzPageSize)]="pageSize"
  60. (nzPageIndexChange)="getList()" (nzPageSizeChange)="getList()">
  61. </nz-pagination>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. <!-- 操作成功/失败提示框 -->
  67. <app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
  68. [info]="promptInfo"></app-prompt-modal>
  69. <!-- 查看详情 -->
  70. <router-outlet></router-outlet>