Bladeren bron

解决冲突

maotao 1 dag geleden
bovenliggende
commit
8498956e99
24 gewijzigde bestanden met toevoegingen van 275 en 173 verwijderingen
  1. 5 0
      angular.json
  2. 10 0
      src/app/components/configurationCenter/configuration-drug/configuration-drug.component.html
  3. 14 0
      src/app/components/configurationCenter/configuration-drug/configuration-drug.component.ts
  4. 1 1
      src/app/share/businessData-detail-info-modal/businessData-detail-info-modal.component.html
  5. 7 7
      src/app/share/businessData-detail-modal/businessData-detail-modal.component.html
  6. 3 0
      src/app/share/businessData-detail-modal/businessData-detail-modal.component.ts
  7. 1 1
      src/app/views/batch-inspection/batch-inspection.component.html
  8. 5 5
      src/app/views/batch-inspection/batch-inspection.component.ts
  9. 15 3
      src/app/views/fuwutai/fuwutai.component.html
  10. 42 24
      src/app/views/fuwutai/fuwutai.component.ts
  11. 59 50
      src/app/views/hushijiandan/hushijiandan.component.html
  12. 1 1
      src/app/views/hushijiandan/hushijiandan.component.less
  13. 59 10
      src/app/views/hushijiandan/hushijiandan.component.ts
  14. 10 0
      src/app/views/inspect-and-patient-transport-config/inspect-and-patient-transport-config.component.html
  15. 12 0
      src/app/views/inspect-and-patient-transport-config/inspect-and-patient-transport-config.component.ts
  16. 1 1
      src/app/views/inspect-closed-loop-view/inspect-closed-loop-view.component.html
  17. 1 1
      src/app/views/main/main.component.html
  18. 4 0
      src/app/views/nurse-config/nurse-config.component.html
  19. 6 1
      src/app/views/nurse-config/nurse-config.component.ts
  20. 2 1
      src/app/views/nurse-config/nurse-config.module.ts
  21. 3 3
      src/app/views/patient-inspect-log-detail/patient-inspect-log-detail.component.html
  22. 2 6
      src/app/views/task-type-management/task-type-management.component.html
  23. 7 58
      src/app/views/task-type-management/task-type-management.component.ts
  24. 5 0
      src/login.html

+ 5 - 0
angular.json

@@ -30,6 +30,11 @@
30 30
                 "glob": "**/*",
31 31
                 "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
32 32
                 "output": "/assets/"
33
+              },
34
+              {
35
+                "glob": "login.html",
36
+                "input": "src",
37
+                "output": "/"
33 38
               }
34 39
             ],
35 40
             "styles": [

+ 10 - 0
src/app/components/configurationCenter/configuration-drug/configuration-drug.component.html

@@ -88,6 +88,16 @@
88 88
 									  <nz-form-label class="label">药单显示患者</nz-form-label>
89 89
 									  <nz-checkbox-group [(ngModel)]="item.postData.showPatientInfo"></nz-checkbox-group>
90 90
 									</div>
91
+                  <!-- 是否显示药品数、种类数 -->
92
+									<div class="display_flex align-items_center mb8">
93
+									  <nz-form-label class="label">是否显示药品数、种类数</nz-form-label>
94
+									  <nz-checkbox-group [(ngModel)]="item.postData.showDrugsBagTypeCount"></nz-checkbox-group>
95
+									</div>
96
+                  <!-- 是否支持查看药品详情信息 -->
97
+									<div class="display_flex align-items_center mb8">
98
+									  <nz-form-label class="label">是否支持查看药品详情信息</nz-form-label>
99
+									  <nz-checkbox-group [(ngModel)]="item.postData.showDrugsBagDetails"></nz-checkbox-group>
100
+									</div>
91 101
                 </div>
92 102
                 <!-- 自动建单配置 -->
93 103
                 <div *ngIf="tabModalName=='automaticOrderCreation'">

+ 14 - 0
src/app/components/configurationCenter/configuration-drug/configuration-drug.component.ts

@@ -61,6 +61,8 @@ export class ConfigurationDrugComponent implements OnInit {
61 61
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
62 62
         drugsEndManual: undefined,//终点科室手动填写
63 63
         drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
64
+				showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
65
+				showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
64 66
       }
65 67
     },
