seimin hace 2 semanas
padre
commit
245370b770

+ 1 - 1
src/app/views/batch-inspection/batch-inspection.component.html

@@ -31,7 +31,7 @@
31 31
       <tr class="thead">
32 32
         <th nzWidth="20%">患者信息</th>
33 33
         <th nzWidth="20%">护理信息</th>
34
-        <th nzWidth="20%">出行方式</th>
34
+        <th nzWidth="20%">陪检方式</th>
35 35
         <th nzWidth="20%">检查项目</th>
36 36
         <th nzWidth="20%">操作</th>
37 37
       </tr>

+ 5 - 5
src/app/views/batch-inspection/batch-inspection.component.ts

@@ -46,7 +46,7 @@ export class BatchInspectionComponent implements OnInit {
46 46
     this.init();
47 47
   }
48 48
 
49
-  // 修改出行方式
49
+  // 修改陪检方式
50 50
   changeTripType(tripTypeId, id){
51 51
     this.maskFlag = this.message.loading("正在加载中..", {
52 52
       nzDuration: 0,
@@ -59,9 +59,9 @@ export class BatchInspectionComponent implements OnInit {
59 59
       this.maskFlag = false;
60 60
       this.getList();
61 61
       if (data.status == 200) {
62
-        this.message.success("修改出行方式成功");
62
+        this.message.success("修改陪检方式成功");
63 63
       } else {
64
-        this.message.success(data.msg || "修改出行方式失败");
64
+        this.message.success(data.msg || "修改陪检方式失败");
65 65
       }
66 66
     });
67 67
   }
@@ -366,7 +366,7 @@ export class BatchInspectionComponent implements OnInit {
366 366
   addYytime(){
367 367
     let obj1 = this.listOfData.find(v => !v.tripType);
368 368
     if(obj1){
369
-      this.message.warning(`${obj1.patientName}患者没有选择出行方式,请调整后提交申请!`)
369
+      this.message.warning(`${obj1.patientName}患者没有选择陪检方式,请调整后提交申请!`)
370 370
       return;
371 371
     }
372 372
 
@@ -485,7 +485,7 @@ export class BatchInspectionComponent implements OnInit {
485 485
       });
486 486
   }
487 487
 
488
-  //获取出行方式
488
+  //获取陪检方式
489 489
   workOrderInspectScoreList:any[] = [];
490 490
   getWorkOrderInspectScore() {
491 491
     let postData = { idx: 0, sum: 9999, workOrderInspectScore: { hosId: this.hosId } };

+ 13 - 1
src/app/views/fuwutai/fuwutai.component.html

@@ -1109,7 +1109,19 @@
1109 1109
                             <nz-form-item class="ml8" class="goods-control">
1110 1110
                               <nz-form-label style="line-height: 40px;" class="label" nzFor="goods" *ngIf="goodsNow.length">携带设备</nz-form-label>
1111 1111
                               <nz-form-control class="control" nzErrorTip="请选择携带设备!">
1112
-                                <nz-checkbox-group [(ngModel)]="goodsNow" formControlName="goods" (ngModelChange)="changeGoods($event)"></nz-checkbox-group>
1112
+                                <nz-checkbox-group [(ngModel)]="goodsNow" formControlName="goods"></nz-checkbox-group>
1113
+                              </nz-form-control>
1114
+                            </nz-form-item>
1115
+                          </div>
1116
+                        </div>
1117
+                        <div nz-col [nzSpan]="24">
1118
+                          <div class="control-flex">
1119
+                            <nz-form-item style="margin-left: 0;" class="goods-control">
1120
+                              <nz-form-label style="line-height: 40px;" class="label" nzFor="inspectScore" *ngIf="workOrderInspectScoreList.length">陪检方式</nz-form-label>
1121
+                              <nz-form-control class="control" nzErrorTip="请选择陪检方式!">
1122
+                                <nz-radio-group formControlName="inspectScore" [(ngModel)]="workOrderInspectScore">
1123
+                                  <label nz-radio [nzValue]="item.id" *ngFor="let item of workOrderInspectScoreList">{{item.inspectMode}}</label>
1124
+                                </nz-radio-group>
1113 1125
                               </nz-form-control>
1114 1126
                             </nz-form-item>
1115 1127
                           </div>

+ 41 - 24
src/app/views/fuwutai/fuwutai.component.ts

@@ -384,7 +384,7 @@ export class FuwutaiComponent implements OnInit {
384 384
     for (const i in this.validateFormZy.controls) {
385 385
       this.validateFormZy.controls[i].markAsDirty();
386 386
       this.validateFormZy.controls[i].updateValueAndValidity();
387
-      if (this.validateFormZy.controls[i].valid === false && i !== "goods") {
387
+      if (this.validateFormZy.controls[i].valid === false && i !== "goods" && i !== "inspectScore") {
388 388
         //携带设备非必填
389 389
         // if (this.validateFormZy.controls[i].valid === false && i !== 'goods' && i !== 'patient') {//携带设备非必填
390 390
         newOrderShowFlag = false;
@@ -430,6 +430,7 @@ export class FuwutaiComponent implements OnInit {
430 430
             patientCode: this.validateFormZy.controls.patient.value,
431 431
           },
432 432
           goods: goods,
433
+          inspectScore: this.validateFormZy.controls.inspectScore.value ? { id: this.validateFormZy.controls.inspectScore.value } : undefined,
433 434
           workOrderRemark: this.validateFormZy.controls.workOrderRemarkZy.value,
434 435
         },
435 436
       };
@@ -465,7 +466,7 @@ export class FuwutaiComponent implements OnInit {
465 466
     for (const i in this.validateFormZy.controls) {
466 467
       this.validateFormZy.controls[i].markAsDirty();
467 468
       this.validateFormZy.controls[i].updateValueAndValidity();
468
-      if (this.validateFormZy.controls[i].valid === false && i !== "goods") {
469
+      if (this.validateFormZy.controls[i].valid === false && i !== "goods" && i !== "inspectScore") {
469 470
         //携带设备非必填
470 471
         // if (this.validateFormZy.controls[i].valid === false && i !== 'goods' && i !== 'patient') {//携带设备非必填
471 472
         newOrderShowFlag = false;
@@ -499,6 +500,7 @@ export class FuwutaiComponent implements OnInit {
499 500
             patientCode: this.validateFormZy.controls.patient.value,
500 501
           },
501 502
           goods,
503
+          inspectScore: this.validateFormZy.controls.inspectScore.value ? { id: this.validateFormZy.controls.inspectScore.value } : undefined,
502 504
           workOrderRemark: this.validateFormZy.controls.workOrderRemarkZy.value,
503 505
         },
504 506
       };
@@ -848,6 +850,7 @@ export class FuwutaiComponent implements OnInit {
848 850
       patient: [null, [Validators.required]], //患者信息
849 851
       // patient: [null],//患者信息ca
850 852
       goods: [null], //携带设备
853
+      inspectScore: [null], //陪检方式
851 854
       workOrderRemarkZy: [null], //工单备注
852 855
     });
853 856
     //其他
@@ -2682,6 +2685,7 @@ export class FuwutaiComponent implements OnInit {
2682 2685
     this.endDeptZy = null;
2683 2686
     this.patientZy = null;
2684 2687
     this.goodsNow = [];
2688
+    this.workOrderInspectScore = undefined;
2685 2689
     this.workOrderRemark = "";
2686 2690
     this.workOrderRemarkZy = "";
2687 2691
     this.deptZyList["startDept"] = [];
@@ -3620,6 +3624,7 @@ export class FuwutaiComponent implements OnInit {
3620 3624
     this.endDeptZy = null;
3621 3625
     this.patientZy = null;
3622 3626
     this.goodsNow = [];
3627
+    this.workOrderInspectScore = undefined;
3623 3628
     // this.patientList = [];
3624 3629
     this.workOrderRemark = "";
3625 3630
     this.workOrderRemarkZy = "";
@@ -4577,7 +4582,6 @@ export class FuwutaiComponent implements OnInit {
4577 4582
     this.linkCheckLisTrue = e.length > 0;
4578 4583
   }
4579 4584
   // 转运类型选中类型(单选)触发
4580
-  goodsNow; //携带的物品列表
4581 4585
   yyDateZy = null; //预约日期-患者其他服务
4582 4586
   yyDate = null; //预约日期-其他临床服务
4583 4587
   yyTimeZy = null; //预约时间-患者其他服务
@@ -4708,24 +4712,41 @@ export class FuwutaiComponent implements OnInit {
4708 4712
     });
4709 4713
     setTimeout(() => {
4710 4714
       // 获取携带设备
4711
-      let arrObj = this.workTypesArrange.find(v => v.key === this.currentTabIndex);
4712
-      let arr = arrObj.value;
4713
-      this.goodsNow = arr.filter(
4714
-        (item) => item.id == value
4715
-      )[0].taskType.carryEquipmentIds;
4716
-      if (this.goodsNow) {
4717
-        this.goodsNow = this.goodsNow.map((item) => {
4718
-          return {
4719
-            label: item.name,
4720
-            value: item.id,
4721
-            checked: false,
4722
-          };
4723
-        });
4724
-      } else {
4725
-        this.goodsNow = [];
4726
-      }
4715
+      this.getAllGoods();
4716
+      this.getWorkOrderInspectScore();
4727 4717
     }, 0)
4728 4718
   }
4719
+  //获取携带设备
4720
+  goodsNow; //携带的物品列表
4721
+  getAllGoods() {
4722
+    this.mainService.getDictionary("list", "goods").subscribe((data) => {
4723
+      let goodsNow = data || [];
4724
+      goodsNow.forEach((e) => {
4725
+        this.goodsNow.push({
4726
+          label: e.name,
4727
+          value: e.id,
4728
+          checked: false,
4729
+        });
4730
+      });
4731
+    });
4732
+  }
4733
+
4734
+  //获取陪检方式
4735
+  workOrderInspectScoreList:any[] = [];
4736
+  workOrderInspectScore:any;
4737
+  getWorkOrderInspectScore() {
4738
+    let postData = { idx: 0, sum: 9999, workOrderInspectScore: { } };
4739
+    this.mainService
4740
+      .getFetchDataList("simple/data", "workOrderInspectScore", postData)
4741
+      .subscribe((result) => {
4742
+        if (result.status == 200) {
4743
+          this.workOrderInspectScoreList = result.list || [];
4744
+        } else {
4745
+          this.msg.error("请求数据失败");
4746
+        }
4747
+      });
4748
+  }
4749
+
4729 4750
 	psValue:any;
4730 4751
   radioChangeQt(value) {
4731 4752
     //任务类型id
@@ -4862,6 +4883,7 @@ export class FuwutaiComponent implements OnInit {
4862 4883
     this.endDeptZy = null;
4863 4884
     this.patientZy = null;
4864 4885
     this.goodsNow = [];
4886
+    this.workOrderInspectScore = undefined;
4865 4887
     this.patientList = [];
4866 4888
     this.workOrderRemark = "";
4867 4889
     this.workOrderRemarkZy = "";
@@ -4875,11 +4897,6 @@ export class FuwutaiComponent implements OnInit {
4875 4897
     this.deptQtList["endStatus"] = 0;
4876 4898
   }
4877 4899
 
4878
-  // 携带设备
4879
-  changeGoods(value: object[]): void {
4880
-    console.log(value);
4881
-  }
4882
-
4883 4900
   // 撤回
4884 4901
   // 打开撤回模态框
4885 4902
   openRecallModal(id) {

+ 16 - 6
src/app/views/hushijiandan/hushijiandan.component.html

@@ -1637,12 +1637,22 @@
1637 1637
               </nz-form-item>
1638 1638
             </ng-container>
1639 1639
             <!-- 携带设备 -->
1640
-            <nz-form-item nz-row *ngIf="goodsLis.length">
1641
-              <nz-form-label [nzSpan]="3" nzFor="goods" class="goods">携带设备</nz-form-label>
1642
-              <nz-form-control [nzSpan]="21">
1643
-                <nz-checkbox-group formControlName="goods" [(ngModel)]="goodsLis"></nz-checkbox-group>
1644
-              </nz-form-control>
1645
-            </nz-form-item>
1640
+            <div class="display_flex justify-content_space-between align-items_center">
1641
+              <nz-form-item class="display_flex align-items_center flex_1" *ngIf="goodsLis.length">
1642
+                <nz-form-label nzFor="goods" class="goods mt8">携带设备</nz-form-label>
1643
+                <nz-form-control>
1644
+                  <nz-checkbox-group formControlName="goods" [(ngModel)]="goodsLis"></nz-checkbox-group>
1645
+                </nz-form-control>
1646
+              </nz-form-item>
1647
+              <nz-form-item class="display_flex align-items_center flex_1" *ngIf="workOrderInspectScoreList.length">
1648
+                <nz-form-label nzFor="inspectScore" class="goods mt8">陪检方式</nz-form-label>
1649
+                <nz-form-control>
1650
+                  <nz-radio-group formControlName="inspectScore" [(ngModel)]="workOrderInspectScore">
1651
+                    <label nz-radio [nzValue]="item.id" *ngFor="let item of workOrderInspectScoreList">{{item.inspectMode}}</label>
1652
+                  </nz-radio-group>
1653
+                </nz-form-control>
1654
+              </nz-form-item>
1655
+            </div>
1646 1656
           </ng-container>
1647 1657
         </form>
1648 1658
       </div>

+ 59 - 10
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -2221,6 +2221,7 @@ export class HushijiandanComponent implements OnInit {
2221 2221
             this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.confirmPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
2222 2222
               this.showPromptModal("创建", true, "");
2223 2223
               this.goodsLis = [];
2224
+              this.workOrderInspectScore = undefined;
2224 2225
               this.getOrderList();
2225 2226
               this.getDeptTaskType();
2226 2227
               this.getTodayNum();
@@ -2228,6 +2229,7 @@ export class HushijiandanComponent implements OnInit {
2228 2229
           }else{
2229 2230
             this.showPromptModal("创建", true, "");
2230 2231
             this.goodsLis = [];
2232
+            this.workOrderInspectScore = undefined;
2231 2233
             this.getOrderList();
2232 2234
             this.getDeptTaskType();
2233 2235
             this.getTodayNum();
@@ -2261,7 +2263,6 @@ export class HushijiandanComponent implements OnInit {
2261 2263
   checkTypeLis: any = [];
2262 2264
   // 患者信息一键建单关联检查
2263 2265
   linkCheckLis: any = [];
2264
-  goodsLis: any = []; //携带设备
2265 2266
   isRemarks: boolean = false; //是否开启备注信息
2266 2267
   allowUrgent: any = "0"; //加急
2267 2268
   urgentReason: any = ""; //加急原因
@@ -2272,6 +2273,7 @@ export class HushijiandanComponent implements OnInit {
2272 2273
     this.patientForm = this.fb.group({
2273 2274
       checkedType: [null, [Validators.required]],
2274 2275
       goods: [null],
2276
+      inspectScore: [null],
2275 2277
       workOrderRemark2: [null],
2276 2278
       linkCheck: [null, []],
2277 2279
       targetOffice: [null, [this.targetOfficeValidator]],
@@ -2776,6 +2778,11 @@ export class HushijiandanComponent implements OnInit {
2776 2778
       goods = goods.slice(0, goods.length - 1);
2777 2779
     }
2778 2780
     postData.workOrder["goods"] = goods;
2781
+    // 陪检方式
2782
+    if (that.patientForm.value.inspectScore) {
2783
+      postData.workOrder["inspectScore"] = { id: that.patientForm.value.inspectScore };
2784
+    }
2785
+
2779 2786
     // 工单备注
2780 2787
     postData.workOrder["workOrderRemark"] = that.workOrderRemark2 || '';
2781 2788
     if (!yuyue && that.current_allowUrgent && this.allowUrgent == 1) {
@@ -2864,6 +2871,7 @@ export class HushijiandanComponent implements OnInit {
2864 2871
                 this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: postData.workOrder.patient.patientCode}).subscribe((resultData) => {
2865 2872
                   this.showPromptModal("创建", true, "");
2866 2873
                   this.goodsLis = [];
2874
+                  this.workOrderInspectScore = undefined;
2867 2875
                   this.getOrderList();
2868 2876
                   this.getDeptTaskType();
2869 2877
                   this.getTodayNum();
@@ -2871,6 +2879,7 @@ export class HushijiandanComponent implements OnInit {
2871 2879
               }else{
2872 2880
                 this.showPromptModal("创建", true, "");
2873 2881
                 this.goodsLis = [];
2882
+                this.workOrderInspectScore = undefined;
2874 2883
                 this.getOrderList();
2875 2884
                 this.getDeptTaskType();
2876 2885
                 this.getTodayNum();
@@ -2928,6 +2937,7 @@ export class HushijiandanComponent implements OnInit {
2928 2937
               this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
2929 2938
                 this.showPromptModal("创建", true, "");
2930 2939
                 this.goodsLis = [];
2940
+                this.workOrderInspectScore = undefined;
2931 2941
                 this.getOrderList();
2932 2942
                 this.getDeptTaskType();
2933 2943
                 this.getTodayNum();
@@ -2935,6 +2945,7 @@ export class HushijiandanComponent implements OnInit {
2935 2945
             }else{
2936 2946
               this.showPromptModal("创建", true, "");
2937 2947
               this.goodsLis = [];
2948
+              this.workOrderInspectScore = undefined;
2938 2949
               this.getOrderList();
2939 2950
               this.getDeptTaskType();
2940 2951
               this.getTodayNum();
@@ -2980,6 +2991,7 @@ export class HushijiandanComponent implements OnInit {
2980 2991
               this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
2981 2992
                 this.showPromptModal("创建", true, "");
2982 2993
                 this.goodsLis = [];
2994
+                this.workOrderInspectScore = undefined;
2983 2995
                 this.getOrderList();
2984 2996
                 this.getDeptTaskType();
2985 2997
                 this.getTodayNum();
@@ -2987,6 +2999,7 @@ export class HushijiandanComponent implements OnInit {
2987 2999
             }else{
2988 3000
               this.showPromptModal("创建", true, "");
2989 3001
               this.goodsLis = [];
3002
+              this.workOrderInspectScore = undefined;
2990 3003
               this.getOrderList();
2991 3004
               this.getDeptTaskType();
2992 3005
               this.getTodayNum();
@@ -3042,6 +3055,7 @@ export class HushijiandanComponent implements OnInit {
3042 3055
                 this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
3043 3056
                   this.showPromptModal("创建", true, "");
3044 3057
                   this.goodsLis = [];
3058
+                  this.workOrderInspectScore = undefined;
3045 3059
                   this.getOrderList();
3046 3060
                   this.getDeptTaskType();
3047 3061
                   this.getTodayNum();
@@ -3049,6 +3063,7 @@ export class HushijiandanComponent implements OnInit {
3049 3063
               }else{
3050 3064
                 this.showPromptModal("创建", true, "");
3051 3065
                 this.goodsLis = [];
3066
+                this.workOrderInspectScore = undefined;
3052 3067
                 this.getOrderList();
3053 3068
                 this.getDeptTaskType();
3054 3069
                 this.getTodayNum();
@@ -3094,6 +3109,7 @@ export class HushijiandanComponent implements OnInit {
3094 3109
                 this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
3095 3110
                   this.showPromptModal("创建", true, "");
3096 3111
                   this.goodsLis = [];
3112
+                  this.workOrderInspectScore = undefined;
3097 3113
                   this.getOrderList();
3098 3114
                   this.getDeptTaskType();
3099 3115
                   this.getTodayNum();
@@ -3101,6 +3117,7 @@ export class HushijiandanComponent implements OnInit {
3101 3117
               }else{
3102 3118
                 this.showPromptModal("创建", true, "");
3103 3119
                 this.goodsLis = [];
3120
+                this.workOrderInspectScore = undefined;
3104 3121
                 this.getOrderList();
3105 3122
                 this.getDeptTaskType();
3106 3123
                 this.getTodayNum();
@@ -3124,6 +3141,37 @@ export class HushijiandanComponent implements OnInit {
3124 3141
     }
3125 3142
   }
3126 3143
 
3144
+  //获取携带设备
3145
+  goodsLis: any = []; //携带设备
3146
+  getAllGoods() {
3147
+    this.mainService.getDictionary("list", "goods").subscribe((data) => {
3148
+      let goodsLis = data || [];
3149
+      goodsLis.forEach((e) => {
3150
+        this.goodsLis.push({
3151
+          label: e.name,
3152
+          value: e.id,
3153
+          checked: false,
3154
+        });
3155
+      });
3156
+    });
3157
+  }
3158
+
3159
+  //获取陪检方式
3160
+  workOrderInspectScoreList:any[] = [];
3161
+  workOrderInspectScore:any;
3162
+  getWorkOrderInspectScore() {
3163
+    let postData = { idx: 0, sum: 9999, workOrderInspectScore: { } };
3164
+    this.mainService
3165
+      .getFetchDataList("simple/data", "workOrderInspectScore", postData)
3166
+      .subscribe((result) => {
3167
+        if (result.status == 200) {
3168
+          this.workOrderInspectScoreList = result.list || [];
3169
+        } else {
3170
+          this.message.error("请求数据失败");
3171
+        }
3172
+      });
3173
+  }
3174
+
3127 3175
   // 切换患者送检检查项目
3128 3176
   checkedShowMsg: any = {}; //患者送检检查项目对应展示信息
3129 3177
   current_allowUrgent = false; //当前任务类型是否允许加急
@@ -3218,17 +3266,12 @@ export class HushijiandanComponent implements OnInit {
3218 3266
           that.isRemand = data.isRemand == 1 ? true : false;
3219 3267
         }
3220 3268
         that.goodsLis = [];
3269
+        that.workOrderInspectScore = undefined;
3221 3270
         that.allowUrgent = "0"; //加急
3222 3271
         that.urgentReason = ""; //加急原因
3223
-        if (data.goods && data.goods.length) {
3224
-          data.goods.forEach((e) => {
3225
-            that.goodsLis.push({
3226
-              label: e.name,
3227
-              value: e["id"],
3228
-              checked: false,
3229
-            });
3230
-          });
3231
-        }
3272
+
3273
+        that.getAllGoods();
3274
+        that.getWorkOrderInspectScore();
3232 3275
         // 工单备注配置 start
3233 3276
         that.isRemarks = data.remarksSwitch == 1;
3234 3277
         if (data.remarksSwitch == 1) {
@@ -3949,6 +3992,7 @@ export class HushijiandanComponent implements OnInit {
3949 3992
       if (data.status == 200) {
3950 3993
         this.showPromptModal("创建", true, "");
3951 3994
         this.goodsLis = [];
3995
+        this.workOrderInspectScore = undefined;
3952 3996
         this.getOrderList();
3953 3997
         this.getDeptTaskType();
3954 3998
         this.getTodayNum();
@@ -3963,6 +4007,7 @@ export class HushijiandanComponent implements OnInit {
3963 4007
       if (data.status == 200) {
3964 4008
         this.showPromptModal("创建", true, "");
3965 4009
         this.goodsLis = [];
4010
+        this.workOrderInspectScore = undefined;
3966 4011
         this.getOrderList();
3967 4012
         this.getDeptTaskType();
3968 4013
         this.getTodayNum();
@@ -3977,6 +4022,7 @@ export class HushijiandanComponent implements OnInit {
3977 4022
       if (data.status == 200) {
3978 4023
         this.showPromptModal("创建", true, "");
3979 4024
         this.goodsLis = [];
4025
+        this.workOrderInspectScore = undefined;
3980 4026
         this.getOrderList();
3981 4027
         this.getDeptTaskType();
3982 4028
         this.getTodayNum();
@@ -3991,6 +4037,7 @@ export class HushijiandanComponent implements OnInit {
3991 4037
       if (data.status == 200) {
3992 4038
         this.showPromptModal("创建", true, "");
3993 4039
         this.goodsLis = [];
4040
+        this.workOrderInspectScore = undefined;
3994 4041
         this.getOrderList();
3995 4042
         this.getDeptTaskType();
3996 4043
         this.getTodayNum();
@@ -4005,6 +4052,7 @@ export class HushijiandanComponent implements OnInit {
4005 4052
       if (data.status == 200) {
4006 4053
         this.showPromptModal("创建", true, "");
4007 4054
         this.goodsLis = [];
4055
+        this.workOrderInspectScore = undefined;
4008 4056
         this.getOrderList();
4009 4057
         this.getDeptTaskType();
4010 4058
         this.getTodayNum();
@@ -4019,6 +4067,7 @@ export class HushijiandanComponent implements OnInit {
4019 4067
       if (data.status == 200) {
4020 4068
         this.showPromptModal("创建", true, "");
4021 4069
         this.goodsLis = [];
4070
+        this.workOrderInspectScore = undefined;
4022 4071
         this.getOrderList();
4023 4072
         this.getDeptTaskType();
4024 4073
         this.getTodayNum();

+ 10 - 0
src/app/views/inspect-and-patient-transport-config/inspect-and-patient-transport-config.component.html

@@ -147,6 +147,16 @@
147 147
           <nz-form-label class="label">隐藏陪检小扫描</nz-form-label>
148 148
           <nz-checkbox-group [(ngModel)]="hideInspectScan"></nz-checkbox-group>
149 149
         </div>
150
+        <!-- 是否开启携带设备 -->
151
+        <div class="display_flex align-items_center mb8">
152
+          <nz-form-label class="label">是否开启携带设备</nz-form-label>
153
+          <nz-checkbox-group [(ngModel)]="enableGoods"></nz-checkbox-group>
154
+        </div>
155
+        <!-- 是否开启陪检方式 -->
156
+        <div class="display_flex align-items_center mb8">
157
+          <nz-form-label class="label">是否开启陪检方式</nz-form-label>
158
+          <nz-checkbox-group [(ngModel)]="enableTripType"></nz-checkbox-group>
159
+        </div>
150 160
         <!-- 检查预约不进行工单合并 -->
151 161
         <!-- <div class="display_flex align-items_center mb8">
152 162
           <nz-form-label class="label">检查预约不进行工单合并</nz-form-label>

+ 12 - 0
src/app/views/inspect-and-patient-transport-config/inspect-and-patient-transport-config.component.ts

@@ -84,6 +84,14 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
84 84
   hideInspectScan:any[] = [
85 85
     {label:'是否开启',value: 0}
86 86
   ];
87
+  // 是否开启携带设备
88
+  enableGoods:any[] = [
89
+    {label:'是否开启',value: 0}
90
+  ];
91
+  // 是否开启陪检方式
92
+  enableTripType:any[] = [
93
+    {label:'是否开启',value: 0}
94
+  ];
87 95
   // 检查预约不进行工单合并
88 96
   // yyInspectMergeOrder:any[] = [
89 97
   //   {label:'是否开启',value: 0}
@@ -282,6 +290,8 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
282 290
       batchSignExecutionParent: this.batchSignExecutionParent[0].checked ? 1 : 0,
283 291
       batchSignEndParent: this.batchSignEndParent[0].checked ? 1 : 0,
284 292
       hideInspectScan: this.hideInspectScan[0].checked ? 1 : 0,
293
+      enableGoods: this.enableGoods[0].checked ? 1 : 0,
294
+      enableTripType: this.enableTripType[0].checked ? 1 : 0,
285 295
       // yyInspectMergeOrder: this.yyInspectMergeOrder[0].checked ? 1 : 0,
286 296
       addService: this.addService[0].checked ? 1 : 0,
287 297
       addServiceTaskIds: this.addServiceTaskIds.length ? this.addServiceTaskIds.toString() : undefined,
@@ -410,6 +420,8 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
410 420
           this.batchSignExecutionParent[0].checked = this.configs.batchSignExecutionParent == 1;
411 421
           this.batchSignEndParent[0].checked = this.configs.batchSignEndParent == 1;
412 422
           this.hideInspectScan[0].checked = this.configs.hideInspectScan == 1;
423
+          this.enableGoods[0].checked = this.configs.enableGoods == 1;
424
+          this.enableTripType[0].checked = this.configs.enableTripType == 1;
413 425
           // this.yyInspectMergeOrder[0].checked = this.configs.yyInspectMergeOrder == 1;
414 426
           this.addService[0].checked = this.configs.addService == 1;
415 427
           this.addServiceTaskIds = this.configs.addServiceTaskIds ? this.configs.addServiceTaskIds.split(',').map(v => +v) : [];

+ 1 - 1
src/app/views/inspect-closed-loop-view/inspect-closed-loop-view.component.html

@@ -55,7 +55,7 @@
55 55
         <th nzWidth="14%">科室信息</th>
56 56
         <th nzWidth="14%">患者信息</th>
57 57
         <th nzWidth="14%">护理信息</th>
58
-        <th nzWidth="14%">出行方式</th>
58
+        <th nzWidth="14%">陪检方式</th>
59 59
         <th nzWidth="16%">检查项目</th>
60 60
         <th nzWidth="14%">签到信息</th>
61 61
         <th nzWidth="14%">状态</th>

+ 4 - 0
src/app/views/nurse-config/nurse-config.component.html

@@ -12,6 +12,10 @@
12 12
   <ng-container *ngIf="activeTagLink === 'incidentConfigHospital'">
13 13
     <app-configuration-distribution-hospital [hospitalTabList]="hospitalTabList"></app-configuration-distribution-hospital>
14 14
   </ng-container>
15
+  <!-- 数据字典 -->
16
+  <ng-container *ngIf="activeTagLink === 'nurseDictionary'">
17
+    <app-configuration-dictionary [dictionaryKeyList]="dictionaryKeyList"></app-configuration-dictionary>
18
+  </ng-container>
15 19
 </div>
16 20
 
17 21
 

+ 6 - 1
src/app/views/nurse-config/nurse-config.component.ts

@@ -16,11 +16,16 @@ export class NurseConfigComponent implements OnInit, AfterViewInit {
16 16
     // { id: 1, name: '快捷按钮配置',},
17 17
   ];
18 18
 
19
+  // 数据字典
20
+  dictionaryKeyList:any[] = [
21
+    { id: 1, name: '携带设备', key: "goods"},
22
+  ]
23
+
19 24
   // 院区配置
20 25
   hospitalTabList:any[] = [
21 26
     { id: 2, name: '评价', key: "evaluate"}
22 27
   ]
23
-	
28
+
24 29
   ngOnInit(): void {}
25 30
 
26 31
   ngAfterViewInit(){

+ 2 - 1
src/app/views/nurse-config/nurse-config.module.ts

@@ -5,7 +5,7 @@ import { NurseConfigRoutingModule } from './nurse-config-routing.module';
5 5
 import { NurseConfigComponent } from './nurse-config.component';
6 6
 import { ShareModule } from 'src/app/share/share.module';
7 7
 import { ConfigurationDistributionHospitalComponent } from 'src/app/components/configurationCenter/configuration-distribution-hospital/configuration-distribution-hospital.component';
8
-
8
+import { ConfigurationDictionaryModule } from 'src/app/components/configurationCenter/configuration-dictionary/configuration-dictionary.module';
9 9
 
10 10
 @NgModule({
11 11
   declarations: [
@@ -16,6 +16,7 @@ import { ConfigurationDistributionHospitalComponent } from 'src/app/components/c
16 16
     CommonModule,
17 17
     NurseConfigRoutingModule,
18 18
     ShareModule,
19
+    ConfigurationDictionaryModule,
19 20
   ]
20 21
 })
21 22
 export class NurseConfigModule { }

+ 3 - 3
src/app/views/patient-inspect-log-detail/patient-inspect-log-detail.component.html

@@ -46,7 +46,7 @@
46 46
             <div nz-col nzSpan="6">关联检查项目:{{ orderInfo.state && (orderInfo.state.value == 1 || orderInfo.state.value == 2) ? orderInfo.planInspectCount : orderInfo. inspectCount }}</div>
47 47
             <div nz-col nzSpan="6">状态:{{ orderInfo.state?.name }}</div>
48 48
             <div nz-col nzSpan="6">携带设备:{{ orderInfo.goodsNames }}</div>
49
-            <div nz-col nzSpan="6">出行方式:{{ orderInfo.tripTypeDTO?.inspectMode }}</div>
49
+            <div nz-col nzSpan="6">陪检方式:{{ orderInfo.tripTypeDTO?.inspectMode }}</div>
50 50
           </div>
51 51
 
52 52
           <div class="info" nz-row>
@@ -78,8 +78,8 @@
78 78
                 <td>{{ item.operationType?.name }}</td>
79 79
                 <td>{{ item.operationTime | date: 'yyyy-MM-dd HH:mm' }}</td>
80 80
                 <td>{{ item.username }}</td>
81
-                <td></td>
82
-                <td></td>
81
+                <td>{{ item.sourceHandoverName }}</td>
82
+                <td>{{ item.handoverName }}</td>
83 83
                 <td>{{ item.remark }}</td>
84 84
               </tr>
85 85
             </tbody>

+ 2 - 6
src/app/views/task-type-management/task-type-management.component.html

@@ -144,7 +144,7 @@
144 144
         </div>
145 145
         <div class="mb8 w100">
146 146
           <nz-form-label class="label" nzRequired>{{(association.value == 'inspect' || association.value == 'patientTransport') ? '是否需要注意事项' : '是否需要备注信息'}}</nz-form-label>
147
-          <nz-radio-group class="handlerType" [(ngModel)]="isRemarks" (ngModelChange)="isRemarksChange()">
147
+          <nz-radio-group class="handlerType" [(ngModel)]="isRemarks">
148 148
             <label nz-radio nzValue='1'>是</label>
149 149
             <label nz-radio nzValue='0'>否</label>
150 150
           </nz-radio-group>
@@ -277,10 +277,6 @@
277 277
           <nz-time-picker [(ngModel)]="reserveDate" nzFormat="HH:mm" class="mr8"></nz-time-picker>
278 278
           <input nz-input style="width: 300px;" class="handlerType" [(ngModel)]="reserveMsg" placeholder="请填写超出时间提示用语" nzSize="default" />
279 279
         </div> -->
280
-        <div nz-row *ngIf="association.value == 'inspect' || association.value == 'patientTransport'">
281
-          <nz-form-label class="label">携带设备</nz-form-label>
282
-          <nz-checkbox-group class="handlerType" [(ngModel)]="carryEquipmentIds"></nz-checkbox-group>
283
-        </div>
284 280
         <div nz-row class="mb8 display_flex align-items_center">
285 281
           <nz-form-label class="label">急单权重</nz-form-label>
286 282
           <input nz-input type="number" class="flex_1" [(ngModel)]="urgeWeight" placeholder="请填写急单权重" nzSize="default" />
@@ -1260,7 +1256,7 @@
1260 1256
         <div>
1261 1257
           <nz-form-label class="label" nzRequired>固定科室</nz-form-label>
1262 1258
           <nz-select class="mb8 w100" [nzMode]="'multiple'" [nzDropdownMatchSelectWidth]="false" nzShowSearch
1263
-            nzAllowClear nzPlaceHolder="请选择固定科室" nzShowSearch 
1259
+            nzAllowClear nzPlaceHolder="请选择固定科室" nzShowSearch
1264 1260
 
1265 1261
              [(ngModel)]="departments">
1266 1262
             <ng-container *ngFor="let data of courseListDataAll">

+ 7 - 58
src/app/views/task-type-management/task-type-management.component.ts

@@ -82,7 +82,6 @@ export class TaskTypeManagementComponent implements OnInit {
82 82
   allRelatedBusiness: Array<any>; //关联业务
83 83
   allTaskType = []; //任务类型列表
84 84
   allTaskTypeShow; //任务类型列表选择标识
85
-  allGoods: Array<any>; //携带设备
86 85
   allScheduleClass; //班次列表
87 86
   //基础信息详情字段
88 87
   taskName; //任务名称
@@ -103,7 +102,6 @@ export class TaskTypeManagementComponent implements OnInit {
103 102
     value: "",
104 103
   }; //关联业务
105 104
   simultaneousNumber; //同时接单数
106
-  carryEquipmentIds; //携带设备
107 105
   allowUrgent = "1"; //是否加急
108 106
   urgentAudit = "0"; //加急是否审核
109 107
   autoFlag = "0"; //调度台是否可以新建工单
@@ -333,7 +331,7 @@ export class TaskTypeManagementComponent implements OnInit {
333 331
     this.getAllAssociation(); // 获取所有关联类型
334 332
     this.getallStatisticsDateType(); // 获取统计分类
335 333
     this.getAllRelatedBusiness(); // 获取所有关联业务
336
-    this.getAllGoods(); //获取携带设备
334
+    // this.getAllGoods(); //获取携带设备
337 335
     this.getAllScheduleClass(); //获取班次列表
338 336
     this.getAllTaskType(); //任务类型列表
339 337
     this.getSearchTaskList(); //任务类型列表,可搜索
@@ -341,25 +339,25 @@ export class TaskTypeManagementComponent implements OnInit {
341 339
     this.getReserveType(); //获取是否限制业务发起时间-字典
342 340
 		this.changeInp("")
343 341
   }
344
-	
342
+
345 343
 	handleChange($event: ColorEvent){
346 344
 		console.log($event.color)
347 345
 		this.colorConfig.hex = $event.color.hex
348 346
 	}
349
-	
347
+
350 348
 	showSketch(){
351 349
 		this.colorShow = true
352 350
 	}
353
-	
351
+
354 352
 	hideColorModal(){
355 353
 		this.colorConfig.hex = '#333'
356 354
 		this.colorShow = false
357 355
 	}
358
-	
356
+
359 357
 	submitFormColor(){
360 358
 		this.colorShow = false
361 359
 	}
362
-	
360
+
363 361
   // 搜索科室
364 362
   optionList = [];
365 363
   isLoading = false;
@@ -759,16 +757,6 @@ export class TaskTypeManagementComponent implements OnInit {
759 757
         }
760 758
       });
761 759
   }
762
-  //获取携带设备
763
-  getAllGoods() {
764
-    var that = this;
765
-    that.mainService.getDictionary("list", "goods").subscribe((data) => {
766
-      this.carryEquipmentIds = data;
767
-      for (var i = 0; i < this.carryEquipmentIds.length; i++) {
768
-        this.carryEquipmentIds[i]["label"] = this.carryEquipmentIds[i].name;
769
-      }
770
-    });
771
-  }
772 760
   //多选框
773 761
   // logs(value, data): void {}
774 762
   //急查多选
@@ -938,24 +926,6 @@ export class TaskTypeManagementComponent implements OnInit {
938 926
       this.getCourseList(this.pageSize);
939 927
     }
940 928
     // this.simultaneousNumber = data.simultaneousNumber;
941
-    if (
942
-      data.associationType.value == "patientTransport" ||
943
-      data.associationType.value == "inspect"
944
-    ) {
945
-      for (var i = 0; i < this.carryEquipmentIds.length; i++) {
946
-        this.carryEquipmentIds[i]["label"] = this.carryEquipmentIds[i].name;
947
-        this.carryEquipmentIds[i]["checked"] = false;
948
-        if (data.carryEquipmentIds) {
949
-          for (var k = 0; k < data.carryEquipmentIds.length; k++) {
950
-            if (
951
-              this.carryEquipmentIds[i].name == data.carryEquipmentIds[k].name
952
-            ) {
953
-              this.carryEquipmentIds[i]["checked"] = true;
954
-            }
955
-          }
956
-        }
957
-      }
958
-    }
959 929
 
960 930
     this.scheduleClassChecked = [];
961 931
     this.autoClass = [];
@@ -1264,18 +1234,6 @@ export class TaskTypeManagementComponent implements OnInit {
1264 1234
     this.taskData.taskType["integralDetailedRules"] =
1265 1235
       this.integralDetailedRulesData;
1266 1236
     this.taskData.taskType["carryingCourses"] = this.carryingCourses;
1267
-    if (this.carryEquipmentIds.length > 0) {
1268
-      this.taskData.taskType["carryEquipmentIds"] = [];
1269
-      for (var i = 0; i < this.carryEquipmentIds.length; i++) {
1270
-        var carry = {
1271
-          id: "",
1272
-        };
1273
-        if (this.carryEquipmentIds[i].checked == true) {
1274
-          carry.id = this.carryEquipmentIds[i].id;
1275
-          this.taskData.taskType.carryEquipmentIds.push(carry);
1276
-        }
1277
-      }
1278
-    }
1279 1237
 
1280 1238
     if (this.allScheduleClass.length > 0) {
1281 1239
       this.taskData.taskType["classesIds"] = [];
@@ -1545,7 +1503,7 @@ export class TaskTypeManagementComponent implements OnInit {
1545 1503
       id: null,
1546 1504
       value: "",
1547 1505
     }; //关联类型
1548
-    this.getAllGoods(); //获取携带设备
1506
+    // this.getAllGoods(); //获取携带设备
1549 1507
     this.getAllScheduleClass(); //获取班次列表
1550 1508
     this.allowUrgent = "1"; //是否加急
1551 1509
     this.urgentAudit = "0"; //加急是否审核
@@ -2776,15 +2734,6 @@ export class TaskTypeManagementComponent implements OnInit {
2776 2734
     }, 100);
2777 2735
   }
2778 2736
 
2779
-  //修改是否填写备注
2780
-  isRemarksChange(){
2781
-    if(this.isRemarks == 1){
2782
-      this.carryEquipmentIds.forEach(v => {
2783
-        v.checked = false;
2784
-      });
2785
-    }
2786
-  }
2787
-
2788 2737
    //修改是否需要填写工号
2789 2738
    isReserveUserSwitchChange(){
2790 2739
     if(this.reserveUserSwitch == '1'){