浏览代码

患者是否第三方接入

seimin 11 月之前
父节点
当前提交
d61d3d33cb

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

@@ -105,6 +105,12 @@
105 105
           <span class="red">(请选择起点科室为固定科室,终点科室为固定科室的任务类型)</span>
106 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 115
         <!-- <div class="display_flex align-items_center mb8">
110 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 50
   addService:any[] = [
51 51
     {label:'是否开启',value: 0}
52 52
   ];
53
+  // 患者是否第三方接入
54
+  isThirdOutpatient:any[] = [
55
+    {label:'是否开启',value: 0}
56
+  ];
53 57
 
54 58
 
55 59
   timeMod:any;
@@ -221,6 +225,7 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
221 225
       endShowAnotherService: this.endShowAnotherService[0].checked ? 1 : 0,
222 226
       handoverOrder: this.handoverOrder[0].checked ? 1 : 0,
223 227
       finishService: this.finishService[0].checked ? 1 : 0,
228
+      isThirdOutpatient: this.isThirdOutpatient[0].checked ? 1 : 0,
224 229
       addService: this.addService[0].checked ? 1 : 0,
225 230
       addServiceTaskIds: this.addServiceTaskIds.length ? this.addServiceTaskIds.toString() : undefined,
226 231
 
@@ -340,6 +345,7 @@ export class InspectAndPatientTransportConfigComponent implements OnInit {
340 345
           this.endShowAnotherService[0].checked = this.configs.endShowAnotherService == 1;
341 346
           this.handoverOrder[0].checked = this.configs.handoverOrder == 1;
342 347
           this.finishService[0].checked = this.configs.finishService == 1;
348
+          this.isThirdOutpatient[0].checked = this.configs.isThirdOutpatient == 1;
343 349
           this.addService[0].checked = this.configs.addService == 1;
344 350
           this.addServiceTaskIds = this.configs.addServiceTaskIds ? this.configs.addServiceTaskIds.split(',').map(v => +v) : [];
345 351