detail-blood.component.html 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. <!-- 标本 -->
  2. <div class="detail" *ngIf="!maskFlag">
  3. <div class="title">工单信息<i class="icon_transport transport-guanbi" (click)="close()"></i></div>
  4. <overlay-scrollbars #osComponentRef1 style="height: 90%; flex: 1">
  5. <div class="content">
  6. <div class="top" *ngIf="amplificationShow">
  7. <div class="num">
  8. <span class="left">单号:{{orderInfo.gdcode}}</span>
  9. <span class="right">{{orderInfo.gdState.name}}</span>
  10. </div>
  11. <div class="info" nz-row>
  12. <div nz-col nzSpan="8">工单日期:{{orderInfo.startTime}}</div>
  13. <div nz-col nzSpan="8">总耗时:{{orderInfo.showTimeNum}}</div>
  14. <div nz-col nzSpan="8">申请类型:{{orderInfo.taskType.taskName}}<ng-container *ngIf="orderInfo.goodsRemark">-{{orderInfo.goodsRemark}}</ng-container></div>
  15. <div nz-col nzSpan="8">
  16. 申请科室:{{orderInfo.createDeptDTO?(!showCoop&&deptDisplay==2?orderInfo.createDeptDTO.deptalias:orderInfo.createDeptDTO.dept):'-'}}
  17. </div>
  18. <div nz-col nzSpan="8">起点科室:{{orderInfo.startDept?(!showCoop&&deptDisplay==2?orderInfo.startDept.deptalias:orderInfo.startDept.dept):''}}</div>
  19. <div nz-col nzSpan="8">目标科室:{{endDepts}}</div>
  20. <div nz-col nzSpan="8" *ngIf="orderInfo.worker">支助人员信息:{{orderInfo.worker.name}}</div>
  21. <div nz-col nzSpan="8">预计接收:{{orderInfo.expectReceiveNum?orderInfo.expectReceiveNum:''}}</div>
  22. <div nz-col nzSpan="8">实际接收:{{orderInfo.actualReceiveNum?orderInfo.actualReceiveNum:''}}</div>
  23. <div nz-col nzSpan="24" *ngIf="orderInfo.workOrderRemark">备注信息:{{orderInfo.workOrderRemark}}
  24. </div>
  25. <div nz-col nzSpan="24" *ngIf="orderInfo.specialCloseReason">
  26. 特殊情况关闭原因:{{orderInfo.specialCloseReason}}
  27. </div>
  28. </div>
  29. </div>
  30. <div class="center" *ngIf="amplificationShow">
  31. <div class="box display_flex justify-content_flex-center">
  32. <div class="steps" *ngFor="let step of logList;let i=index;">
  33. <div class="step">
  34. <div class="info">
  35. <i
  36. [ngClass]="{'icon_transport':true, 'transport-icon_liucheng':true,'green':(step.record&&step.record[0]&&step.record[0].operationTime)}"></i>
  37. <p>{{step.operationName}}</p>
  38. <p>{{step.record.length>=1?(step.record[0].operationTime|date:'MM-dd HH:mm'):''}}</p>
  39. <p *ngIf="step.record[0]&&step.record[0].dept">
  40. <span *ngFor="let dept of step.record">{{!showCoop&&deptDisplay==2?dept.deptalias:dept.dept}},</span>
  41. </p>
  42. <p *ngIf="i!=0&&step.record&&step.record.length">耗时{{filterTime(step.record)}}</p>
  43. </div>
  44. <div class="line"></div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="bottom">
  50. <div class="urgent">
  51. <div>
  52. <ng-container *ngIf="amplificationShow&&orderInfo.urgentDetails&&showCoop">
  53. 加急原因:{{orderInfo.urgentDetails.urgentReason}}
  54. <button *ngIf="orderInfo.urgentDetails.checkStatus.id==329" class=" btn default" nz-button nzType="primary"
  55. [nzLoading]="urgentLoading" nzGhost (click)="urgent()">确认加急</button>
  56. </ng-container>
  57. </div>
  58. <!-- <div class="amplification">
  59. <button
  60. nz-button
  61. nzType="primary"
  62. class="btn default"
  63. (click)="amplification()"
  64. >
  65. {{ amplificationShow ? "放大" : "还原" }}
  66. </button>
  67. </div> -->
  68. </div>
  69. <!-- <div class="table">
  70. <nz-table class="detailSampleTable" [nzData]="orderInfo.specimenSet" nzSize="small" [nzShowPagination]="null">
  71. <thead>
  72. <tr class="thead">
  73. <th nzWidth="4%">序号</th>
  74. <th nzWidth="8%">申请科室</th>
  75. <th nzWidth="7%">患者姓名</th>
  76. <th nzWidth="5%">标本编码</th>
  77. <th nzWidth="8%">检验项目</th>
  78. <th nzWidth="8%">标本类型</th>
  79. <th nzWidth="5%">状态</th>
  80. <th nzWidth="8%">收取时间</th>
  81. <th nzWidth="8%">收取人</th>
  82. <th nzWidth="8%">中转时间</th>
  83. <th nzWidth="8%">送达时间</th>
  84. <th nzWidth="8%">送达人</th>
  85. <th nzWidth="8%">终点科室</th>
  86. </tr>
  87. </thead>
  88. <tbody *ngIf="orderInfo.specimenSet">
  89. <tr *ngFor="let data of orderInfo.specimenSet;let i =index;">
  90. <td>{{ i + 1 }}</td>
  91. <td>{{ data.sickRoom ? data.sickRoom.dept : "-" }}</td>
  92. <td>{{ data.patientName}}<span *ngIf="data.bedNum">({{data.bedNum}})</span><br>{{data.residenceNo}}</td>
  93. <td>{{ data.scode || "-" }}</td>
  94. <td>{{ data.specimenDesc || "-" }}</td>
  95. <td>{{ data.stype ? data.stype.name : "-" }}</td>
  96. <td>{{ data.speState ? data.speState.name : "-" }}</td>
  97. <td>{{ data.arriveTime || "-" }}</td>
  98. <td>{{ data.receiverName || "-" }}</td>
  99. <td>{{ data.transTime || '-' }}</td>
  100. <td>{{ data.sendTime || '-' }}</td>
  101. <td>{{ data.delivererName || "-" }}</td>
  102. <td>
  103. {{ data.checkDept ? (!showCoop&&deptDisplay==2?data.checkDept.deptalias:data.checkDept.dept) : "-" }}
  104. <img *ngIf="data.urgent == 1"
  105. src="../../assets/images/icon_ji.png" alt="" class="ji"></td>
  106. </tr>
  107. </tbody>
  108. </nz-table>
  109. </div> -->
  110. </div>
  111. </div>
  112. </overlay-scrollbars>
  113. <div class="btns display_flex justify-content_flex-center align-items_center">
  114. <!-- <button *ngIf="showCoop&&orderInfo.gdState.value==2" nz-button nzType="primary" (click)='allotWorker()'>派单</button>
  115. <button *ngIf="showCoop&&(orderInfo.gdState.value==3||orderInfo.gdState.value==4)" nz-button nzType="primary" nzGhost
  116. (click)="openRecallModal()">撤回</button>
  117. <button *ngIf="showCoop&&(orderInfo.gdState.value==2||orderInfo.gdState.value==3||orderInfo.gdState.value==4)" nz-button
  118. nzType="danger" (click)="openDelModal()">删除</button> -->
  119. <button *ngIf="orderInfo.taskType.associationType.value == 'ordinary' && orderInfo.taskType.ordinaryField.value == 'blood'" class="btn default" nz-button nzType="default" (click)="viewDetail(orderInfo)">
  120. 业务数据
  121. </button>
  122. <button class=" btn cancel" nz-button nzType="default" (click)="close()">取消</button>
  123. </div>
  124. </div>
  125. <!-- 撤回工单 -->
  126. <div class="recallOrder display_flex justify-content_flex-center align-items_center" *ngIf="recallOrderShow">
  127. <div class="modalBody">
  128. <div class="title">提示<i class="icon_transport transport-guanbi" (click)="closeRecallOrderModal()"></i></div>
  129. <div class="content">
  130. <div class="icon"><i class="icon_transport transport-wenhao"></i></div>
  131. <div class="defeat">您确认要撤回此工单吗?</div>
  132. </div>
  133. <div class="btns display_flex justify-content_flex-center align-items_center">
  134. <button nz-button nzType="primary" [nzLoading]='btnLoading' (click)="confirmRec()">确认</button>
  135. <button nz-button nzType="primary" [nzLoading]='recLoading' nzGhost (click)="recAndDel()">撤回并删除</button>
  136. <button class=" btn cancel" nz-button nzType="default" (click)="closeRecallOrderModal()">关闭</button>
  137. </div>
  138. </div>
  139. </div>
  140. <!-- 删除工单 -->
  141. <div class="recallOrder display_flex justify-content_flex-center align-items_center delModel" *ngIf="delOrderShow">
  142. <div class="modalBody">
  143. <div class="title">提示<i class="icon_transport transport-guanbi" (click)="closeDelOrderModal()"></i></div>
  144. <div class="content">
  145. <div class="icon"><i class="icon_transport transport-wenhao"></i></div>
  146. <div class="defeat">您确认要删除此工单吗?</div>
  147. </div>
  148. <div class="btns display_flex justify-content_flex-center">
  149. <button nz-button nzType="primary" [nzLoading]='btnLoading' (click)="confirmDel()">确认</button>
  150. <!-- <button class="candelBtn btn display_flex justify-content_flex-center" nz-button nzType="primary" nzGhost>撤回并删除</button> -->
  151. <button class=" btn cancel" nz-button nzType="default" (click)="closeDelOrderModal()">取消</button>
  152. </div>
  153. </div>
  154. </div>
  155. <!-- 业务数据查看 -->
  156. <app-blood-detail-modal
  157. *ngIf="bloodModalShow"
  158. [show]="bloodModalShow"
  159. [orderId]="orderId"
  160. (closeModelHs)="closeModelBlood($event)"
  161. ></app-blood-detail-modal>
  162. <!-- 操作成功/失败提示框 -->
  163. <app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
  164. [info]="promptInfo" (closeModel)="close()">
  165. <!-- 2.父组件调用子组件时绑定到这个事件属性,并在事件发生时作出回应。(closeModel)="close()" -->
  166. </app-prompt-modal>
  167. <!-- 遮罩 -->
  168. <app-mask *ngIf="maskFlag"></app-mask>