inspect-info-config.component.html 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <div class="header">
  2. <div class="display_flex align-items_center">
  3. <div class="dept">{{deptDisplay == 2 ? deptDTO.deptalias : deptDTO.dept}}</div>
  4. <div class="yyTime">
  5. <span class="label">检查时间:</span>
  6. <nz-date-picker [(ngModel)]="searchData.dateRange" [nzAllowClear]="false"></nz-date-picker>
  7. </div>
  8. <div class="searchItem">
  9. <span class="label">患者:</span>
  10. <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" nzPlaceHolder="请选择患者" [(ngModel)]="searchData.id" nzAllowClear nzServerSearch nzShowSearch (nzOnSearch)="changeInp('patient', $event)" (nzOpenChange)="openChangePatient($event)">
  11. <ng-container *ngFor="let option of patientList">
  12. <nz-option *ngIf="!isLoading" [nzLabel]="option.patientName + '(' + (option.bedNum || '') + ')' + '-' + option.residenceNo" [nzValue]="option.id"></nz-option>
  13. </ng-container>
  14. <nz-option *ngIf="isLoading" nzDisabled nzCustomContent>
  15. <i nz-icon nzType="loading" class="loading-icon"></i> 搜索中...
  16. </nz-option>
  17. </nz-select>
  18. </div>
  19. <div class="searchItem">
  20. <div class="patient">
  21. <label nz-checkbox [(ngModel)]="searchData.noneGdid">未建单检查</label>
  22. </div>
  23. </div>
  24. <div class="searchItem">
  25. <div class="patient">
  26. <label nz-checkbox [(ngModel)]="searchData.noneTripType">未标记患者</label>
  27. </div>
  28. <div class="patient">
  29. <label nz-checkbox [(ngModel)]="searchData.noneEndDept">未标记检查科室</label>
  30. <span class="circle red" title="未标记检查科室"></span>
  31. <span class="circle red" style="right: -21px;" title="未标记检查科室"></span>
  32. </div>
  33. <div class="patient">
  34. <label nz-checkbox [(ngModel)]="searchData.noneYY">无预约时间检查</label>
  35. <span class="circle red" title="无预约时间检查"></span>
  36. </div>
  37. </div>
  38. </div>
  39. <div class="display_flex align-items_center">
  40. <div class="display_flex flex-direction_column">
  41. <button nz-button class="btn default" (click)='reset()'>重置</button>
  42. <button nz-button class="btn default mt8" (click)='getList()'>搜索</button>
  43. </div>
  44. <button nz-button nzType="default" class="ml8" (click)='goBack()'>返回</button>
  45. <div class="info">
  46. <div>患者:{{listOfData.length}}</div>
  47. <div class="infoNum">检查项:{{inspectTotalCount}}</div>
  48. </div>
  49. </div>
  50. </div>
  51. <div class="table">
  52. <nz-table class="list-template__nzTable" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1">
  53. <thead>
  54. <tr class="thead">
  55. <th nzWidth="12%">患者信息</th>
  56. <th nzWidth="12%">护理信息</th>
  57. <th nzWidth="12%">陪检方式</th>
  58. <th nzWidth="22%">注意事项</th>
  59. <th nzWidth="30%">检查项目</th>
  60. <th nzWidth="12%">操作</th>
  61. </tr>
  62. </thead>
  63. <tbody>
  64. <tr *ngFor="let data of listOfData">
  65. <td>
  66. <span class="patient">
  67. <ng-container *ngIf="!data.tripType">
  68. <span class="circle red" title="未标记患者"></span>
  69. </ng-container>
  70. <span>{{data.patientName}}</span>
  71. </span>
  72. <br>
  73. <ng-container *ngIf="data.patientType && data.patientType.value == 'I'">住:{{data.patientCode}}({{data.bedNum}})</ng-container><ng-container *ngIf="data.patientType && data.patientType.value == 'O'">门诊:{{data.patientCode}}</ng-container><ng-container *ngIf="data.patientType && data.patientType.value == 'E'">急:{{data.patientCode}}</ng-container>
  74. <br>
  75. <ng-container *ngIf="data.age !== undefined">{{data.age}}岁</ng-container>-{{data.gender?.name}}
  76. </td>
  77. <td>
  78. <ng-container *ngIf="configs.updatePatientIllness == 1;else elseIllnessStateTpl">
  79. <nz-radio-group [(ngModel)]="data.illnessStateCopy" (ngModelChange)="changeIllnessState($event, data.id)">
  80. <label nz-radio class="display_block" [nzValue]="item.id" *ngFor="let item of illnessStateList">{{item.name}}</label>
  81. </nz-radio-group>
  82. </ng-container>
  83. <ng-template #elseIllnessStateTpl>
  84. {{data.careLevel?.name}}<br>{{data.illnessState?.name}}
  85. </ng-template>
  86. </td>
  87. <td>
  88. <nz-radio-group [(ngModel)]="data.tripType" (ngModelChange)="changeTripType($event, data.id)">
  89. <label nz-radio class="display_block" [nzValue]="item.id" *ngFor="let item of workOrderInspectScoreList">{{item.inspectMode}}</label>
  90. </nz-radio-group>
  91. </td>
  92. <td class="text_align_left">
  93. <div class="remarkText">
  94. <span class="remarkTextInner" (click)="editRemark({data: data, inspect: inspect})"><span [ngStyle]="{ color: data.remark ? '#333' : '#999'}">{{data.remark || '请点击填写注意事项!'}}</span><span style="margin-top: 2px;" class="icon_transport transport-weibiaoti2010104 remarkTextEdit"></span></span>
  95. </div>
  96. </td>
  97. <td>
  98. <div *ngFor="let inspect of data.inspects" class="display_flex align-items_center" style="padding-left: 30px;">
  99. <span class="patient">
  100. <ng-container *ngIf="!inspect.execDept;else elseTpl">
  101. <span class="circle red" title="未标记检查科室"></span>
  102. <span class="circle red" style="left: -21px;" title="未标记检查科室"></span>
  103. </ng-container>
  104. <ng-template #elseTpl>
  105. <ng-container *ngIf="!inspect.yyTime">
  106. <span class="circle red" title="无预约时间检查"></span>
  107. </ng-container>
  108. </ng-template>
  109. <span [title]="inspect.remark" *ngIf="inspect.remark"><i class="icon_transport transport-chaoshi"></i>{{(inspect.yyEndTime || "") + " " + (inspect.execDept ? (deptDisplay == 2 ? inspect.execDept.deptalias : inspect.execDept.dept) : '') + " 进行 " + (inspect.inspectName + '-' + inspect.inspectCode || "检查")}} <span class="inspectState" *ngIf="inspect.gdId" (click)="detail($event, inspect.gdId)">{{inspect.inspectState?.name}}</span></span>
  110. <span *ngIf="!inspect.remark">{{(inspect.yyEndTime || "") + " " + (inspect.execDept ? (deptDisplay == 2 ? inspect.execDept.deptalias : inspect.execDept.dept) : '') + " 进行 " + (inspect.inspectName + '-' + inspect.inspectCode || "检查")}} <span class="inspectState" *ngIf="inspect.gdId" (click)="detail($event, inspect.gdId)">{{inspect.inspectState?.name}}</span></span>
  111. </span>
  112. <span *ngIf="!inspect.gdId" class="icon_transport transport-weibiaoti2010104" (click)="editInspect({data: data, inspect: inspect})"></span>
  113. <span *ngIf="!inspect.gdId" class="icon_transport transport-shanchu1" (click)="showDelModal({data: data, inspect: inspect}, '您确认要删除吗?','删除','delInspect')"></span>
  114. </div>
  115. </td>
  116. <td>
  117. <div class="coop">
  118. <span (click)="showDelModal(data, '您确认要清空标记吗?','清空标记','clearSign')">清空标记</span>
  119. <span (click)="addInspect(data)">增加检查项目</span>
  120. </div>
  121. </td>
  122. </tr>
  123. </tbody>
  124. </nz-table>
  125. </div>
  126. <!-- 操作成功/失败提示框 -->
  127. <app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
  128. [info]="promptInfo">
  129. </app-prompt-modal>
  130. <!-- 删除模态框 -->
  131. <app-dialog-delete [delModal]="delModal" (hideDelModalEvent)="hideDelModal()" [btnLoading]="btnLoading"
  132. (confirmDelEvent)="confirmDel()" [content]="tipsMsg1"></app-dialog-delete>
  133. <!-- 遮罩 -->
  134. <app-mask *ngIf="maskFlag"></app-mask>
  135. <!-- 修改检查 -->
  136. <app-edit-inspect-info [execDeptList]="coopData.inspect && coopData.inspect.inspectCheckType && coopData.inspect.inspectCheckType.deptList" [execDeptId]="coopData.inspect && coopData.inspect.execDeptId" [remarkText]="coopData.inspect && coopData.inspect.remark" [date]="coopData.inspect && coopData.inspect.yyTime" *ngIf="isShowSelectDate" (submitFormHand)="submitSelectDate($event)" (cancelFlagHand)="cancelSelectDate($event)"></app-edit-inspect-info>
  137. <!-- 修改注意事项 -->
  138. <app-select-remark [inspect]="coopData.data" *ngIf="isShowSelectRemark" (submitFormHand)="submitSelectRemark($event)" (cancelFlagHand)="cancelSelectRemark($event)"></app-select-remark>
  139. <!-- 追加检查项目 -->
  140. <app-add-inspect-three-modal *ngIf="isShowAddInspect" [patientDTO]="patientDTO" [deptDisplay]="deptDisplay" (closeModelHs)="closeAddInspectModel($event)" (confirmModelHs)="confirmAddInspectModel($event)"></app-add-inspect-three-modal>
  141. <!-- 查看详情 -->
  142. <router-outlet></router-outlet>