specimen-search.component.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <div class="list-template">
  2. <div class="list-template__content">
  3. <div class="list-template__top" nz-row>
  4. <div nz-col nzXl='16' class="list-template__searchBox">
  5. <div class="list-template__searchItem">
  6. <span class="label">收取科室:</span>
  7. <nz-select [nzDropdownMatchSelectWidth]="false" class="formItem" nzServerSearch nzShowSearch nzAllowClear
  8. nzPlaceHolder="请选择收取科室" [(ngModel)]="searchCriteria.department" (nzOnSearch)="changeInp($event,'search')"
  9. (nzOpenChange)="changeSearch($event)">
  10. <ng-container *ngFor="let data of departmentSearch">
  11. <nz-option *ngIf="!isLoading" nzLabel="{{data.dept}}" nzValue="{{data.id}}"></nz-option>
  12. </ng-container>
  13. <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
  14. <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
  15. </nz-option>
  16. </nz-select>
  17. </div>
  18. <div class="list-template__searchItem">
  19. <span class="label">标本编码:</span>
  20. <input nz-input class="formItem" placeholder="请输入标本编码" [(ngModel)]="searchCriteria.scode" />
  21. </div>
  22. <div class="list-template__searchItem">
  23. <span class="label">患者信息:</span>
  24. <input nz-input class="formItem" placeholder="请输入患者信息" [(ngModel)]="searchCriteria.parent" />
  25. </div>
  26. </div>
  27. <div nz-col nzXl="8" class="list-template__btns">
  28. <button nz-button class="btn default" (click)="showDelModal('您确认要清空标本吗?')">清空标本</button>
  29. <button nz-button class="btn default ml8" (click)='reset()'>重置</button>
  30. <button nz-button class="btn default ml8" (click)='getList(1)'>搜索</button>
  31. </div>
  32. </div>
  33. <div class="list-template__bottom">
  34. <nz-table class="list-template__nzTable" #headerTable [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false"
  35. [nzLoading]="loading1">
  36. <thead>
  37. <tr class="thead">
  38. <th nzWidth="5%">序号</th>
  39. <th nzWidth="8%">标本类型</th>
  40. <th nzWidth="6%">状态</th>
  41. <th nzWidth="10%">标本编码</th>
  42. <th nzWidth="8%">患者姓名</th>
  43. <th nzWidth="8%">床号</th>
  44. <th nzWidth="10%">收取扫描时间</th>
  45. <th nzWidth="8%">收取人</th>
  46. <th nzWidth="10%">申请科室</th>
  47. <th nzWidth="10%">送达目标科室</th>
  48. <th nzWidth="10%">送达到达时间</th>
  49. <th nzWidth="7%"></th>
  50. </tr>
  51. </thead>
  52. <tbody>
  53. <tr *ngFor="let data of listOfData;let i = index">
  54. <td>{{i+1}}</td>
  55. <td>{{ data.stype?data.stype.name:'-' }}</td>
  56. <td>{{ data.speState?data.speState.name:'-' }}</td>
  57. <td>{{ data.scode||'-' }}</td>
  58. <td>{{ data.patientName||'-' }}</td>
  59. <td>{{ data.bedNum||'-' }}</td>
  60. <td>{{data.arriveTime||'-'}}</td>
  61. <td>{{ data.worker||'-' }}</td>
  62. <td>{{data.sickRoom?data.sickRoom.dept:'-'}}</td>
  63. <td>{{data.checkDept?data.checkDept.dept:'-'}}</td>
  64. <td>{{data.sendTime||'-'}}</td>
  65. <td><button (click)="viewSpecimenHistory(data)">查看</button></td>
  66. </tr>
  67. </tbody>
  68. </nz-table>
  69. <div class="list-template__pagination">
  70. <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize"
  71. (nzPageIndexChange)="getList(0)" (nzPageSizeChange)="getList(0)">
  72. </nz-pagination>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <!-- 清空标本模态框 -->
  78. <app-dialog-delete [delModal]="delModal" (hideDelModalEvent)="hideDelModal()" [btnLoading]="btnLoading"
  79. (confirmDelEvent)="confirmDel()" [content]="tipsMsg1"></app-dialog-delete>
  80. <!-- 标本历史记录查看 -->
  81. <app-history-prompt-modal *ngIf="historyPromptModalShow" [show]="historyPromptModalShow" [scode]="scode"
  82. (closeModelHs)="closeModelHistory($event)"></app-history-prompt-modal>
  83. <!-- 操作成功/失败提示框 -->
  84. <app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
  85. [info]="promptInfo">
  86. </app-prompt-modal>