66 68
     {
@@ -79,6 +81,8 @@ export class ConfigurationDrugComponent implements OnInit {
79 81
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
80 82
         drugsEndManual: undefined,//终点科室手动填写
81 83
         drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
84
+        showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
85
+				showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
82 86
       }
83 87
     },
84 88
     {
@@ -97,6 +101,8 @@ export class ConfigurationDrugComponent implements OnInit {
97 101
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
98 102
         drugsEndManual: undefined,//终点科室手动填写
99 103
         drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
104
+        showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
105
+				showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
100 106
       }
101 107
     },
102 108
     {
@@ -115,6 +121,8 @@ export class ConfigurationDrugComponent implements OnInit {
115 121
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
116 122
         drugsEndManual: undefined,//终点科室手动填写
117 123
         drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
124
+        showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
125
+				showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
118 126
       }
119 127
     },
120 128
     {
@@ -133,6 +141,8 @@ export class ConfigurationDrugComponent implements OnInit {
133 141
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
134 142
         drugsEndManual: undefined,//终点科室手动填写
135 143
         drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
144
+        showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
145
+				showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
136 146
       }
137 147
     },
138 148
   ];
@@ -206,6 +216,8 @@ export class ConfigurationDrugComponent implements OnInit {
206 216
       drugsEndManual: this.activeDictionary.postData.drugsEndManual ? { id: this.activeDictionary.postData.drugsEndManual } : undefined,
207 217
       drugsEndPhoto: this.activeDictionary.postData.drugsEndPhoto[0].checked ? 1 : 0,
208 218
 			showPatientInfo: this.activeDictionary.postData.showPatientInfo[0].checked ? 1 : 0,
219
+			showDrugsBagTypeCount: this.activeDictionary.postData.showDrugsBagTypeCount[0].checked ? 1 : 0,
220
+			showDrugsBagDetails: this.activeDictionary.postData.showDrugsBagDetails[0].checked ? 1 : 0,
209 221
 		};
210 222
     this.btnLoading = true;
211 223
     this.mainService
@@ -301,6 +313,8 @@ export class ConfigurationDrugComponent implements OnInit {
301 313
           this.activeDictionary.postData.drugsEndManual = this.configs.drugsEndManual ? this.configs.drugsEndManual.id : undefined;
302 314
           this.activeDictionary.postData.drugsEndPhoto[0].checked = this.configs.drugsEndPhoto == 1;
303 315
 					this.activeDictionary.postData.showPatientInfo[0].checked = this.configs.showPatientInfo == 1;
316
+					this.activeDictionary.postData.showDrugsBagTypeCount[0].checked = this.configs.showDrugsBagTypeCount == 1;
317
+					this.activeDictionary.postData.showDrugsBagDetails[0].checked = this.configs.showDrugsBagDetails == 1;
304 318
 				}
305 319
       });
306 320
   }

+ 1 - 1
src/app/share/businessData-detail-info-modal/businessData-detail-info-modal.component.html

@@ -10,7 +10,7 @@
10 10
       <div>发药科室:{{drugsBag.launch ? drugsBag.launch.dept : ''}}</div>
11 11
     </div>
12 12
     <div class="content">
13
-      <ng-container *ngIf="type === 'drugsJpbag' || type === 'drugsWestern' || type === 'drugsReturn' || type === 'drugsPoison' || type === 'drugsHerbal'">
13
+      <ng-container *ngIf="configs.showDrugsBagDetails === 1 && (type === 'drugsJpbag' || type === 'drugsWestern' || type === 'drugsReturn' || type === 'drugsPoison' || type === 'drugsHerbal')">
14 14
         <!-- 新药品 -->
15 15
         <nz-table class="hospitalTable" [nzData]="drugsBugSingleList" nzSize="middle" [nzShowPagination]="false"
