From 042e9c52a4fb32af40c97021283e2d2ba534b196 Mon Sep 17 00:00:00 2001 From: jiminglei <836545853@qq.com> Date: Wed, 31 May 2023 17:41:09 +0800 Subject: [PATCH] 11 --- psdc-ui/src/views/emonitor/db/index.vue | 5 ++++- psdc-ui/src/views/emonitor/drgl/index.vue | 11 +++++++++-- psdc-ui/src/views/emonitor/frdl/index.vue | 10 ++++++++-- psdc-ui/src/views/emonitor/kqyrb/index.vue | 10 ++++++++-- psdc-ui/src/views/emonitor/wdcgq/index.vue | 5 ++++- psdc-ui/src/views/emonitor/xrgl/index.vue | 10 ++++++++-- 6 files changed, 41 insertions(+), 10 deletions(-) diff --git a/psdc-ui/src/views/emonitor/db/index.vue b/psdc-ui/src/views/emonitor/db/index.vue index 105b70b..27b4321 100644 --- a/psdc-ui/src/views/emonitor/db/index.vue +++ b/psdc-ui/src/views/emonitor/db/index.vue @@ -268,7 +268,10 @@ export default { myChart2 = echarts.init(document.getElementById("myEcharts2")); myChart2.setOption({ title: {}, - tooltip: {}, + tooltip: { + trigger: "axis", + show: true + }, textStyle:{ color:'#BEC3DA' }, diff --git a/psdc-ui/src/views/emonitor/drgl/index.vue b/psdc-ui/src/views/emonitor/drgl/index.vue index 2f35688..6498298 100644 --- a/psdc-ui/src/views/emonitor/drgl/index.vue +++ b/psdc-ui/src/views/emonitor/drgl/index.vue @@ -358,7 +358,11 @@ export default { myChart4 = echarts.init(document.getElementById("myEcharts4")); myChart4.setOption({ title: {}, - tooltip: {}, + tooltip: { + trigger: "axis", + + show: true + }, legend: { data: ['进水', '出水'], textStyle:{ @@ -447,7 +451,10 @@ export default { myChart3 = echarts.init(document.getElementById("myEcharts3")); myChart3.setOption({ title: {}, - tooltip: {}, + tooltip: { + trigger: "axis", + show: true + }, textStyle:{ color:'#BEC3DA' }, diff --git a/psdc-ui/src/views/emonitor/frdl/index.vue b/psdc-ui/src/views/emonitor/frdl/index.vue index c127043..d737ed8 100644 --- a/psdc-ui/src/views/emonitor/frdl/index.vue +++ b/psdc-ui/src/views/emonitor/frdl/index.vue @@ -350,7 +350,10 @@ export default { myChart4 = echarts.init(document.getElementById("myEcharts4")); myChart4.setOption({ title: {}, - tooltip: {}, + tooltip: { + trigger: "axis", + show: true + }, textStyle:{ color:'#BEC3DA' }, @@ -424,7 +427,10 @@ export default { myChart3 = echarts.init(document.getElementById("myEcharts3")); myChart3.setOption({ title: {}, - tooltip: {}, + tooltip: { + trigger: "axis", + show: true + }, textStyle:{ color:'#BEC3DA' }, diff --git a/psdc-ui/src/views/emonitor/kqyrb/index.vue b/psdc-ui/src/views/emonitor/kqyrb/index.vue index 00b8b77..d131d49 100644 --- a/psdc-ui/src/views/emonitor/kqyrb/index.vue +++ b/psdc-ui/src/views/emonitor/kqyrb/index.vue @@ -355,7 +355,10 @@ export default { myChart4 = echarts.init(document.getElementById("myEcharts4")); myChart4.setOption({ title: {}, - tooltip: {}, + tooltip: { + trigger: "axis", + show: true + }, legend: { data: ['进水', '出水'], textStyle:{ @@ -443,7 +446,10 @@ export default { myChart3 = echarts.init(document.getElementById("myEcharts3")); myChart3.setOption({ title: {}, - tooltip: {}, + tooltip: { + trigger: "axis", + show: true + }, textStyle:{ color:'#BEC3DA' }, diff --git a/psdc-ui/src/views/emonitor/wdcgq/index.vue b/psdc-ui/src/views/emonitor/wdcgq/index.vue index 907d71d..ce28d15 100644 --- a/psdc-ui/src/views/emonitor/wdcgq/index.vue +++ b/psdc-ui/src/views/emonitor/wdcgq/index.vue @@ -81,7 +81,10 @@ export default { // 绘制图表 myChart.setOption({ title: {}, - tooltip: {}, + tooltip: { + trigger: "axis", + show: true + }, legend: { selectedMode: 'single', textStyle:{ diff --git a/psdc-ui/src/views/emonitor/xrgl/index.vue b/psdc-ui/src/views/emonitor/xrgl/index.vue index 8afa1c2..5ccd4dd 100644 --- a/psdc-ui/src/views/emonitor/xrgl/index.vue +++ b/psdc-ui/src/views/emonitor/xrgl/index.vue @@ -247,7 +247,10 @@ export default { myChart3 = echarts.init(document.getElementById("myEcharts3")); myChart3.setOption({ title: {}, - tooltip: {}, + tooltip: { + trigger: "axis", + show: true + }, textStyle:{ color:'#BEC3DA' }, @@ -430,7 +433,10 @@ export default { myChart4 = echarts.init(document.getElementById("myEcharts4")); myChart4.setOption({ title: {}, - tooltip: {}, + tooltip: { + trigger: "axis", + show: true + }, legend: { textStyle:{ color:'#BEC3DA'