seimin 3 years ago
parent
commit
c74649990a

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

@@ -804,7 +804,8 @@
804
               </nz-form-control>
804
               </nz-form-control>
805
               <div *ngIf="!linkCheckLis.length">暂无关联的检查</div>
805
               <div *ngIf="!linkCheckLis.length">暂无关联的检查</div>
806
             </nz-form-item>
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
               <nz-form-item class="pos-item">
810
               <nz-form-item class="pos-item">
810
                 <nz-form-control>
811
                 <nz-form-control>

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

@@ -1358,7 +1358,9 @@ export class HushijiandanComponent implements OnInit {
1358
         this.yyTimeZy.setHours(this.yyTimeZy.getHours() + 1);
1358
         this.yyTimeZy.setHours(this.yyTimeZy.getHours() + 1);
1359
       }
1359
       }
1360
     } else {
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
     console.log(this.patientForm.controls.checkedType.value, this.checkTypeLis);
1365
     console.log(this.patientForm.controls.checkedType.value, this.checkTypeLis);
1364
     this.current_allowUrgent =
1366
     this.current_allowUrgent =