| | |
| | | <el-radio label="预测模拟">预测模拟</el-radio> |
| | | </el-radio-group> |
| | | <div v-if="selectedSimulation === '历史模拟'"> |
| | | <HistorySimulation |
| | | <!-- <HistorySimulation |
| | | :selectedArea="selectedArea" |
| | | @start="start" |
| | | @end="end" |
| | | /> |
| | | /> --> |
| | | <HistorySimulation :selectedArea="selectedArea" /> |
| | | </div> |
| | | <div v-if="selectedSimulation === '实时模拟'"> |
| | | <RealTimeSimulation :selectedArea="selectedArea" /> |
| | |
| | | import PredictiveSimulation from "./KGSimOption/PredictiveSimulation.vue"; |
| | | import RealTimeSimulation from "./KGSimOption/RealTimeSimulation.vue"; |
| | | |
| | | const emit = defineEmits(["start", "end"]); |
| | | // const emit = defineEmits(["start", "end"]); |
| | | |
| | | function end() { |
| | | emit("end"); |
| | | } |
| | | // function end() { |
| | | // emit("end"); |
| | | // } |
| | | |
| | | function start() { |
| | | // initeWaterPrimitiveView(); |
| | | emit("start"); |
| | | } |
| | | // function start() { |
| | | // // initeWaterPrimitiveView(); |
| | | // emit("start"); |
| | | // } |
| | | |
| | | const selectedSimulation = ref("历史模拟"); |
| | | const selectedArea = ref("孙胡沟"); |