浏览代码

标本配送任务类型显示备注

seimin 3 年之前
父节点
当前提交
4885560a32

+ 2 - 0
src/app/share/detail-sample/detail-sample.component.html

@@ -17,6 +17,8 @@
17
         <div nz-col nzSpan="8">目标科室:{{endDepts}}</div>
17
         <div nz-col nzSpan="8">目标科室:{{endDepts}}</div>
18
         <div nz-col nzSpan="8" *ngIf="orderInfo.worker">支助人员信息:{{orderInfo.worker.name}}</div>
18
         <div nz-col nzSpan="8" *ngIf="orderInfo.worker">支助人员信息:{{orderInfo.worker.name}}</div>
19
         <div nz-col nzSpan="8">实际接收:{{orderInfo.actualReceiveNum?orderInfo.actualReceiveNum:''}}</div>
19
         <div nz-col nzSpan="8">实际接收:{{orderInfo.actualReceiveNum?orderInfo.actualReceiveNum:''}}</div>
20
+        <div nz-col nzSpan="24" *ngIf="orderInfo.workOrderRemark">备注信息:{{orderInfo.workOrderRemark}}
21
+        </div>
20
         <div nz-col nzSpan="24" *ngIf="orderInfo.specialCloseReason">
22
         <div nz-col nzSpan="24" *ngIf="orderInfo.specialCloseReason">
21
           特殊情况关闭原因:{{orderInfo.specialCloseReason}}
23
           特殊情况关闭原因:{{orderInfo.specialCloseReason}}
22
         </div>
24
         </div>

+ 4 - 0
src/app/share/order-detail/order-detail.component.html

@@ -95,6 +95,10 @@
95
               加急状态:{{orderInfo.urgentDetails.checkStatus.name}}</div>
95
               加急状态:{{orderInfo.urgentDetails.checkStatus.name}}</div>
96
             <div nz-col nzSpan="24" class="jiaji">加急原因:{{orderInfo.urgentDetails.urgentReason}}</div>
96
             <div nz-col nzSpan="24" class="jiaji">加急原因:{{orderInfo.urgentDetails.urgentReason}}</div>
97
           </div>
97
           </div>
98
+          <div class="info" nz-row *ngIf="orderInfo.workOrderRemark!==undefined">
99
+            <div nz-col nzSpan="24">备注信息:{{orderInfo.workOrderRemark||'-'}}
100
+            </div>
101
+          </div>
98
           <div class="info" nz-row *ngIf="orderInfo.specialCloseReason!==undefined">
102
           <div class="info" nz-row *ngIf="orderInfo.specialCloseReason!==undefined">
99
             <div nz-col nzSpan="24">特殊情况关闭原因:{{orderInfo.specialCloseReason||'-'}}
103
             <div nz-col nzSpan="24">特殊情况关闭原因:{{orderInfo.specialCloseReason||'-'}}
100
             </div>
104
             </div>

+ 10 - 10
src/app/views/hushijiandan/hushijiandan.component.html

@@ -1055,18 +1055,18 @@
1055
     <!-- baba -->
1055
     <!-- baba -->
1056
     <div *ngIf="buildMsg1.remarksSwitch == 1">
1056
     <div *ngIf="buildMsg1.remarksSwitch == 1">
1057
       <p>工单备注:</p>
1057
       <p>工单备注:</p>
1058
-      <textarea nz-input [placeholder]="workOrderRemarkTips"
1058
+      <textarea nz-input [placeholder]="workOrderRemarkTips1"
1059
         [nzAutosize]="{ minRows: 3, maxRows: 5 }" maxlength="100"
1059
         [nzAutosize]="{ minRows: 3, maxRows: 5 }" maxlength="100"
1060
-        [(ngModel)]="workOrderRemark" #remarksEle></textarea>
1061
-      <p class="mt8 mb8" *ngIf="customRemarks.length">快捷输入:</p>
1062
-      <div *ngIf="customRemarks.length">
1063
-        <span class="addRemarks" *ngFor="let item of customRemarks"
1064
-          (click)="addRemarks(item)">【{{item}}】</span>
1060
+        [(ngModel)]="workOrderRemark1" #remarksEle1></textarea>
1061
+      <p class="mt8 mb8" *ngIf="customRemarks1.length">快捷输入:</p>
1062
+      <div *ngIf="customRemarks1.length">
1063
+        <span class="addRemarks" *ngFor="let item of customRemarks1"
1064
+          (click)="addRemarks1(item)">【{{item}}】</span>
1065
       </div>
1065
       </div>
1066
-      <p class="mt8 mb8" *ngIf="historyCustomRemarks.length">历史输入:</p>
1067
-      <div *ngIf="historyCustomRemarks.length">
1068
-        <span class="addRemarks" *ngFor="let item of historyCustomRemarks"
1069
-          (click)="addRemarks(item)">【{{item}}】</span>
1066
+      <p class="mt8 mb8" *ngIf="historyCustomRemarks1.length">历史输入:</p>
1067
+      <div *ngIf="historyCustomRemarks1.length">
1068
+        <span class="addRemarks" *ngFor="let item of historyCustomRemarks1"
1069
+          (click)="addRemarks1(item)">【{{item}}】</span>
1070
       </div>
1070
       </div>
1071
     </div>
1071
     </div>
1072
     <div class="btns display_flex justify-content_flex-center">
1072
     <div class="btns display_flex justify-content_flex-center">

+ 18 - 4
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -46,6 +46,7 @@ function range(start: number, end: number): number[] {
46
 })
