| | |
| | | |
| | | const dialogFormRef = ref<FormInstance>(null); |
| | | |
| | | const dialogFormValue = ref<ScheduleValidationParams>({ |
| | | totalFlow1: 23394.0, |
| | | totalFlow2: 38997.2, |
| | | totalPressure1: 0.3355, |
| | | totalPressure2: 0.1745, |
| | | }); |
| | | // const dialogFormValue = ref<ScheduleValidationParams>({ |
| | | // totalFlow1: null, |
| | | // totalFlow2: null, |
| | | // totalPressure1: null, |
| | | // totalPressure2: null, |
| | | // totalFlow1: 23394.0, |
| | | // totalFlow2: 38997.2, |
| | | // totalPressure1: 0.3355, |
| | | // totalPressure2: 0.1745, |
| | | // }); |
| | | const dialogFormValue = ref<ScheduleValidationParams>({ |
| | | totalFlow1: null, |
| | | totalFlow2: null, |
| | | totalPressure1: null, |
| | | totalPressure2: null, |
| | | }); |
| | | const dialogFormRules = ref<FormRules>({ |
| | | totalFlow1: [{ required: true, message: '请输入1输水目标流量', trigger: 'blur' }], |
| | | totalFlow2: [{ required: true, message: '请输入2输水目标流量', trigger: 'blur' }], |