From 7ab8e4ed9cf425458e412009c579a55f676d4b6c Mon Sep 17 00:00:00 2001 From: guanj Date: Wed, 9 Jul 2025 16:48:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=E7=8A=B6=E6=80=81=E9=A1=B5=E9=9D=A2=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=95=B0=E6=8D=AE=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/echarts/MyEchart.vue | 4 +- src/components/tree/device.vue | 134 +++++++++-- src/components/tree/point.vue | 52 ++++- src/views/govern/alarm/Device.vue | 2 +- src/views/govern/alarm/Steady.vue | 2 +- src/views/govern/alarm/Transient.vue | 2 +- src/views/govern/device/control/index.vue | 55 +++-- .../govern/device/control/moduleData.vue | 219 +++++++++++++++--- src/views/govern/manage/factory.vue | 30 ++- 9 files changed, 404 insertions(+), 96 deletions(-) diff --git a/src/components/echarts/MyEchart.vue b/src/components/echarts/MyEchart.vue index 86a6b31..69f4721 100644 --- a/src/components/echarts/MyEchart.vue +++ b/src/components/echarts/MyEchart.vue @@ -103,7 +103,7 @@ const initChart = () => { type: 'inside', height: 13, start: 0, - + bottom: '20px', end: 100 }, @@ -130,7 +130,7 @@ const initChart = () => { handlerBar(options) // 处理柱状图 chart.setOption(options, true) - + chart.group = 'group' setTimeout(() => { chart.resize() }, 0) diff --git a/src/components/tree/device.vue b/src/components/tree/device.vue index 9e2f570..3327f9b 100644 --- a/src/components/tree/device.vue +++ b/src/components/tree/device.vue @@ -1,34 +1,73 @@