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