16 16
           [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">

+ 7 - 7
src/app/share/businessData-detail-modal/businessData-detail-modal.component.html

@@ -41,7 +41,7 @@
41 41
         </tbody>
42 42
       </nz-table>
43 43
       <!-- 新药品-一单一码 -->
44
-      <nz-table *ngIf="configs.drugsModel === 1 && (type === 'drugsJpbag' || type === 'drugsWestern' || type === 'drugsReturn' || type === 'drugsPoison' || type === 'drugsHerbal')" class="hospitalTable" [nzData]="drugsBugSingleList" nzSize="middle" [nzShowPagination]="false"
44
+      <nz-table *ngIf="configs.showDrugsBagDetails === 1 && configs.drugsModel === 1 && (type === 'drugsJpbag' || type === 'drugsWestern' || type === 'drugsReturn' || type === 'drugsPoison' || type === 'drugsHerbal')" class="hospitalTable" [nzData]="drugsBugSingleList" nzSize="middle" [nzShowPagination]="false"
45 45
         [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
46 46
         <thead>
47 47
           <tr class="thead">
@@ -70,8 +70,8 @@
70 70
             <th nzWidth="5%">序号</th>
71 71
             <th nzWidth="11%">单号</th>
72 72
 						<th nzWidth="10%" *ngIf="configs.showPatientInfo==1">患者信息</th>
73
-            <th nzWidth="8%">种类数</th>
74
-            <th nzWidth="8%">总数</th>
73
+            <th nzWidth="8%" *ngIf="configs.showDrugsBagTypeCount==1">种类数</th>
74
+            <th nzWidth="8%" *ngIf="configs.showDrugsBagTypeCount==1">总数</th>
75 75
             <th nzWidth="10%">收取人/交接人</th>
76 76
             <!-- <th nzWidth="10%">收取交接人</th> -->
77 77
             <th nzWidth="14%">收取时间</th>
@@ -81,14 +81,14 @@
81 81
           </tr>
82 82
         </thead>
83 83
         <tbody>
84
-          <tr *ngFor="let data of drugsBugMultipleList;let i = index;" (click)="viewDetail(type, data.id)">
84
+          <tr *ngFor="let data of drugsBugMultipleList;let i = index;" (click)="viewDetail(type, data.id)" [ngStyle]="{ 'cursor': configs.showDrugsBagDetails == 1 ? 'pointer' : '' }">
85 85
             <td>{{i+1}}</td>
86
-            <td>{{ data.packid }}</td>
86
+						<td [ngStyle]="{ 'text-decoration': configs.showDrugsBagDetails == 1 ? 'underline' : '' }">{{ data.packid }}</td>
87 87
 						<td nz-tooltip [nzTooltipTitle]="data.patientNames" *ngIf="configs.showPatientInfo==1">
88 88
 							{{ data.patientNames }}
89 89
 						</td>
90
-            <td>{{ data.drugsTypeCount }}</td>
91
-            <td>{{ data.drugsCount }}</td>
90
+            <td *ngIf="configs.showDrugsBagTypeCount==1">{{ data.drugsTypeCount }}</td>
91
+            <td *ngIf="configs.showDrugsBagTypeCount==1">{{ data.drugsCount }}</td>
92 92
             <td>
93 93
 							<ng-container *ngIf="data.startLog">
94 94
 								<div>{{data.startLog.username}}</div>

+ 3 - 0
src/app/share/businessData-detail-modal/businessData-detail-modal.component.ts

@@ -433,6 +433,9 @@ export class BusinessDataDetailModalComponent implements OnInit {
433 433
   businessDataModalType = ''; //业务数据类型
434 434
   infoId = ''; //业务数据id
435 435
   viewDetail(type, id) {
436
+    if(this.configs.showDrugsBagDetails != 1){
437
+      return;
438
+    }
436 439
     this.infoId = id;
437 440
     this.businessDataModalType = type;
438 441
     this.businessDataModalShow = true;

+ 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 } };

+ 15 - 3
src/app/views/fuwutai/fuwutai.component.html

@@ -1106,10 +1106,22 @@
1106 1106
                                 </nz-select>
1107 1107
                               </nz-form-control>
1108 1108
                             </nz-form-item>
1109
-                            <nz-form-item class="ml8" class="goods-control">
1110
-                              <nz-form-label style="line-height: 40px;" class="label" nzFor="goods" *ngIf="goodsNow.length">携带设备</nz-form-label>
1109
+                            <nz-form-item class="ml8" class="goods-control" *ngIf="inspectAndPatientTransportConfig.enableGoods == 1">
1110
+                              <nz-form-label style="line-height: 40px;" class="label" nzFor="goods">携带设备</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" *ngIf="inspectAndPatientTransportConfig.enableTripType == 1">
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">陪检方式</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>

+ 42 - 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
       };
@@ -480,7 +481,7 @@ export class FuwutaiComponent implements OnInit {
480 481
     for (const i in this.validateFormZy.controls) {
481 482
       this.validateFormZy.controls[i].markAsDirty();
482 483
       this.validateFormZy.controls[i].updateValueAndValidity();
483
-      if (this.validateFormZy.controls[i].valid === false && i !== "goods") {
484
+      if (this.validateFormZy.controls[i].valid === false && i !== "goods" && i !== "inspectScore") {
484 485
         //携带设备非必填
485 486
         // if (this.validateFormZy.controls[i].valid === false && i !== 'goods' && i !== 'patient') {//携带设备非必填
486 487
         newOrderShowFlag = false;
@@ -514,6 +515,7 @@ export class FuwutaiComponent implements OnInit {
514 515
             patientCode: this.validateFormZy.controls.patient.value,
515 516
           },
516 517
           goods,
518
+          inspectScore: this.validateFormZy.controls.inspectScore.value ? { id: this.validateFormZy.controls.inspectScore.value } : undefined,
517 519
           workOrderRemark: this.validateFormZy.controls.workOrderRemarkZy.value,
518 520
         },
519 521
       };
@@ -950,6 +952,7 @@ export class FuwutaiComponent implements OnInit {
950 952
       patient: [null, [Validators.required]], //患者信息
951 953
       // patient: [null],//患者信息ca
952 954
       goods: [null], //携带设备
955
+      inspectScore: [null], //陪检方式
953 956
       workOrderRemarkZy: [null], //工单备注
954 957
     });
955 958
     //其他
@@ -2795,6 +2798,7 @@ export class FuwutaiComponent implements OnInit {
2795 2798
     this.endDeptZy = null;
2796 2799
     this.patientZy = null;
2797 2800
     this.goodsNow = [];
2801
+    this.workOrderInspectScore = undefined;
2798 2802
     this.workOrderRemark = "";
2799 2803
     this.workOrderRemarkZy = "";
2800 2804
     this.deptZyList["startDept"] = [];
@@ -3733,6 +3737,7 @@ export class FuwutaiComponent implements OnInit {
3733 3737
     this.endDeptZy = null;
3734 3738
     this.patientZy = null;
3735 3739
     this.goodsNow = [];
3740
+    this.workOrderInspectScore = undefined;
3736 3741
     // this.patientList = [];
3737 3742
     this.workOrderRemark = "";
3738 3743
     this.workOrderRemarkZy = "";
@@ -4691,7 +4696,6 @@ export class FuwutaiComponent implements OnInit {
4691 4696
     this.linkCheckLisTrue = e.length > 0;
4692 4697
   }
4693 4698
   // 转运类型选中类型(单选)触发
4694
-  goodsNow; //携带的物品列表
4695 4699
   yyDateZy = null; //预约日期-患者其他服务
4696 4700
   yyDate = null; //预约日期-其他临床服务
4697 4701
   yyTimeZy = null; //预约时间-患者其他服务
@@ -4823,24 +4827,42 @@ export class FuwutaiComponent implements OnInit {
4823 4827
     });
4824 4828
     setTimeout(() => {
4825 4829
       // 获取携带设备
4826
-      let arrObj = this.workTypesArrange.find(v => v.key === this.currentTabIndex);
4827
-      let arr = arrObj.value;
4828
-      this.goodsNow = arr.filter(
4829
-        (item) => item.id == value
4830
-      )[0].taskType.carryEquipmentIds;
4831
-      if (this.goodsNow) {
4832
-        this.goodsNow = this.goodsNow.map((item) => {
4833
-          return {
4834
-            label: item.name,
4835
-            value: item.id,
4836
-            checked: false,
4837
-          };
4838
-        });
4839
-      } else {
4840
-        this.goodsNow = [];
4841
-      }
4830
+      this.getAllGoods();
4831
+      this.getWorkOrderInspectScore();
4842 4832
     }, 0)
4843 4833
   }
4834
+  //获取携带设备
4835
+  goodsNow; //携带的物品列表
4836
+  getAllGoods() {
4837
+    this.mainService.getDictionary("list", "goods").subscribe((data) => {
4838
+      let goodsNow = data || [];
4839
+      this.goodsNow = [];
4840
+      goodsNow.forEach((e) => {
4841
+        this.goodsNow.push({
4842
+          label: e.name,
4843
+          value: e.id,
4844
+          checked: false,
4845
+        });
4846
+      });
4847
+    });
4848
+  }
4849
+
4850
+  //获取陪检方式
4851
+  workOrderInspectScoreList:any[] = [];
4852
+  workOrderInspectScore:any;
4853
+  getWorkOrderInspectScore() {
4854
+    let postData = { idx: 0, sum: 9999, workOrderInspectScore: { hosId: this.checkedHos } };
4855
+    this.mainService
4856
+      .getFetchDataList("simple/data", "workOrderInspectScore", postData)
4857
+      .subscribe((result) => {
4858
+        if (result.status == 200) {
4859
+          this.workOrderInspectScoreList = result.list || [];
4860
+        } else {
4861
+          this.msg.error("请求数据失败");
4862
+        }
4863
+      });
4864
+  }
4865
+
4844 4866
 	psValue:any;
4845 4867
 	taskType:any;
4846 4868
   radioChangeQt(value) {
@@ -4990,6 +5012,7 @@ export class FuwutaiComponent implements OnInit {
4990 5012
     this.endDeptZy = null;
4991 5013
     this.patientZy = null;
4992 5014
     this.goodsNow = [];
5015
+    this.workOrderInspectScore = undefined;
4993 5016
     this.patientList = [];
4994 5017
     this.workOrderRemark = "";
4995 5018
     this.workOrderRemarkZy = "";
@@ -5003,11 +5026,6 @@ export class FuwutaiComponent implements OnInit {
5003 5026
     this.deptQtList["endStatus"] = 0;
5004 5027
   }
5005 5028
 
5006
-  // 携带设备
5007
-  changeGoods(value: object[]): void {
5008
-    console.log(value);
5009
-  }
5010
-
5011 5029
   // 撤回
5012 5030
   // 打开撤回模态框
5013 5031
   openRecallModal(id) {

+ 59 - 50
src/app/views/hushijiandan/hushijiandan.component.html

@@ -1544,49 +1544,48 @@
1544 1544
             <nz-form-item *ngIf="checkedShowMsg.status == 100009">
1545 1545
               <div class="txtC">{{ checkedShowMsg.msg }}</div>
1546 1546
             </nz-form-item>
1547
-            <!-- 100015 (护士端一键建单展策略)起点科室和终点科室下拉展示 -->
1548
-            <nz-form-item class="top16bottom0" nz-row *ngIf="checkedShowMsg.status == 100015 || checkedShowMsg.status == 100013">
1549
-              <nz-form-label [nzSpan]="3" nzRequired nzFor="originOffice">起点科室</nz-form-label>
1550
-              <nz-form-control [nzSpan]="21" nzErrorTip="请选择起点科室!">
1551
-                <nz-select formControlName="originOffice" [nzDropdownMatchSelectWidth]="false" [nzShowSearch]="isStartFixedType" [nzServerSearch]="isStartFixedType"  (nzOnSearch)="searchDept('start', checkedShowMsg, $event)" nzPlaceHolder="请选择起点科室">
1552
-                  <ng-container *ngFor="let option of checkedShowMsg.start.start.list">
1553
-                    <nz-option *ngIf="true" [nzLabel]="deptDisplay == 2 ? option.deptalias : option.dept" [nzValue]="option.id"></nz-option>
1554
-                  </ng-container>
1555
-                  <nz-option *ngIf="false" nzDisabled nzCustomContent>
1556
-                    <i nz-icon nzType="loading" class="loading-icon"></i>
1557
-                    搜索中...
1558
-                  </nz-option>
1559
-                </nz-select>
1560
-              </nz-form-control>
1561
-            </nz-form-item>
1562
-            <!-- 其他情况 -->
1563
-            <nz-form-item class="top16bottom0" nz-row *ngIf="checkedShowMsg.start && (checkedShowMsg.status == 100014 || checkedShowMsg.status == 100012)">
1564
-              <nz-form-label [nzSpan]="3" nzRequired nzFor="originOffice">起点科室</nz-form-label>
1565
-              <nz-form-control [nzSpan]="21" nzErrorTip="请选择起点科室!">
1566
-                <span class="readonly">{{deptDisplay == 2 ? checkedShowMsg.start.start.list[0].deptalias : checkedShowMsg.start.start.list[0].dept}}</span>
1567
-              </nz-form-control>
1568
-            </nz-form-item>
1569
-            <nz-form-item class="top16bottom0" nz-row *ngIf="checkedShowMsg.end && (checkedShowMsg.status == 100012 || checkedShowMsg.status == 100013)">
1570
-              <nz-form-label [nzSpan]="3" nzRequired nzFor="targetOffice">目标科室</nz-form-label>
1571
-              <nz-form-control [nzSpan]="21" nzErrorTip="请选择目标科室!">
1572
-                <span class="readonly">{{deptDisplay == 2 ? checkedShowMsg.end.end.list[0].deptalias : checkedShowMsg.end.end.list[0].dept}}</span>
1573
-              </nz-form-control>
1574
-            </nz-form-item>
1575
-            <!-- 100014 (护士端一键建单展示策略)取终点科室和msg 值展示 -->
1576
-            <nz-form-item class="top16bottom0" nz-row *ngIf="checkedShowMsg.status == 100014 || checkedShowMsg.status == 100015">
1577
-              <nz-form-label [nzSpan]="3" nzRequired nzFor="targetOffice">目标科室</nz-form-label>
1578
-              <nz-form-control [nzSpan]="21" nzErrorTip="请选择目标科室!">
1579
-                <nz-select formControlName="targetOffice" [nzDropdownMatchSelectWidth]="false"  [nzShowSearch]="isEndFixedType" [nzServerSearch]="isEndFixedType"  (nzOnSearch)="searchDept('target', checkedShowMsg, $event)" nzPlaceHolder="请选择目标科室">
1580
-                  <ng-container *ngFor="let option of checkedShowMsg.end.end.list">
1581
-                    <nz-option [nzLabel]="deptDisplay == 2 ? option.deptalias : option.dept" [nzValue]="option.id"></nz-option>
1582
-                  </ng-container>
1583
-                <!--  <nz-option *ngIf="false" nzDisabled nzCustomContent>
1584
-                    <i nz-icon nzType="loading" class="loading-icon"></i>
1585
-                    搜索中...
1586
-                  </nz-option> -->
1587
-                </nz-select>
1588
-              </nz-form-control>
1589
-            </nz-form-item>
1547
+            <div class="display_flex align-items_center">
1548
+              <!-- 100015 (护士端一键建单展策略)起点科室和终点科室下拉展示 -->
1549
+              <nz-form-item class="top16bottom0 w100" nz-row *ngIf="checkedShowMsg.status == 100015 || checkedShowMsg.status == 100013">
1550
+                <nz-form-label [nzSpan]="4" nzRequired nzFor="originOffice">起点科室</nz-form-label>
1551
+                <nz-form-control [nzSpan]="20" nzErrorTip="请选择起点科室!">
1552
+                  <nz-select formControlName="originOffice" [nzDropdownMatchSelectWidth]="false" [nzShowSearch]="isStartFixedType" [nzServerSearch]="isStartFixedType"  (nzOnSearch)="searchDept('start', checkedShowMsg, $event)" nzPlaceHolder="请选择起点科室">
1553
+                    <ng-container *ngFor="let option of checkedShowMsg.start.start.list">
1554
+                      <nz-option *ngIf="true" [nzLabel]="deptDisplay == 2 ? option.deptalias : option.dept" [nzValue]="option.id"></nz-option>
1555
+                    </ng-container>
1556
+                    <nz-option *ngIf="false" nzDisabled nzCustomContent>
1557
+                      <i nz-icon nzType="loading" class="loading-icon"></i>
1558
+                      搜索中...
1559
+                    </nz-option>
1560
+                  </nz-select>
1561
+                </nz-form-control>
1562
+              </nz-form-item>
1563
+              <!-- 其他情况 -->
1564
+              <nz-form-item class="top16bottom0 w100" nz-row *ngIf="checkedShowMsg.start && (checkedShowMsg.status == 100014 || checkedShowMsg.status == 100012)">
1565
+                <nz-form-label [nzSpan]="4" nzRequired nzFor="originOffice">起点科室</nz-form-label>
1566
+                <nz-form-control [nzSpan]="20" nzErrorTip="请选择起点科室!">
1567
+                  <span class="readonly">{{deptDisplay == 2 ? checkedShowMsg.start.start.list[0].deptalias : checkedShowMsg.start.start.list[0].dept}}</span>
1568
+                </nz-form-control>
1569
+              </nz-form-item>
1570
+              <nz-form-item class="top16bottom0 w100 ml8" nz-row *ngIf="checkedShowMsg.end && (checkedShowMsg.status == 100012 || checkedShowMsg.status == 100013)">
1571
+                <nz-form-label [nzSpan]="4" nzRequired nzFor="targetOffice">目标科室</nz-form-label>
1572
+                <nz-form-control [nzSpan]="20" nzErrorTip="请选择目标科室!">
1573
+                  <span class="readonly">{{deptDisplay == 2 ? checkedShowMsg.end.end.list[0].deptalias : checkedShowMsg.end.end.list[0].dept}}</span>
1574
+                </nz-form-control>
1575
+              </nz-form-item>
1576
+              <!-- 100014 (护士端一键建单展示策略)取终点科室和msg 值展示 -->
1577
+              <nz-form-item class="top16bottom0 w100 ml8" nz-row *ngIf="checkedShowMsg.status == 100014 || checkedShowMsg.status == 100015">
1578
+                <nz-form-label [nzSpan]="4" nzRequired nzFor="targetOffice">目标科室</nz-form-label>
1579
+                <nz-form-control [nzSpan]="20" nzErrorTip="请选择目标科室!">
1580
+                  <nz-select formControlName="targetOffice" [nzDropdownMatchSelectWidth]="false"  [nzShowSearch]="isEndFixedType" [nzServerSearch]="isEndFixedType"  (nzOnSearch)="searchDept('target', checkedShowMsg, $event)" nzPlaceHolder="请选择目标科室">
1581
+                    <ng-container *ngFor="let option of checkedShowMsg.end.end.list">
1582
+                      <nz-option [nzLabel]="deptDisplay == 2 ? option.deptalias : option.dept" [nzValue]="option.id"></nz-option>
1583
+                    </ng-container>
1584
+                  </nz-select>
1585
+                </nz-form-control>
1586
+              </nz-form-item>
1587
+            </div>
1588
+
1590 1589
             <div class="display_flex top16bottom0">
1591 1590
               <!-- 自动送回 -->
1592 1591
               <nz-form-item class="isRemand" *ngIf="checkedShowMsg.status != 200 && checkedShowMsg.isRemand == 1">
@@ -1596,7 +1595,7 @@
1596 1595
               </nz-form-item>
1597 1596
               <!-- 是否加急 -->
1598 1597
               <nz-form-item nz-row *ngIf="current_allowUrgent" class="allowUrgent">
1599
-                <nz-form-label [nzSpan]="3" nzFor="allowUrgent" class="goods">是否加急</nz-form-label>
1598
+                <nz-form-label [nzSpan]="2" nzFor="allowUrgent" class="goods">是否加急</nz-form-label>
1600 1599
                 <nz-form-control [nzSpan]="6">
1601 1600
                   <nz-radio-group [(ngModel)]="allowUrgent" (ngModelChange)="allowUrgentChange($event)" formControlName="allowUrgent">
1602 1601
                     <label nz-radio nzValue="1">是</label>
@@ -1637,12 +1636,22 @@
1637 1636
               </nz-form-item>
1638 1637
             </ng-container>
1639 1638
             <!-- 携带设备 -->
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>
1639
+            <div class="display_flex justify-content_space-between align-items_center">
1640
+              <nz-form-item class="display_flex align-items_center flex_1" *ngIf="inspectAndPatientTransportConfig.enableTripType == 1">
1641
+                <nz-form-label nzFor="inspectScore" class="goods mt8">陪检方式</nz-form-label>
1642
+                <nz-form-control>
1643
+                  <nz-radio-group formControlName="inspectScore" [(ngModel)]="workOrderInspectScore">
1644
+                    <label nz-radio [nzValue]="item.id" *ngFor="let item of workOrderInspectScoreList">{{item.inspectMode}}</label>
1645
+                  </nz-radio-group>
1646
+                </nz-form-control>
1647
+              </nz-form-item>
1648
+              <nz-form-item class="display_flex align-items_center flex_1" *ngIf="inspectAndPatientTransportConfig.enableGoods == 1">
1649
+                <nz-form-label nzFor="goods" class="goods mt8">携带设备</nz-form-label>
1650
+                <nz-form-control>
1651
+                  <nz-checkbox-group formControlName="goods" [(ngModel)]="goodsLis"></nz-checkbox-group>
1652
+                </nz-form-control>
1653
+              </nz-form-item>
1654
+            </div>
1646 1655
           </ng-container>
1647 1656
         </form>
1648 1657
       </div>

+ 1 - 1
src/app/views/hushijiandan/hushijiandan.component.less

@@ -2674,7 +2674,7 @@
2674 2674
 }
2675 2675
 .patient{
2676 2676
   .modalBody{
2677
-    width: 70%;
2677
+    width: 1338px;
2678 2678
     border-radius: 16px;
2679 2679
     padding: 16px 24px;
2680 2680
     .title{

+ 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: { hosId: this.currentHospital.id } };
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>

+ 1 - 1
src/app/views/main/main.component.html

@@ -36,7 +36,7 @@
36 36
           <i class="icon_transport transport-tongji-2 green" *ngIf="newStatisticsRole" (click)="toNewStatistics()" nz-tooltip nzTooltipTitle="统计"></i>
37 37
           <i class="icon_transport transport-shangban green" *ngIf='PCCommutesToWork && userInfo.user && !userInfo.user.online' (click)="GoWork()" nz-tooltip nzTooltipTitle="我要上班"></i>
38 38
           <i class="icon_transport transport-shangban green" *ngIf='PCCommutesToWork && userInfo.user && userInfo.user.online' (click)="GoWork()" nz-tooltip nzTooltipTitle="我要下班"></i>
39
-          <div class="dropdown" *ngIf="pharmacyRole || largeScreenRole || largeScreenRole2 || specimenViewRole || specimenViewRole2 || specimenRoomView || pathology || disinfectionSupplyRole || sampling">
39
+          <div class="dropdown" *ngIf="pharmacyRole || largeScreenRole || largeScreenRole2 || specimenViewRole || specimenViewRole2 || specimenRoomView || pathology || disinfectionSupplyRole || sampling || communicationBook || realtimeBroadcastRole || inspectClosedLoopViewRole">
40 40
             <i class="icon_transport transport-gengduoda-copy" (mouseenter)="showDropdown1 = true" (mouseleave)="showDropdown1 = false"></i>
41 41
             <div class="dropdown-content ct" [hidden]="!showDropdown1" (mouseenter)="showDropdown1 = true" (mouseleave)="showDropdown1 = false">
42 42
               <div class="dropdownItem" *ngIf="pharmacyRole" (click)="toPharmacy()">药房端</div>

+ 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'){

+ 5 - 0
src/login.html

@@ -0,0 +1,5 @@
1
+<script>
2
+if(window.location.pathname === '/login.html'){
3
+  window.location.replace('/#/login' + window.location.search);
4
+}
5
+</script>