maotao 2 miesięcy temu
rodzic
commit
8498956e99
24 zmienionych plików z 275 dodań i 173 usunięć
  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
                 "glob": "**/*",
30
                 "glob": "**/*",
31
                 "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
31
                 "input": "./node_modules/@ant-design/icons-angular/src/inline-svg/",
32
                 "output": "/assets/"
32
                 "output": "/assets/"
33
+              },
34
+              {
35
+                "glob": "login.html",
36
+                "input": "src",
37
+                "output": "/"
33
               }
38
               }
34
             ],
39
             ],
35
             "styles": [
40
             "styles": [

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

@@ -88,6 +88,16 @@
88
 									  <nz-form-label class="label">药单显示患者</nz-form-label>
88
 									  <nz-form-label class="label">药单显示患者</nz-form-label>
89
 									  <nz-checkbox-group [(ngModel)]="item.postData.showPatientInfo"></nz-checkbox-group>
89
 									  <nz-checkbox-group [(ngModel)]="item.postData.showPatientInfo"></nz-checkbox-group>
90
 									</div>
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
                 </div>
101
                 </div>
92
                 <!-- 自动建单配置 -->
102
                 <!-- 自动建单配置 -->
93
                 <div *ngIf="tabModalName=='automaticOrderCreation'">
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
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
61
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
62
         drugsEndManual: undefined,//终点科室手动填写
62
         drugsEndManual: undefined,//终点科室手动填写
63
         drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
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
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
81
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
80
         drugsEndManual: undefined,//终点科室手动填写
82
         drugsEndManual: undefined,//终点科室手动填写
81
         drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
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
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
101
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
98
         drugsEndManual: undefined,//终点科室手动填写
102
         drugsEndManual: undefined,//终点科室手动填写
99
         drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
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
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
121
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
116
         drugsEndManual: undefined,//终点科室手动填写
122
         drugsEndManual: undefined,//终点科室手动填写
117
         drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
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
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
141
 				showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
134
         drugsEndManual: undefined,//终点科室手动填写
142
         drugsEndManual: undefined,//终点科室手动填写
135
         drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
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
       drugsEndManual: this.activeDictionary.postData.drugsEndManual ? { id: this.activeDictionary.postData.drugsEndManual } : undefined,
216
       drugsEndManual: this.activeDictionary.postData.drugsEndManual ? { id: this.activeDictionary.postData.drugsEndManual } : undefined,
207
       drugsEndPhoto: this.activeDictionary.postData.drugsEndPhoto[0].checked ? 1 : 0,
217
       drugsEndPhoto: this.activeDictionary.postData.drugsEndPhoto[0].checked ? 1 : 0,
208
 			showPatientInfo: this.activeDictionary.postData.showPatientInfo[0].checked ? 1 : 0,
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
     this.btnLoading = true;
222
     this.btnLoading = true;
211
     this.mainService
223
     this.mainService
@@ -301,6 +313,8 @@ export class ConfigurationDrugComponent implements OnInit {
301
           this.activeDictionary.postData.drugsEndManual = this.configs.drugsEndManual ? this.configs.drugsEndManual.id : undefined;
313
           this.activeDictionary.postData.drugsEndManual = this.configs.drugsEndManual ? this.configs.drugsEndManual.id : undefined;
302
           this.activeDictionary.postData.drugsEndPhoto[0].checked = this.configs.drugsEndPhoto == 1;
314
           this.activeDictionary.postData.drugsEndPhoto[0].checked = this.configs.drugsEndPhoto == 1;
303
 					this.activeDictionary.postData.showPatientInfo[0].checked = this.configs.showPatientInfo == 1;
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
       <div>发药科室:{{drugsBag.launch ? drugsBag.launch.dept : ''}}</div>
10
       <div>发药科室:{{drugsBag.launch ? drugsBag.launch.dept : ''}}</div>
11
     </div>
11
     </div>
12
     <div class="content">
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
         <nz-table class="hospitalTable" [nzData]="drugsBugSingleList" nzSize="middle" [nzShowPagination]="false"
15
         <nz-table class="hospitalTable" [nzData]="drugsBugSingleList" nzSize="middle" [nzShowPagination]="false"
16
           [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
16
           [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">

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

@@ -41,7 +41,7 @@
41
         </tbody>
41
         </tbody>
42
       </nz-table>
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
         [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
45
         [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
46
         <thead>
46
         <thead>
47
           <tr class="thead">
47
           <tr class="thead">
@@ -70,8 +70,8 @@
70
             <th nzWidth="5%">序号</th>
70
             <th nzWidth="5%">序号</th>
71
             <th nzWidth="11%">单号</th>
71
             <th nzWidth="11%">单号</th>
72
 						<th nzWidth="10%" *ngIf="configs.showPatientInfo==1">患者信息</th>
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
             <th nzWidth="10%">收取人/交接人</th>
75
             <th nzWidth="10%">收取人/交接人</th>
76
             <!-- <th nzWidth="10%">收取交接人</th> -->
76
             <!-- <th nzWidth="10%">收取交接人</th> -->
77
             <th nzWidth="14%">收取时间</th>
77
             <th nzWidth="14%">收取时间</th>
@@ -81,14 +81,14 @@
81
           </tr>
81
           </tr>
82
         </thead>
82
         </thead>
83
         <tbody>
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
             <td>{{i+1}}</td>
85
             <td>{{i+1}}</td>
86
-            <td>{{ data.packid }}</td>
86
+						<td [ngStyle]="{ 'text-decoration': configs.showDrugsBagDetails == 1 ? 'underline' : '' }">{{ data.packid }}</td>
87
 						<td nz-tooltip [nzTooltipTitle]="data.patientNames" *ngIf="configs.showPatientInfo==1">
87
 						<td nz-tooltip [nzTooltipTitle]="data.patientNames" *ngIf="configs.showPatientInfo==1">
88
 							{{ data.patientNames }}
88
 							{{ data.patientNames }}
89
 						</td>
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
             <td>
92
             <td>
93
 							<ng-container *ngIf="data.startLog">
93
 							<ng-container *ngIf="data.startLog">
94
 								<div>{{data.startLog.username}}</div>
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
   businessDataModalType = ''; //业务数据类型
433
   businessDataModalType = ''; //业务数据类型
434
   infoId = ''; //业务数据id
434
   infoId = ''; //业务数据id
435
   viewDetail(type, id) {
435
   viewDetail(type, id) {
436
+    if(this.configs.showDrugsBagDetails != 1){
437
+      return;
438
+    }
436
     this.infoId = id;
439
     this.infoId = id;
437
     this.businessDataModalType = type;
440
     this.businessDataModalType = type;
438
     this.businessDataModalShow = true;
441
     this.businessDataModalShow = true;

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

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

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

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

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

@@ -384,7 +384,7 @@ export class FuwutaiComponent implements OnInit {
384
     for (const i in this.validateFormZy.controls) {
384
     for (const i in this.validateFormZy.controls) {
385
       this.validateFormZy.controls[i].markAsDirty();
385
       this.validateFormZy.controls[i].markAsDirty();
386
       this.validateFormZy.controls[i].updateValueAndValidity();
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
         // if (this.validateFormZy.controls[i].valid === false && i !== 'goods' && i !== 'patient') {//携带设备非必填
389
         // if (this.validateFormZy.controls[i].valid === false && i !== 'goods' && i !== 'patient') {//携带设备非必填
390
         newOrderShowFlag = false;
390
         newOrderShowFlag = false;
@@ -430,6 +430,7 @@ export class FuwutaiComponent implements OnInit {
430
             patientCode: this.validateFormZy.controls.patient.value,
430
             patientCode: this.validateFormZy.controls.patient.value,
431
           },
431
           },
432
           goods: goods,
432
           goods: goods,
433
+          inspectScore: this.validateFormZy.controls.inspectScore.value ? { id: this.validateFormZy.controls.inspectScore.value } : undefined,
433
           workOrderRemark: this.validateFormZy.controls.workOrderRemarkZy.value,
434
           workOrderRemark: this.validateFormZy.controls.workOrderRemarkZy.value,
434
         },
435
         },
435
       };
436
       };
@@ -480,7 +481,7 @@ export class FuwutaiComponent implements OnInit {
480
     for (const i in this.validateFormZy.controls) {
481
     for (const i in this.validateFormZy.controls) {
481
       this.validateFormZy.controls[i].markAsDirty();
482
       this.validateFormZy.controls[i].markAsDirty();
482
       this.validateFormZy.controls[i].updateValueAndValidity();
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
         // if (this.validateFormZy.controls[i].valid === false && i !== 'goods' && i !== 'patient') {//携带设备非必填
486
         // if (this.validateFormZy.controls[i].valid === false && i !== 'goods' && i !== 'patient') {//携带设备非必填
486
         newOrderShowFlag = false;
487
         newOrderShowFlag = false;
@@ -514,6 +515,7 @@ export class FuwutaiComponent implements OnInit {
514
             patientCode: this.validateFormZy.controls.patient.value,
515
             patientCode: this.validateFormZy.controls.patient.value,
515
           },
516
           },
516
           goods,
517
           goods,
518
+          inspectScore: this.validateFormZy.controls.inspectScore.value ? { id: this.validateFormZy.controls.inspectScore.value } : undefined,
517
           workOrderRemark: this.validateFormZy.controls.workOrderRemarkZy.value,
519
           workOrderRemark: this.validateFormZy.controls.workOrderRemarkZy.value,
518
         },
520
         },
519
       };
521
       };
@@ -950,6 +952,7 @@ export class FuwutaiComponent implements OnInit {
950
       patient: [null, [Validators.required]], //患者信息
952
       patient: [null, [Validators.required]], //患者信息
951
       // patient: [null],//患者信息ca
953
       // patient: [null],//患者信息ca
952
       goods: [null], //携带设备
954
       goods: [null], //携带设备
955
+      inspectScore: [null], //陪检方式
953
       workOrderRemarkZy: [null], //工单备注
956
       workOrderRemarkZy: [null], //工单备注
954
     });
957
     });
955
     //其他
958
     //其他
@@ -2795,6 +2798,7 @@ export class FuwutaiComponent implements OnInit {
2795
     this.endDeptZy = null;
2798
     this.endDeptZy = null;
2796
     this.patientZy = null;
2799
     this.patientZy = null;
2797
     this.goodsNow = [];
2800
     this.goodsNow = [];
2801
+    this.workOrderInspectScore = undefined;
2798
     this.workOrderRemark = "";
2802
     this.workOrderRemark = "";
2799
     this.workOrderRemarkZy = "";
2803
     this.workOrderRemarkZy = "";
2800
     this.deptZyList["startDept"] = [];
2804
     this.deptZyList["startDept"] = [];
@@ -3733,6 +3737,7 @@ export class FuwutaiComponent implements OnInit {
3733
     this.endDeptZy = null;
3737
     this.endDeptZy = null;
3734
     this.patientZy = null;
3738
     this.patientZy = null;
3735
     this.goodsNow = [];
3739
     this.goodsNow = [];
3740
+    this.workOrderInspectScore = undefined;
3736
     // this.patientList = [];
3741
     // this.patientList = [];
3737
     this.workOrderRemark = "";
3742
     this.workOrderRemark = "";
3738
     this.workOrderRemarkZy = "";
3743
     this.workOrderRemarkZy = "";
@@ -4691,7 +4696,6 @@ export class FuwutaiComponent implements OnInit {
4691
     this.linkCheckLisTrue = e.length > 0;
4696
     this.linkCheckLisTrue = e.length > 0;
4692
   }
4697
   }
4693
   // 转运类型选中类型(单选)触发
4698
   // 转运类型选中类型(单选)触发
4694
-  goodsNow; //携带的物品列表
4695
   yyDateZy = null; //预约日期-患者其他服务
4699
   yyDateZy = null; //预约日期-患者其他服务
4696
   yyDate = null; //预约日期-其他临床服务
4700
   yyDate = null; //预约日期-其他临床服务
4697
   yyTimeZy = null; //预约时间-患者其他服务
4701
   yyTimeZy = null; //预约时间-患者其他服务
@@ -4823,24 +4827,42 @@ export class FuwutaiComponent implements OnInit {
4823
     });
4827
     });