46
 })
47
 export class HushijiandanComponent implements OnInit {
47
 export class HushijiandanComponent implements OnInit {
48
   @ViewChild("remarksEle", { static: false }) remarksEle: ElementRef;
48
   @ViewChild("remarksEle", { static: false }) remarksEle: ElementRef;
49
+  @ViewChild("remarksEle1", { static: false }) remarksEle1: ElementRef;
49
   @ViewChild("osComponentRef1", {
50
   @ViewChild("osComponentRef1", {
50
     read: OverlayScrollbarsComponent,
51
     read: OverlayScrollbarsComponent,
51
     static: false,
52
     static: false,
@@ -206,13 +207,21 @@ export class HushijiandanComponent implements OnInit {
206
 
207
 
207
   btnLoading: boolean = false; //确认按钮loading状态
208
   btnLoading: boolean = false; //确认按钮loading状态
208
   workOrderRemark = ""; //备注
209
   workOrderRemark = ""; //备注
210
+  workOrderRemark1 = ""; //备注
209
   workOrderRemarkTips = ""; //备注提示
211
   workOrderRemarkTips = ""; //备注提示
212
+  workOrderRemarkTips1 = ""; //备注提示
210
   customRemarks = []; //备注快速输入
213
   customRemarks = []; //备注快速输入
214
+  customRemarks1 = []; //备注快速输入
211
   // 添加备注
215
   // 添加备注
212
   addRemarks(item) {
216
   addRemarks(item) {
213
     this.remarksEle.nativeElement.focus();
217
     this.remarksEle.nativeElement.focus();
214
     this.workOrderRemark += item;
218
     this.workOrderRemark += item;
215
   }
219
   }
220
+  // 添加备注
221
+  addRemarks1(item) {
222
+    this.remarksEle1.nativeElement.focus();
223
+    this.workOrderRemark1 += item;
224
+  }
216
   // 获取护士端更新提示
225
   // 获取护士端更新提示
217
   updateTipsForNurses = "";
226
   updateTipsForNurses = "";
218
   getUpdateTipsForNurses() {
227
   getUpdateTipsForNurses() {
@@ -1757,7 +1766,11 @@ export class HushijiandanComponent implements OnInit {
1757
   buildMsg1: any = {}; //一键发起返回信息
1766
   buildMsg1: any = {}; //一键发起返回信息
1758
   urgentFlag = false;
1767
   urgentFlag = false;
1759
   // 打开一键发起建单模态框,urgent为true的时候是紧急
1768
   // 打开一键发起建单模态框,urgent为true的时候是紧急
1769
+  historyCustomRemarks1 = [];
1760
   newShortcutOrder1(msg, type, urgent?) {
1770
   newShortcutOrder1(msg, type, urgent?) {
1771
+    this.workOrderRemark1 = "";
1772
+    this.customRemarks1 = [];
1773
+    this.historyCustomRemarks1 = [];
1761
     console.log(msg, type);
1774
     console.log(msg, type);
1762
     this.urgentFlag = Boolean(urgent);
1775
     this.urgentFlag = Boolean(urgent);
1763
     this.buildType = type;
1776
     this.buildType = type;
@@ -1775,11 +1788,11 @@ export class HushijiandanComponent implements OnInit {
1775
         this.buildMsg1 = result;
1788
         this.buildMsg1 = result;
1776
         if (result.remarksSwitch == 1) {
1789
         if (result.remarksSwitch == 1) {
1777
           if (result.customRemarks === null || result.customRemarks === "") {
1790
           if (result.customRemarks === null || result.customRemarks === "") {
1778
-            this.customRemarks = [];
1791
+            this.customRemarks1 = [];
1779
           } else {
1792
           } else {
1780
-            this.customRemarks = result.customRemarks.split("$");
1793
+            this.customRemarks1 = result.customRemarks.split("$");
1781
           }
1794
           }
1782
-          this.workOrderRemarkTips =
1795
+          this.workOrderRemarkTips1 =
1783
             result.remarksPrompts || "请填写工单备注,不超过100个字符";
1796
             result.remarksPrompts || "请填写工单备注,不超过100个字符";
1784
           let user = JSON.parse(localStorage.getItem("user"));
1797
           let user = JSON.parse(localStorage.getItem("user"));
1785
           this.mainService
1798
           this.mainService
@@ -1789,7 +1802,7 @@ export class HushijiandanComponent implements OnInit {
1789
             })
1802
             })
1790
             .subscribe((result1) => {
1803
             .subscribe((result1) => {
1791
               if (result1.state == 200) {
1804
               if (result1.state == 200) {
1792
-                this.historyCustomRemarks = result1.data;
1805
+                this.historyCustomRemarks1 = result1.data;
1793
               }
1806
               }
1794
             });
1807
             });
1795
         }
1808
         }
@@ -1842,6 +1855,7 @@ export class HushijiandanComponent implements OnInit {
1842
       postData = {
1855
       postData = {
1843
         urgent: this.urgentFlag ? 1 : 0,
1856
         urgent: this.urgentFlag ? 1 : 0,
1844
         workOrder: {
1857
         workOrder: {
1858
+          workOrderRemark: this.workOrderRemark1,
1845
           taskType: { id: that.shortcutMsg1.id },
1859
           taskType: { id: that.shortcutMsg1.id },
1846
           createDept: that.loginUserDeptId,
1860
           createDept: that.loginUserDeptId,
1847
           startDept: { id: that.loginUserDeptId },
1861
           startDept: { id: that.loginUserDeptId },