Parcourir la source

陪检页面控制

seimin il y a 3 mois
Parent
commit
8586f81715

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

@@ -117,6 +117,22 @@
117 117
           <nz-checkbox-group [(ngModel)]="isThirdEmergencyPatient"></nz-checkbox-group>
118 118
         </div>
119 119
 
120
+        <!-- 批量建立送回 -->
121
+        <div class="display_flex align-items_center mb8">
122
+          <nz-form-label class="label">批量建立送回</nz-form-label>
123
+          <nz-checkbox-group [(ngModel)]="batchCreationAndReturn"></nz-checkbox-group>
124
+        </div>
125
+        <!-- 配置执行中扫科室批量签到 -->
126
+        <div class="display_flex align-items_center mb8">
127
+          <nz-form-label class="label">配置执行中扫科室批量签到</nz-form-label>
128
+          <nz-checkbox-group [(ngModel)]="batchSignExecutionDept"></nz-checkbox-group>
129
+        </div>
130
+        <!-- 终点科室扫科室批量签到 -->
131
+        <div class="display_flex align-items_center mb8">
132
+          <nz-form-label class="label">终点科室扫科室批量签到</nz-form-label>
133
+          <nz-checkbox-group [(ngModel)]="batchSignEndDept"></nz-checkbox-group>
134
+        </div>
135
+
120 136
         <!-- 自动关单 -->
121 137
         <!-- <div class="display_flex align-items_center mb8">
122 138
           <nz-form-label class="label">自动关单</nz-form-label>

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

@@ -58,6 +58,21 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
58 58
   isThirdEmergencyPatient:any[] = [
59 59
     {label:'是否开启',value: 0}
60 60
   ];
61
+  // 批量建立送回
62
+  batchCreationAndReturn:any[] = [
63
+    {label:'是否开启',value: 0}
64
+  ];
65
+
66
+  // 配置执行中扫科室批量签到
67
+  batchSignExecutionDept:any[] = [
68
+    {label:'是否开启',value: 0}
69
+  ];
70
+
71
+  // 批量建立送回
72
+  batchSignEndDept:any[] = [
73
+    {label:'是否开启',value: 0}
74
+  ];
75
+
61 76
 
62 77
 
63 78
   timeMod:any;
@@ -231,6 +246,9 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
231 246
       finishService: this.finishService[0].checked ? 1 : 0,
232 247
       isThirdOutpatient: this.isThirdOutpatient[0].checked ? 1 : 0,
233 248
       isThirdEmergencyPatient: this.isThirdEmergencyPatient[0].checked ? 1 : 0,
249
+      batchCreationAndReturn: this.batchCreationAndReturn[0].checked ? 1 : 0,
250
+      batchSignExecutionDept: this.batchSignExecutionDept[0].checked ? 1 : 0,
251
+      batchSignEndDept: this.batchSignEndDept[0].checked ? 1 : 0,
234 252
       addService: this.addService[0].checked ? 1 : 0,
235 253
       addServiceTaskIds: this.addServiceTaskIds.length ? this.addServiceTaskIds.toString() : undefined,
236 254
 
@@ -352,6 +370,9 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
352 370
           this.finishService[0].checked = this.configs.finishService == 1;
353 371
           this.isThirdOutpatient[0].checked = this.configs.isThirdOutpatient == 1;
354 372
           this.isThirdEmergencyPatient[0].checked = this.configs.isThirdEmergencyPatient == 1;
373
+          this.batchCreationAndReturn[0].checked = this.configs.batchCreationAndReturn == 1;
374
+          this.batchSignExecutionDept[0].checked = this.configs.batchSignExecutionDept == 1;
375
+          this.batchSignEndDept[0].checked = this.configs.batchSignEndDept == 1;
355 376
           this.addService[0].checked = this.configs.addService == 1;
356 377
           this.addServiceTaskIds = this.configs.addServiceTaskIds ? this.configs.addServiceTaskIds.split(',').map(v => +v) : [];
357 378