diff --git a/src/views/oneMap/SmartDrainage/PsRightBox.vue b/src/views/oneMap/SmartDrainage/PsRightBox.vue index b80cc87..e626798 100644 --- a/src/views/oneMap/SmartDrainage/PsRightBox.vue +++ b/src/views/oneMap/SmartDrainage/PsRightBox.vue @@ -46,7 +46,7 @@ -
+
  • @@ -140,7 +140,11 @@ import { ref, reactive, toRefs, onMounted, onBeforeUnmount } from 'vue'; import AssessmentjsEcharts from '@/views/oneMap/Echarts/AssessmentjsEcharts.vue'; import bus from '@/bus'; -const listData = ref([{ siteName: '东关大街与长青路交叉口', siteStatus: '在线', warnInfo: '无风险' }]); +const listData = ref([ + { siteName: '东关大街与长青路交叉口', siteStatus: '在线', warnInfo: '无风险' }, + { siteName: '大桥街与延河西路交叉口', siteStatus: '在线', warnInfo: '无风险' }, + { siteName: '文化沟路与延河西路交叉口', siteStatus: '在线', warnInfo: '无风险' }, +]); const FXJCData = ref([ { xh: '0', @@ -149,6 +153,27 @@ kzsw: 960.26, zk: '1', }, + { + xh: '2', + hd: '杜甫川河', + dqsw: 961.26, + kzsw: 962.3, + zk: '1', + }, + { + xh: '3', + hd: '西川河', + dqsw: 961.26, + kzsw: 962.3, + zk: '1', + }, + { + xh: '4', + hd: '南川河', + dqsw: 961.26, + kzsw: 962.3, + zk: '1', + }, ]); const yearList = ref([ { name: '月', value: 1 }, @@ -159,7 +184,7 @@ { name: '年', value: 2 }, ]); const monitorData = ref([ - { name: '漫溢监测(1/12)', value: 1 }, + { name: '漫溢监测(3/12)', value: 1 }, { name: '积水监测(3/13)', value: 2 }, { name: '水位监测(0/7)', value: 2 }, ]); @@ -169,7 +194,7 @@ }); const activedname = ref('月'); const activednameA = ref('月'); -const monitorname = ref('漫溢监测(1/12)'); +const monitorname = ref('漫溢监测(3/12)'); function yearclick(val) { activedname.value = val.name; } @@ -178,8 +203,12 @@ } function monitorclick(val) { monitorname.value = val.name; - if (monitorname.value == '漫溢监测(1/12)') { - listData.value = [{ siteName: '东关大街与长青路交叉口', siteStatus: '在线', warnInfo: '无风险' }]; + if (monitorname.value == '漫溢监测(3/12)') { + listData.value = [ + { siteName: '东关大街与长青路交叉口', siteStatus: '在线', warnInfo: '无风险' }, + { siteName: '大桥街与延河西路交叉口', siteStatus: '在线', warnInfo: '无风险' }, + { siteName: '文化沟路与延河西路交叉口', siteStatus: '在线', warnInfo: '无风险' }, + ]; } else if (monitorname.value == '积水监测(3/13)') { listData.value = [ { siteName: '东关大街与长青路交叉口', siteStatus: '在线', warnInfo: '无风险' },