4824
     setTimeout(() => {
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
     }, 0)
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
 	psValue:any;
4866
 	psValue:any;
4845
 	taskType:any;
4867
 	taskType:any;
4846
   radioChangeQt(value) {
4868
   radioChangeQt(value) {
@@ -4990,6 +5012,7 @@ export class FuwutaiComponent implements OnInit {
4990
     this.endDeptZy = null;
5012
     this.endDeptZy = null;
4991
     this.patientZy = null;
5013
     this.patientZy = null;
4992
     this.goodsNow = [];
5014
     this.goodsNow = [];
5015
+    this.workOrderInspectScore = undefined;
4993
     this.patientList = [];
5016
     this.patientList = [];
4994
     this.workOrderRemark = "";
5017
     this.workOrderRemark = "";
4995
     this.workOrderRemarkZy = "";
5018
     this.workOrderRemarkZy = "";
@@ -5003,11 +5026,6 @@ export class FuwutaiComponent implements OnInit {
5003
     this.deptQtList["endStatus"] = 0;
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
   openRecallModal(id) {
5031
   openRecallModal(id) {

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

@@ -1544,49 +1544,48 @@
1544
             <nz-form-item *ngIf="checkedShowMsg.status == 100009">
1544
             <nz-form-item *ngIf="checkedShowMsg.status == 100009">
1545
               <div class="txtC">{{ checkedShowMsg.msg }}</div>
1545
               <div class="txtC">{{ checkedShowMsg.msg }}</div>
1546
             </nz-form-item>
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
             <div class="display_flex top16bottom0">
1589
             <div class="display_flex top16bottom0">
1591
               <!-- 自动送回 -->
1590
               <!-- 自动送回 -->
1592
               <nz-form-item class="isRemand" *ngIf="checkedShowMsg.status != 200 && checkedShowMsg.isRemand == 1">
1591
               <nz-form-item class="isRemand" *ngIf="checkedShowMsg.status != 200 && checkedShowMsg.isRemand == 1">
@@ -1596,7 +1595,7 @@
1596
               </nz-form-item>
1595
               </nz-form-item>
1597
               <!-- 是否加急 -->
1596
               <!-- 是否加急 -->
1598
               <nz-form-item nz-row *ngIf="current_allowUrgent" class="allowUrgent">
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
                 <nz-form-control [nzSpan]="6">
1599
                 <nz-form-control [nzSpan]="6">
1601
                   <nz-radio-group [(ngModel)]="allowUrgent" (ngModelChange)="allowUrgentChange($event)" formControlName="allowUrgent">
1600
                   <nz-radio-group [(ngModel)]="allowUrgent" (ngModelChange)="allowUrgentChange($event)" formControlName="allowUrgent">
1602
                     <label nz-radio nzValue="1">是</label>
1601
                     <label nz-radio nzValue="1">是</label>
@@ -1637,12 +1636,22 @@
1637
               </nz-form-item>
1636
               </nz-form-item>
1638
             </ng-container>
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
           </ng-container>
1655
           </ng-container>
1647
         </form>
1656
         </form>
1648
       </div>
1657
       </div>

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

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

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

@@ -2221,6 +2221,7 @@ export class HushijiandanComponent implements OnInit {
2221
             this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.confirmPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
2221
             this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.confirmPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
2222
               this.showPromptModal("创建", true, "");
2222
               this.showPromptModal("创建", true, "");
2223
               this.goodsLis = [];
2223
               this.goodsLis = [];
2224
+              this.workOrderInspectScore = undefined;
2224
               this.getOrderList();
2225
               this.getOrderList();
2225
               this.getDeptTaskType();
2226
               this.getDeptTaskType();
2226
               this.getTodayNum();
2227
               this.getTodayNum();
@@ -2228,6 +2229,7 @@ export class HushijiandanComponent implements OnInit {
2228
           }else{
2229
           }else{
2229
             this.showPromptModal("创建", true, "");
2230
             this.showPromptModal("创建", true, "");
2230
             this.goodsLis = [];
2231
             this.goodsLis = [];
2232
+            this.workOrderInspectScore = undefined;
2231
             this.getOrderList();
2233
             this.getOrderList();
2232
             this.getDeptTaskType();
2234
             this.getDeptTaskType();
2233
             this.getTodayNum();
2235
             this.getTodayNum();
@@ -2261,7 +2263,6 @@ export class HushijiandanComponent implements OnInit {
2261
   checkTypeLis: any = [];
2263
   checkTypeLis: any = [];
2262
   // 患者信息一键建单关联检查
2264
   // 患者信息一键建单关联检查
2263
   linkCheckLis: any = [];
2265
   linkCheckLis: any = [];
2264
-  goodsLis: any = []; //携带设备
2265
   isRemarks: boolean = false; //是否开启备注信息
2266
   isRemarks: boolean = false; //是否开启备注信息
2266
   allowUrgent: any = "0"; //加急
2267
   allowUrgent: any = "0"; //加急
2267
   urgentReason: any = ""; //加急原因
2268
   urgentReason: any = ""; //加急原因
@@ -2272,6 +2273,7 @@ export class HushijiandanComponent implements OnInit {
2272
     this.patientForm = this.fb.group({
2273
     this.patientForm = this.fb.group({
2273
       checkedType: [null, [Validators.required]],
2274
       checkedType: [null, [Validators.required]],
2274
       goods: [null],
2275
       goods: [null],
2276
+      inspectScore: [null],
2275
       workOrderRemark2: [null],
2277
       workOrderRemark2: [null],
2276
       linkCheck: [null, []],
2278
       linkCheck: [null, []],
2277
       targetOffice: [null, [this.targetOfficeValidator]],
2279
       targetOffice: [null, [this.targetOfficeValidator]],
@@ -2776,6 +2778,11 @@ export class HushijiandanComponent implements OnInit {
2776
       goods = goods.slice(0, goods.length - 1);
2778
       goods = goods.slice(0, goods.length - 1);
2777
     }
2779
     }
2778
     postData.workOrder["goods"] = goods;
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
     postData.workOrder["workOrderRemark"] = that.workOrderRemark2 || '';
2787
     postData.workOrder["workOrderRemark"] = that.workOrderRemark2 || '';
2781
     if (!yuyue && that.current_allowUrgent && this.allowUrgent == 1) {
2788
     if (!yuyue && that.current_allowUrgent && this.allowUrgent == 1) {
@@ -2864,6 +2871,7 @@ export class HushijiandanComponent implements OnInit {
2864
                 this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: postData.workOrder.patient.patientCode}).subscribe((resultData) => {
2871
                 this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: postData.workOrder.patient.patientCode}).subscribe((resultData) => {
2865
                   this.showPromptModal("创建", true, "");
2872
                   this.showPromptModal("创建", true, "");
2866
                   this.goodsLis = [];
2873
                   this.goodsLis = [];
2874
+                  this.workOrderInspectScore = undefined;
2867
                   this.getOrderList();
2875
                   this.getOrderList();
2868
                   this.getDeptTaskType();
2876
                   this.getDeptTaskType();
2869
                   this.getTodayNum();
2877
                   this.getTodayNum();
@@ -2871,6 +2879,7 @@ export class HushijiandanComponent implements OnInit {
2871
               }else{
2879
               }else{
2872
                 this.showPromptModal("创建", true, "");
2880
                 this.showPromptModal("创建", true, "");
2873
                 this.goodsLis = [];
2881
                 this.goodsLis = [];
2882
+                this.workOrderInspectScore = undefined;
2874
                 this.getOrderList();
2883
                 this.getOrderList();
2875
                 this.getDeptTaskType();
2884
                 this.getDeptTaskType();
2876
                 this.getTodayNum();
2885
                 this.getTodayNum();
@@ -2928,6 +2937,7 @@ export class HushijiandanComponent implements OnInit {
2928
               this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
2937
               this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
2929
                 this.showPromptModal("创建", true, "");
2938
                 this.showPromptModal("创建", true, "");
2930
                 this.goodsLis = [];
2939
                 this.goodsLis = [];
2940
+                this.workOrderInspectScore = undefined;
2931
                 this.getOrderList();
2941
                 this.getOrderList();
2932
                 this.getDeptTaskType();
2942
                 this.getDeptTaskType();
2933
                 this.getTodayNum();
2943
                 this.getTodayNum();
@@ -2935,6 +2945,7 @@ export class HushijiandanComponent implements OnInit {
2935
             }else{
2945
             }else{
2936
               this.showPromptModal("创建", true, "");
2946
               this.showPromptModal("创建", true, "");
2937
               this.goodsLis = [];
2947
               this.goodsLis = [];
2948
+              this.workOrderInspectScore = undefined;
2938
               this.getOrderList();
2949
               this.getOrderList();
2939
               this.getDeptTaskType();
2950
               this.getDeptTaskType();
2940
               this.getTodayNum();
2951
               this.getTodayNum();
@@ -2980,6 +2991,7 @@ export class HushijiandanComponent implements OnInit {
2980
               this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
2991
               this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
2981
                 this.showPromptModal("创建", true, "");
2992
                 this.showPromptModal("创建", true, "");
2982
                 this.goodsLis = [];
2993
                 this.goodsLis = [];
2994
+                this.workOrderInspectScore = undefined;
2983
                 this.getOrderList();
2995
                 this.getOrderList();
2984
                 this.getDeptTaskType();
2996
                 this.getDeptTaskType();
2985
                 this.getTodayNum();
2997
                 this.getTodayNum();
@@ -2987,6 +2999,7 @@ export class HushijiandanComponent implements OnInit {
2987
             }else{
2999
             }else{
2988
               this.showPromptModal("创建", true, "");
3000
               this.showPromptModal("创建", true, "");
2989
               this.goodsLis = [];
3001
               this.goodsLis = [];
3002
+              this.workOrderInspectScore = undefined;
2990
               this.getOrderList();
3003
               this.getOrderList();
2991
               this.getDeptTaskType();
3004
               this.getDeptTaskType();
2992
               this.getTodayNum();
3005
               this.getTodayNum();
@@ -3042,6 +3055,7 @@ export class HushijiandanComponent implements OnInit {
3042
                 this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
3055
                 this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
3043
                   this.showPromptModal("创建", true, "");
3056
                   this.showPromptModal("创建", true, "");
3044
                   this.goodsLis = [];
3057
                   this.goodsLis = [];
3058
+                  this.workOrderInspectScore = undefined;
3045
                   this.getOrderList();
3059
                   this.getOrderList();
3046
                   this.getDeptTaskType();
3060
                   this.getDeptTaskType();
3047
                   this.getTodayNum();
3061
                   this.getTodayNum();
@@ -3049,6 +3063,7 @@ export class HushijiandanComponent implements OnInit {
3049
               }else{
3063
               }else{
3050
                 this.showPromptModal("创建", true, "");
3064
                 this.showPromptModal("创建", true, "");
3051
                 this.goodsLis = [];
3065
                 this.goodsLis = [];
3066
+                this.workOrderInspectScore = undefined;
3052
                 this.getOrderList();
3067
                 this.getOrderList();
3053
                 this.getDeptTaskType();
3068
                 this.getDeptTaskType();
3054
                 this.getTodayNum();
3069
                 this.getTodayNum();
@@ -3094,6 +3109,7 @@ export class HushijiandanComponent implements OnInit {
3094
                 this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
3109
                 this.mainService.postCustom("api", "clearPatientRecoveryDept", {patientCode: this.accompanyPostData.workOrder.patient.patientCode}).subscribe((resultData) => {
3095
                   this.showPromptModal("创建", true, "");
3110
                   this.showPromptModal("创建", true, "");
3096
                   this.goodsLis = [];
3111
                   this.goodsLis = [];
3112
+                  this.workOrderInspectScore = undefined;
3097
                   this.getOrderList();
3113
                   this.getOrderList();
3098
                   this.getDeptTaskType();
3114
                   this.getDeptTaskType();
3099
                   this.getTodayNum();
3115
                   this.getTodayNum();
@@ -3101,6 +3117,7 @@ export class HushijiandanComponent implements OnInit {
3101
               }else{
3117
               }else{
3102
                 this.showPromptModal("创建", true, "");
3118
                 this.showPromptModal("创建", true, "");
3103
                 this.goodsLis = [];
3119
                 this.goodsLis = [];
3120
+                this.workOrderInspectScore = undefined;
3104
                 this.getOrderList();
3121
                 this.getOrderList();
3105
                 this.getDeptTaskType();
3122
                 this.getDeptTaskType();
3106
                 this.getTodayNum();
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
   checkedShowMsg: any = {}; //患者送检检查项目对应展示信息
3176
   checkedShowMsg: any = {}; //患者送检检查项目对应展示信息
3129
   current_allowUrgent = false; //当前任务类型是否允许加急
3177
   current_allowUrgent = false; //当前任务类型是否允许加急
@@ -3218,17 +3266,12 @@ export class HushijiandanComponent implements OnInit {
3218
           that.isRemand = data.isRemand == 1 ? true : false;
3266
           that.isRemand = data.isRemand == 1 ? true : false;
3219
         }
3267
         }
3220
         that.goodsLis = [];
3268
         that.goodsLis = [];
3269
+        that.workOrderInspectScore = undefined;
3221
         that.allowUrgent = "0"; //加急
3270
         that.allowUrgent = "0"; //加急
3222
         that.urgentReason = ""; //加急原因
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
         // 工单备注配置 start
3275
         // 工单备注配置 start
3233
         that.isRemarks = data.remarksSwitch == 1;
3276
         that.isRemarks = data.remarksSwitch == 1;
3234
         if (data.remarksSwitch == 1) {
3277
         if (data.remarksSwitch == 1) {
@@ -3949,6 +3992,7 @@ export class HushijiandanComponent implements OnInit {
3949
       if (data.status == 200) {
3992
       if (data.status == 200) {
3950
         this.showPromptModal("创建", true, "");
3993
         this.showPromptModal("创建", true, "");
3951
         this.goodsLis = [];
3994
         this.goodsLis = [];
3995
+        this.workOrderInspectScore = undefined;
3952
         this.getOrderList();
3996
         this.getOrderList();
3953
         this.getDeptTaskType();
3997
         this.getDeptTaskType();
3954
         this.getTodayNum();
3998
         this.getTodayNum();
@@ -3963,6 +4007,7 @@ export class HushijiandanComponent implements OnInit {
3963
       if (data.status == 200) {
4007
       if (data.status == 200) {
3964
         this.showPromptModal("创建", true, "");
4008
         this.showPromptModal("创建", true, "");
3965
         this.goodsLis = [];
4009
         this.goodsLis = [];
4010
+        this.workOrderInspectScore = undefined;
3966
         this.getOrderList();
4011
         this.getOrderList();
3967
         this.getDeptTaskType();
4012
         this.getDeptTaskType();
3968
         this.getTodayNum();
4013
         this.getTodayNum();
@@ -3977,6 +4022,7 @@ export class HushijiandanComponent implements OnInit {
3977
       if (data.status == 200) {
4022
       if (data.status == 200) {
3978
         this.showPromptModal("创建", true, "");
4023
         this.showPromptModal("创建", true, "");
3979
         this.goodsLis = [];
4024
         this.goodsLis = [];
4025
+        this.workOrderInspectScore = undefined;
3980
         this.getOrderList();
4026
         this.getOrderList();
3981
         this.getDeptTaskType();
4027
         this.getDeptTaskType();
3982
         this.getTodayNum();
4028
         this.getTodayNum();
@@ -3991,6 +4037,7 @@ export class HushijiandanComponent implements OnInit {
3991
       if (data.status == 200) {
4037
       if (data.status == 200) {
3992
         this.showPromptModal("创建", true, "");
4038
         this.showPromptModal("创建", true, "");
3993
         this.goodsLis = [];
4039
         this.goodsLis = [];
4040
+        this.workOrderInspectScore = undefined;
3994
         this.getOrderList();
4041
         this.getOrderList();
3995
         this.getDeptTaskType();
4042
         this.getDeptTaskType();
3996
         this.getTodayNum();
4043
         this.getTodayNum();
@@ -4005,6 +4052,7 @@ export class HushijiandanComponent implements OnInit {
4005
       if (data.status == 200) {
4052
       if (data.status == 200) {
4006
         this.showPromptModal("创建", true, "");
4053
         this.showPromptModal("创建", true, "");
4007
         this.goodsLis = [];
4054
         this.goodsLis = [];
4055
+        this.workOrderInspectScore = undefined;
4008
         this.getOrderList();
4056
         this.getOrderList();
4009
         this.getDeptTaskType();
4057
         this.getDeptTaskType();
4010
         this.getTodayNum();
4058
         this.getTodayNum();
@@ -4019,6 +4067,7 @@ export class HushijiandanComponent implements OnInit {
4019
       if (data.status == 200) {
4067
       if (data.status == 200) {
4020
         this.showPromptModal("创建", true, "");
4068
         this.showPromptModal("创建", true, "");
4021
         this.goodsLis = [];
4069
         this.goodsLis = [];
4070
+        this.workOrderInspectScore = undefined;
4022
         this.getOrderList();
4071
         this.getOrderList();
4023
         this.getDeptTaskType();
4072
         this.getDeptTaskType();
4024
         this.getTodayNum();
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
           <nz-form-label class="label">隐藏陪检小扫描</nz-form-label>
147
           <nz-form-label class="label">隐藏陪检小扫描</nz-form-label>
148
           <nz-checkbox-group [(ngModel)]="hideInspectScan"></nz-checkbox-group>
148
           <nz-checkbox-group [(ngModel)]="hideInspectScan"></nz-checkbox-group>
149
         </div>
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
         <!-- <div class="display_flex align-items_center mb8">
161
         <!-- <div class="display_flex align-items_center mb8">
152
           <nz-form-label class="label">检查预约不进行工单合并</nz-form-label>
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
   hideInspectScan:any[] = [
84
   hideInspectScan:any[] = [
85
     {label:'是否开启',value: 0}
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
   // yyInspectMergeOrder:any[] = [
96
   // yyInspectMergeOrder:any[] = [
89
   //   {label:'是否开启',value: 0}
97
   //   {label:'是否开启',value: 0}
@@ -282,6 +290,8 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
282
       batchSignExecutionParent: this.batchSignExecutionParent[0].checked ? 1 : 0,
290
       batchSignExecutionParent: this.batchSignExecutionParent[0].checked ? 1 : 0,
283
       batchSignEndParent: this.batchSignEndParent[0].checked ? 1 : 0,
291
       batchSignEndParent: this.batchSignEndParent[0].checked ? 1 : 0,
284
       hideInspectScan: this.hideInspectScan[0].checked ? 1 : 0,
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
       // yyInspectMergeOrder: this.yyInspectMergeOrder[0].checked ? 1 : 0,
295
       // yyInspectMergeOrder: this.yyInspectMergeOrder[0].checked ? 1 : 0,
286
       addService: this.addService[0].checked ? 1 : 0,
296
       addService: this.addService[0].checked ? 1 : 0,
287
       addServiceTaskIds: this.addServiceTaskIds.length ? this.addServiceTaskIds.toString() : undefined,
297
       addServiceTaskIds: this.addServiceTaskIds.length ? this.addServiceTaskIds.toString() : undefined,
@@ -410,6 +420,8 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
410
           this.batchSignExecutionParent[0].checked = this.configs.batchSignExecutionParent == 1;
420
           this.batchSignExecutionParent[0].checked = this.configs.batchSignExecutionParent == 1;
411
           this.batchSignEndParent[0].checked = this.configs.batchSignEndParent == 1;
421
           this.batchSignEndParent[0].checked = this.configs.batchSignEndParent == 1;
412
           this.hideInspectScan[0].checked = this.configs.hideInspectScan == 1;
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
           // this.yyInspectMergeOrder[0].checked = this.configs.yyInspectMergeOrder == 1;
425
           // this.yyInspectMergeOrder[0].checked = this.configs.yyInspectMergeOrder == 1;
414
           this.addService[0].checked = this.configs.addService == 1;
426
           this.addService[0].checked = this.configs.addService == 1;
415
           this.addServiceTaskIds = this.configs.addServiceTaskIds ? this.configs.addServiceTaskIds.split(',').map(v => +v) : [];
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
         <th nzWidth="14%">科室信息</th>
55
         <th nzWidth="14%">科室信息</th>
56
         <th nzWidth="14%">患者信息</th>
56
         <th nzWidth="14%">患者信息</th>
57
         <th nzWidth="14%">护理信息</th>
57
         <th nzWidth="14%">护理信息</th>
58
-        <th nzWidth="14%">出行方式</th>
58
+        <th nzWidth="14%">陪检方式</th>
59
         <th nzWidth="16%">检查项目</th>
59
         <th nzWidth="16%">检查项目</th>
60
         <th nzWidth="14%">签到信息</th>
60
         <th nzWidth="14%">签到信息</th>
61
         <th nzWidth="14%">状态</th>
61
         <th nzWidth="14%">状态</th>

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

@@ -36,7 +36,7 @@
36
           <i class="icon_transport transport-tongji-2 green" *ngIf="newStatisticsRole" (click)="toNewStatistics()" nz-tooltip nzTooltipTitle="统计"></i>
36
           <i class="icon_transport transport-tongji-2 green" *ngIf="newStatisticsRole" (click)="toNewStatistics()" nz-tooltip nzTooltipTitle="统计"></i>
37
           <i class="icon_transport transport-shangban green" *ngIf='PCCommutesToWork && userInfo.user && !userInfo.user.online' (click)="GoWork()" nz-tooltip nzTooltipTitle="我要上班"></i>
37
           <i class="icon_transport transport-shangban green" *ngIf='PCCommutesToWork && userInfo.user && !userInfo.user.online' (click)="GoWork()" nz-tooltip nzTooltipTitle="我要上班"></i>
38
           <i class="icon_transport transport-shangban green" *ngIf='PCCommutesToWork && userInfo.user && userInfo.user.online' (click)="GoWork()" nz-tooltip nzTooltipTitle="我要下班"></i>
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
             <i class="icon_transport transport-gengduoda-copy" (mouseenter)="showDropdown1 = true" (mouseleave)="showDropdown1 = false"></i>
40
             <i class="icon_transport transport-gengduoda-copy" (mouseenter)="showDropdown1 = true" (mouseleave)="showDropdown1 = false"></i>
41
             <div class="dropdown-content ct" [hidden]="!showDropdown1" (mouseenter)="showDropdown1 = true" (mouseleave)="showDropdown1 = false">
41
             <div class="dropdown-content ct" [hidden]="!showDropdown1" (mouseenter)="showDropdown1 = true" (mouseleave)="showDropdown1 = false">
42
               <div class="dropdownItem" *ngIf="pharmacyRole" (click)="toPharmacy()">药房端</div>
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
   <ng-container *ngIf="activeTagLink === 'incidentConfigHospital'">
12
   <ng-container *ngIf="activeTagLink === 'incidentConfigHospital'">
13
     <app-configuration-distribution-hospital [hospitalTabList]="hospitalTabList"></app-configuration-distribution-hospital>
13
     <app-configuration-distribution-hospital [hospitalTabList]="hospitalTabList"></app-configuration-distribution-hospital>
14
   </ng-container>
14
   </ng-container>
15
+  <!-- 数据字典 -->
16
+  <ng-container *ngIf="activeTagLink === 'nurseDictionary'">
17
+    <app-configuration-dictionary [dictionaryKeyList]="dictionaryKeyList"></app-configuration-dictionary>
18
+  </ng-container>
15
 </div>
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
     // { id: 1, name: '快捷按钮配置',},
16
     // { id: 1, name: '快捷按钮配置',},
17
   ];
17
   ];
18
 
18
 
19
+  // 数据字典
20
+  dictionaryKeyList:any[] = [
21
+    { id: 1, name: '携带设备', key: "goods"},
22
+  ]
23
+
19
   // 院区配置
24
   // 院区配置
20
   hospitalTabList:any[] = [
25
   hospitalTabList:any[] = [
21
     { id: 2, name: '评价', key: "evaluate"}
26
     { id: 2, name: '评价', key: "evaluate"}
22
   ]
27
   ]
23
-	
28
+
24
   ngOnInit(): void {}
29
   ngOnInit(): void {}
25
 
30
 
26
   ngAfterViewInit(){
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
 import { NurseConfigComponent } from './nurse-config.component';
5
 import { NurseConfigComponent } from './nurse-config.component';
6
 import { ShareModule } from 'src/app/share/share.module';
6
 import { ShareModule } from 'src/app/share/share.module';
7
 import { ConfigurationDistributionHospitalComponent } from 'src/app/components/configurationCenter/configuration-distribution-hospital/configuration-distribution-hospital.component';
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
 @NgModule({
10
 @NgModule({
11
   declarations: [
11
   declarations: [
@@ -16,6 +16,7 @@ import { ConfigurationDistributionHospitalComponent } from 'src/app/components/c
16
     CommonModule,
16
     CommonModule,
17
     NurseConfigRoutingModule,
17
     NurseConfigRoutingModule,
18
     ShareModule,
18
     ShareModule,
19
+    ConfigurationDictionaryModule,
19
   ]
20
   ]
20
 })
21
 })
21
 export class NurseConfigModule { }
22
 export class NurseConfigModule { }

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

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

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

@@ -144,7 +144,7 @@
144
         </div>
144
         </div>
145
         <div class="mb8 w100">
145
         <div class="mb8 w100">
146
           <nz-form-label class="label" nzRequired>{{(association.value == 'inspect' || association.value == 'patientTransport') ? '是否需要注意事项' : '是否需要备注信息'}}</nz-form-label>
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
             <label nz-radio nzValue='1'>是</label>
148
             <label nz-radio nzValue='1'>是</label>
149
             <label nz-radio nzValue='0'>否</label>
149
             <label nz-radio nzValue='0'>否</label>
150
           </nz-radio-group>
150
           </nz-radio-group>
@@ -277,10 +277,6 @@
277
           <nz-time-picker [(ngModel)]="reserveDate" nzFormat="HH:mm" class="mr8"></nz-time-picker>
277
           <nz-time-picker [(ngModel)]="reserveDate" nzFormat="HH:mm" class="mr8"></nz-time-picker>
278
           <input nz-input style="width: 300px;" class="handlerType" [(ngModel)]="reserveMsg" placeholder="请填写超出时间提示用语" nzSize="default" />
278
           <input nz-input style="width: 300px;" class="handlerType" [(ngModel)]="reserveMsg" placeholder="请填写超出时间提示用语" nzSize="default" />
279
         </div> -->
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
         <div nz-row class="mb8 display_flex align-items_center">
280
         <div nz-row class="mb8 display_flex align-items_center">
285
           <nz-form-label class="label">急单权重</nz-form-label>
281
           <nz-form-label class="label">急单权重</nz-form-label>
286
           <input nz-input type="number" class="flex_1" [(ngModel)]="urgeWeight" placeholder="请填写急单权重" nzSize="default" />
282
           <input nz-input type="number" class="flex_1" [(ngModel)]="urgeWeight" placeholder="请填写急单权重" nzSize="default" />
@@ -1260,7 +1256,7 @@
1260
         <div>
1256
         <div>
1261
           <nz-form-label class="label" nzRequired>固定科室</nz-form-label>
1257
           <nz-form-label class="label" nzRequired>固定科室</nz-form-label>
1262
           <nz-select class="mb8 w100" [nzMode]="'multiple'" [nzDropdownMatchSelectWidth]="false" nzShowSearch
1258
           <nz-select class="mb8 w100" [nzMode]="'multiple'" [nzDropdownMatchSelectWidth]="false" nzShowSearch
1263
-            nzAllowClear nzPlaceHolder="请选择固定科室" nzShowSearch 
1259
+            nzAllowClear nzPlaceHolder="请选择固定科室" nzShowSearch
1264
 
1260
 
1265
              [(ngModel)]="departments">
1261
              [(ngModel)]="departments">
1266
             <ng-container *ngFor="let data of courseListDataAll">
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
   allRelatedBusiness: Array<any>; //关联业务
82
   allRelatedBusiness: Array<any>; //关联业务
83
   allTaskType = []; //任务类型列表
83
   allTaskType = []; //任务类型列表
84
   allTaskTypeShow; //任务类型列表选择标识
84
   allTaskTypeShow; //任务类型列表选择标识
85
-  allGoods: Array<any>; //携带设备
86
   allScheduleClass; //班次列表
85
   allScheduleClass; //班次列表
87
   //基础信息详情字段
86
   //基础信息详情字段
88
   taskName; //任务名称
87
   taskName; //任务名称
@@ -103,7 +102,6 @@ export class TaskTypeManagementComponent implements OnInit {
103
     value: "",
102
     value: "",
104
   }; //关联业务
103
   }; //关联业务
105
   simultaneousNumber; //同时接单数
104
   simultaneousNumber; //同时接单数
106
-  carryEquipmentIds; //携带设备
107
   allowUrgent = "1"; //是否加急
105
   allowUrgent = "1"; //是否加急
108
   urgentAudit = "0"; //加急是否审核
106
   urgentAudit = "0"; //加急是否审核
109
   autoFlag = "0"; //调度台是否可以新建工单
107
   autoFlag = "0"; //调度台是否可以新建工单
@@ -333,7 +331,7 @@ export class TaskTypeManagementComponent implements OnInit {
333
     this.getAllAssociation(); // 获取所有关联类型
331
     this.getAllAssociation(); // 获取所有关联类型
334
     this.getallStatisticsDateType(); // 获取统计分类
332
     this.getallStatisticsDateType(); // 获取统计分类
335
     this.getAllRelatedBusiness(); // 获取所有关联业务
333
     this.getAllRelatedBusiness(); // 获取所有关联业务
336
-    this.getAllGoods(); //获取携带设备
334
+    // this.getAllGoods(); //获取携带设备
337
     this.getAllScheduleClass(); //获取班次列表
335
     this.getAllScheduleClass(); //获取班次列表
338
     this.getAllTaskType(); //任务类型列表
336
     this.getAllTaskType(); //任务类型列表
339
     this.getSearchTaskList(); //任务类型列表,可搜索
337
     this.getSearchTaskList(); //任务类型列表,可搜索
@@ -341,25 +339,25 @@ export class TaskTypeManagementComponent implements OnInit {
341
     this.getReserveType(); //获取是否限制业务发起时间-字典
339
     this.getReserveType(); //获取是否限制业务发起时间-字典
342
 		this.changeInp("")
340
 		this.changeInp("")
343
   }
341
   }
344
-	
342
+
345
 	handleChange($event: ColorEvent){
343
 	handleChange($event: ColorEvent){
346
 		console.log($event.color)
344
 		console.log($event.color)
347
 		this.colorConfig.hex = $event.color.hex
345
 		this.colorConfig.hex = $event.color.hex
348
 	}
346
 	}
349
-	
347
+
350
 	showSketch(){
348
 	showSketch(){
351
 		this.colorShow = true
349
 		this.colorShow = true
352
 	}
350
 	}
353
-	
351
+
354
 	hideColorModal(){
352
 	hideColorModal(){
355
 		this.colorConfig.hex = '#333'
353
 		this.colorConfig.hex = '#333'
356
 		this.colorShow = false
354
 		this.colorShow = false
357
 	}
355
 	}
358
-	
356
+
359
 	submitFormColor(){
357
 	submitFormColor(){
360
 		this.colorShow = false
358
 		this.colorShow = false
361
 	}
359
 	}
362
-	
360
+
363
   // 搜索科室
361
   // 搜索科室
364
   optionList = [];
362
   optionList = [];
365
   isLoading = false;
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
   // logs(value, data): void {}
761
   // logs(value, data): void {}
774
   //急查多选
762
   //急查多选
@@ -938,24 +926,6 @@ export class TaskTypeManagementComponent implements OnInit {
938
       this.getCourseList(this.pageSize);
926
       this.getCourseList(this.pageSize);
939
     }
927
     }
940
     // this.simultaneousNumber = data.simultaneousNumber;
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
     this.scheduleClassChecked = [];
930
     this.scheduleClassChecked = [];
961
     this.autoClass = [];
931
     this.autoClass = [];
@@ -1264,18 +1234,6 @@ export class TaskTypeManagementComponent implements OnInit {
1264
     this.taskData.taskType["integralDetailedRules"] =
1234
     this.taskData.taskType["integralDetailedRules"] =
1265
       this.integralDetailedRulesData;
1235
       this.integralDetailedRulesData;
1266
     this.taskData.taskType["carryingCourses"] = this.carryingCourses;
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
     if (this.allScheduleClass.length > 0) {
1238
     if (this.allScheduleClass.length > 0) {
1281
       this.taskData.taskType["classesIds"] = [];
1239
       this.taskData.taskType["classesIds"] = [];
@@ -1545,7 +1503,7 @@ export class TaskTypeManagementComponent implements OnInit {
1545
       id: null,
1503
       id: null,
1546
       value: "",
1504
       value: "",
1547
     }; //关联类型
1505
     }; //关联类型
1548
-    this.getAllGoods(); //获取携带设备
1506
+    // this.getAllGoods(); //获取携带设备
1549
     this.getAllScheduleClass(); //获取班次列表
1507
     this.getAllScheduleClass(); //获取班次列表
1550
     this.allowUrgent = "1"; //是否加急
1508
     this.allowUrgent = "1"; //是否加急
1551
     this.urgentAudit = "0"; //加急是否审核
1509
     this.urgentAudit = "0"; //加急是否审核
@@ -2776,15 +2734,6 @@ export class TaskTypeManagementComponent implements OnInit {
2776
     }, 100);
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
    isReserveUserSwitchChange(){
2738
    isReserveUserSwitchChange(){
2790
     if(this.reserveUserSwitch == '1'){
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>