seimin 3 年之前
父节点
当前提交
c74649990a

+ 2 - 1
src/app/views/hushijiandan/hushijiandan.component.html

@@ -804,7 +804,8 @@
804 804
               </nz-form-control>
805 805
               <div *ngIf="!linkCheckLis.length">暂无关联的检查</div>
806 806
             </nz-form-item>
807
-            <div class="pos" *ngIf="appointmentZyBuildFlag == 1||appointmentBuildFlag == 1">
807
+            <div class="pos"
808
+              *ngIf="(currentTasktype.associationType.value ==='patientTransport'&&appointmentZyBuildFlag == 1)||(currentTasktype.associationType.value === 'inspect'&&appointmentBuildFlag == 1)">
808 809
               <!-- 需要预约检查 -->
809 810
               <nz-form-item class="pos-item">
810 811
                 <nz-form-control>

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

@@ -1358,7 +1358,9 @@ export class HushijiandanComponent implements OnInit {
1358 1358
         this.yyTimeZy.setHours(this.yyTimeZy.getHours() + 1);
1359 1359
       }
1360 1360
     } else {
1361
-      this.appointmentZyBuildFlag = "0";
1361
+      this.appointmentBuildFlag =
1362
+        this.currentTasktype.appointmentSwitch == 1 ? "1" : "0";
1363
+      console.log(this.appointmentBuildFlag, "seimin");
1362 1364
     }
1363 1365
     console.log(this.patientForm.controls.checkedType.value, this.checkTypeLis);
1364 1366
     this.current_allowUrgent =