| | |
| | | <template> |
| | | <div class="simulation-module"> |
| | | <!-- 模拟区域郭楠 --> |
| | | <!-- 模拟区域 --> |
| | | <div class="simulation-area"> |
| | | <p>模拟区域</p> |
| | | <el-select |
| | |
| | | <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 === '实时模拟'"> |
| | |
| | | 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> |