From 8b356c87a3b2a54c556fd87252297bd2290ffb55 Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Tue, 20 Jan 2026 14:33:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/echarts/MyEchartMap.vue | 4 +++- .../detailed/harmonicStatistics/index.vue | 4 ++-- src/views/pqs/supervise/plan/components/detail.vue | 2 +- src/views/pqs/voltageSags/Region/components/Tableabove.vue | 3 +++ .../pqs/voltageSags/Region/thermodynamicDiagram/index.vue | 2 +- .../voltageSags/monitoringPoint/online/navigation/map.vue | 6 +++--- 6 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/components/echarts/MyEchartMap.vue b/src/components/echarts/MyEchartMap.vue index 350a60a9..e2f297d0 100644 --- a/src/components/echarts/MyEchartMap.vue +++ b/src/components/echarts/MyEchartMap.vue @@ -34,7 +34,6 @@ const fetchConfig = async (name: string) => { // fetchConfig() const emit = defineEmits(['getRegionByRegion', 'eliminate', 'clickMap']) -onMounted(() => {}) const GetEchar = async (name: string) => { let chartDom = document.getElementById('chartMap') @@ -44,6 +43,7 @@ const GetEchar = async (name: string) => { name == dictData.state.area?.[0].name ? (showCircle.value = false) : (showCircle.value = true) echarts.registerMap(name, await fetchConfig(name)) //注册可用的地图 + let option = { title: { left: 'center', @@ -99,6 +99,7 @@ const GetEchar = async (name: string) => { // top: 10, // bottom: 0, roam: true, + label: { normal: { show: true, @@ -178,6 +179,7 @@ const GetEchar = async (name: string) => { }, 0) window.addEventListener('resize', resizeHandler) const flag1 = ref(true) + // 点击事件 myCharts.value.off('click') myCharts.value.on('click', (e: any) => { diff --git a/src/views/pqs/harmonicMonitoring/detailed/harmonicStatistics/index.vue b/src/views/pqs/harmonicMonitoring/detailed/harmonicStatistics/index.vue index e63a0163..a4cbce59 100644 --- a/src/views/pqs/harmonicMonitoring/detailed/harmonicStatistics/index.vue +++ b/src/views/pqs/harmonicMonitoring/detailed/harmonicStatistics/index.vue @@ -32,7 +32,7 @@