diff --git a/src/views/oneMap/FloodStuationReview/xqRightBox.vue b/src/views/oneMap/FloodStuationReview/xqRightBox.vue index f049f76..3389e46 100644 --- a/src/views/oneMap/FloodStuationReview/xqRightBox.vue +++ b/src/views/oneMap/FloodStuationReview/xqRightBox.vue @@ -176,7 +176,7 @@ const activeIndex = ref(0); const munuList = [ { - name: '管网(43)', + name: '管网(29)', }, { name: '积水点(16)', diff --git a/src/views/oneMap/FloodStuationReview/xqRightBox.vue b/src/views/oneMap/FloodStuationReview/xqRightBox.vue index f049f76..3389e46 100644 --- a/src/views/oneMap/FloodStuationReview/xqRightBox.vue +++ b/src/views/oneMap/FloodStuationReview/xqRightBox.vue @@ -176,7 +176,7 @@ const activeIndex = ref(0); const munuList = [ { - name: '管网(43)', + name: '管网(29)', }, { name: '积水点(16)', diff --git a/src/views/oneMap/floodPrevention/FhplLeftBox.vue b/src/views/oneMap/floodPrevention/FhplLeftBox.vue index df08091..77e3fe7 100644 --- a/src/views/oneMap/floodPrevention/FhplLeftBox.vue +++ b/src/views/oneMap/floodPrevention/FhplLeftBox.vue @@ -19,7 +19,15 @@
气象预报
未来24h中心城区累计降雨达12mm
-
+
+
+
监测降雨
+
+
未来24h预报降雨
+
+
+ +
@@ -163,11 +171,12 @@ import monitor_icon from '@/assets/images/fhpl/monitor_icon.png'; import warn from '@/assets/images/fhpl/warn.png'; import lsyj from '@/assets/images/fhpl/lsyj.png'; - +import BarChart from './barChart.vue'; const LegendShow = ref(false); const gjimg = ref(true); const lsyjimg = ref(false); - +const monitorKey = ref(1); +const monitorData = ref({ refresh: '1' }); const form = ref({ modelId: '', rangeTime: [], @@ -265,6 +274,25 @@ gjimg.value = false; lsyjimg.value = true; } + +function getRainTrend() { + monitorData.value.history = ['0.50', '0.00']; + monitorData.value.forecast = ['0.50', '0.00']; + monitorData.value.totalData = [...monitorData.value.history, ...monitorData.value.forecast]; + monitorData.value.dateRange = [ + '2024-10-09 16:00:00', + '2024-10-09 19:00:00', + '2024-10-09 22:00:00', + '2024-10-10 01:00:00', + '2024-10-10 04:00:00', + ]; + console.log(monitorData.value, '111111111'); + + monitorData.value.refresh = Math.random(); +} +onMounted(() => { + getRainTrend(); +});