seimin 3 år sedan
förälder
incheckning
e8b8bee7cd
1 ändrade filer med 10 tillägg och 3 borttagningar
  1. 10 3
      src/app/views/hushijiandan/hushijiandan.component.ts

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

@@ -705,6 +705,11 @@ export class HushijiandanComponent implements OnInit {
705 705
       this.confirmPostData.workOrder.yyTime =
706 706
         format(new Date(this.yyTime), "yyyy-MM-dd HH:mm") + ":00";
707 707
     }
708
+    if (!this.confirmYuyue) {
709
+      this.confirmPostData.workOrder.platform = 2;
710
+    } else {
711
+      delete this.confirmPostData.workOrder.platform;
712
+    }
708 713
     //是否需要医护陪同检查
709 714
     if (this.patientMsg.careLevel && this.currentTasktype.isAccompany == 1) {
710 715
       //特级护理或一级护理
@@ -1092,6 +1097,11 @@ export class HushijiandanComponent implements OnInit {
1092 1097
       if (that.checkedShowMsg.status != 200) {
1093 1098
         postData.workOrder["isRemand"] = this.isRemand ? 1 : 0;
1094 1099
       }
1100
+      if (!yuyue) {
1101
+        postData.workOrder.platform = 2;
1102
+      } else {
1103
+        delete postData.workOrder.platform;
1104
+      }
1095 1105
       //是否需要医护陪同检查
1096 1106
       if (this.patientMsg.careLevel && this.currentTasktype.isAccompany == 1) {
1097 1107
         //特级护理或一级护理
@@ -1121,9 +1131,6 @@ export class HushijiandanComponent implements OnInit {
1121 1131
         }
1122 1132
       }
1123 1133
       postData.workOrder.isAccompany = 0; //是否需要医护陪同检查
1124
-      if (!yuyue) {
1125
-        postData.workOrder.platform = 2;
1126
-      }
1127 1134
       that.mainService
1128 1135
         .postCustom("api", yuyue ? "appointmentOrder" : "startOrder", postData)
1129 1136
         .subscribe((data) => {