diff --git a/src/views/oneMap/floodPrevention/FhplLeftBox.vue b/src/views/oneMap/floodPrevention/FhplLeftBox.vue index 6495375..fe2bd59 100644 --- a/src/views/oneMap/floodPrevention/FhplLeftBox.vue +++ b/src/views/oneMap/floodPrevention/FhplLeftBox.vue @@ -69,7 +69,7 @@
延河洪水情监测
-
+ +
@@ -173,6 +174,8 @@ import lsyj from '@/assets/images/fhpl/lsyj.png'; import BarChart from './barChart.vue'; import bus from '@/bus'; +import yhhsqEch from './yhhsqEch.vue'; + const LegendShow = ref(false); const gjimg = ref(true); const lsyjimg = ref(false); @@ -220,7 +223,6 @@ zt: 0.12, }, ]); - const modelList = ref([ { name: '2024年Ⅳ级蓝色预警', @@ -264,6 +266,9 @@ name: '监测4号位', }, ]; +const YhList = ref({}); +const ryRefresh3 = ref(''); + //发布预警 const handelFabu = () => { yuJingVisible.value = true; @@ -302,10 +307,21 @@ '2024-10-12 21:30:00', ]; console.log(monitorData.value, '111111111'); - monitorData.value.refresh = Math.random(); } +// 延河 +function getDataYh() { + let obj = { + listName: ['安塞水文站', '延安水文站', '甘谷驿水文站'], + diduan: ['1200', '1600', '2000'], + zhengzhi: ['100', '120', '130'], + }; + YhList.value = obj; + console.log(CsList.value, ' CsList.value'); + ryRefresh3.value = Math.random(); +} + // 积水弹框 function spshowMapDalog(val) { let data = { @@ -318,6 +334,7 @@ onMounted(() => { getRainTrend(); + getDataYh(); }); @@ -557,6 +574,7 @@ margin: 5px auto; width: 430px; height: calc(100% - 62px); + // background: red; .button_box_list { width: 100%; margin-bottom: 10px; @@ -585,9 +603,9 @@ .img_box { margin: 0 auto; width: 420px; + height: calc(100% - 38px); background: url('@/assets/images/fhpl/sqjca.png') no-repeat; background-size: 100% 100%; - height: calc(100% - 38px); } } } diff --git a/src/views/oneMap/floodPrevention/FhplLeftBox.vue b/src/views/oneMap/floodPrevention/FhplLeftBox.vue index 6495375..fe2bd59 100644 --- a/src/views/oneMap/floodPrevention/FhplLeftBox.vue +++ b/src/views/oneMap/floodPrevention/FhplLeftBox.vue @@ -69,7 +69,7 @@
延河洪水情监测
-
+ +
@@ -173,6 +174,8 @@ import lsyj from '@/assets/images/fhpl/lsyj.png'; import BarChart from './barChart.vue'; import bus from '@/bus'; +import yhhsqEch from './yhhsqEch.vue'; + const LegendShow = ref(false); const gjimg = ref(true); const lsyjimg = ref(false); @@ -220,7 +223,6 @@ zt: 0.12, }, ]); - const modelList = ref([ { name: '2024年Ⅳ级蓝色预警', @@ -264,6 +266,9 @@ name: '监测4号位', }, ]; +const YhList = ref({}); +const ryRefresh3 = ref(''); + //发布预警 const handelFabu = () => { yuJingVisible.value = true; @@ -302,10 +307,21 @@ '2024-10-12 21:30:00', ]; console.log(monitorData.value, '111111111'); - monitorData.value.refresh = Math.random(); } +// 延河 +function getDataYh() { + let obj = { + listName: ['安塞水文站', '延安水文站', '甘谷驿水文站'], + diduan: ['1200', '1600', '2000'], + zhengzhi: ['100', '120', '130'], + }; + YhList.value = obj; + console.log(CsList.value, ' CsList.value'); + ryRefresh3.value = Math.random(); +} + // 积水弹框 function spshowMapDalog(val) { let data = { @@ -318,6 +334,7 @@ onMounted(() => { getRainTrend(); + getDataYh(); }); @@ -557,6 +574,7 @@ margin: 5px auto; width: 430px; height: calc(100% - 62px); + // background: red; .button_box_list { width: 100%; margin-bottom: 10px; @@ -585,9 +603,9 @@ .img_box { margin: 0 auto; width: 420px; + height: calc(100% - 38px); background: url('@/assets/images/fhpl/sqjca.png') no-repeat; background-size: 100% 100%; - height: calc(100% - 38px); } } } diff --git a/src/views/oneMap/floodPrevention/yhhsqEch.vue b/src/views/oneMap/floodPrevention/yhhsqEch.vue new file mode 100644 index 0000000..187163b --- /dev/null +++ b/src/views/oneMap/floodPrevention/yhhsqEch.vue @@ -0,0 +1,204 @@ + + + +