Browse Source

患者是否第三方接入

seimin 11 months ago
parent
commit
d61d3d33cb

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

@@ -105,6 +105,12 @@
105
           <span class="red">(请选择起点科室为固定科室,终点科室为固定科室的任务类型)</span>
105
           <span class="red">(请选择起点科室为固定科室,终点科室为固定科室的任务类型)</span>
106
         </div>
106
         </div>
107
 
107
 
108
+        <!-- 患者是否第三方接入 -->
109
+        <div class="display_flex align-items_center mb8">
110
+          <nz-form-label class="label">患者是否第三方接入</nz-form-label>
111
+          <nz-checkbox-group [(ngModel)]="isThirdOutpatient"></nz-checkbox-group>
112
+        </div>
113
+
108
         <!-- 自动关单 -->
114
         <!-- 自动关单 -->
109
         <!-- <div class="display_flex align-items_center mb8">
115
         <!-- <div class="display_flex align-items_center mb8">
110
           <nz-form-label class="label">自动关单</nz-form-label>
116
           <nz-form-label class="label">自动关单</nz-form-label>

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

@@ -50,6 +50,10 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
50
   addService:any[] = [
50
   addService:any[] = [
51
     {label:'是否开启',value: 0}
51
     {label:'是否开启',value: 0}
52
   ];
52
   ];
53
+  // 患者是否第三方接入
54
+  isThirdOutpatient:any[] = [
55
+    {label:'是否开启',value: 0}
56
+  ];
53
 
57
 
54
 
58
 
55
   timeMod:any;
59
   timeMod:any;
@@ -221,6 +225,7 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
221
       endShowAnotherService: this.endShowAnotherService[0].checked ? 1 : 0,
225
       endShowAnotherService: this.endShowAnotherService[0].checked ? 1 : 0,
222
       handoverOrder: this.handoverOrder[0].checked ? 1 : 0,
226
       handoverOrder: this.handoverOrder[0].checked ? 1 : 0,
223
       finishService: this.finishService[0].checked ? 1 : 0,
227
       finishService: this.finishService[0].checked ? 1 : 0,
228
+      isThirdOutpatient: this.isThirdOutpatient[0].checked ? 1 : 0,
224
       addService: this.addService[0].checked ? 1 : 0,
229
       addService: this.addService[0].checked ? 1 : 0,
225
       addServiceTaskIds: this.addServiceTaskIds.length ? this.addServiceTaskIds.toString() : undefined,
230
       addServiceTaskIds: this.addServiceTaskIds.length ? this.addServiceTaskIds.toString() : undefined,
226
 
231
 
@@ -340,6 +345,7 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
340
           this.endShowAnotherService[0].checked = this.configs.endShowAnotherService == 1;
345
           this.endShowAnotherService[0].checked = this.configs.endShowAnotherService == 1;
341
           this.handoverOrder[0].checked = this.configs.handoverOrder == 1;
346
           this.handoverOrder[0].checked = this.configs.handoverOrder == 1;
342
           this.finishService[0].checked = this.configs.finishService == 1;
347
           this.finishService[0].checked = this.configs.finishService == 1;
348
+          this.isThirdOutpatient[0].checked = this.configs.isThirdOutpatient == 1;
343
           this.addService[0].checked = this.configs.addService == 1;
349
           this.addService[0].checked = this.configs.addService == 1;
344
           this.addServiceTaskIds = this.configs.addServiceTaskIds ? this.configs.addServiceTaskIds.split(',').map(v => +v) : [];
350
           this.addServiceTaskIds = this.configs.addServiceTaskIds ? this.configs.addServiceTaskIds.split(',').map(v => +v) : [];
345
 
351