From 7bd8721e3286cb0babd1592a9a950b5d1fa4e229 Mon Sep 17 00:00:00 2001 From: fks-yangshouda Date: Tue, 13 Aug 2024 15:07:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=9B=91=E6=8E=A7=E4=B8=AD=E5=BF=83=20-=20?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=9B=91=E6=B5=8B=C2=A0=20=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?UI=E8=AE=BE=E8=AE=A1=E5=9B=BE=E8=BF=9B=E8=A1=8C=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BC=98=E5=8C=96=202.=E7=9B=91=E6=8E=A7=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=20-=20=E8=83=BD=E8=80=97=E7=9B=91=E6=B5=8B=C2=A0=20?= =?UTF-8?q?=E6=A0=B9=E6=8D=AEUI=E8=AE=BE=E8=AE=A1=E5=9B=BE=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E9=A1=B5=E9=9D=A2=E4=BC=98=E5=8C=96=203.=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E4=B8=AD=E5=BF=83=20-=20=E7=8E=AF=E5=A2=83=E7=9B=91?= =?UTF-8?q?=E6=B5=8B=C2=A0=20=E4=BF=AE=E6=94=B9bug=EF=BC=8C=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0loading?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hx-ai-intelligent/src/icon/biaoge.svg | 5 +- hx-ai-intelligent/src/icon/bingtu.svg | 2 +- hx-ai-intelligent/src/icon/title.svg | 4 + hx-ai-intelligent/src/icon/xiazai.svg | 2 +- .../src/view/monitor/deviceMonitor/graph/index.vue | 11 +- .../src/view/monitor/deviceMonitor/page.vue | 8 +- .../src/view/monitor/deviceMonitor/table/index.vue | 39 +- .../src/view/monitor/deviceMonitor/tree/index.vue | 197 ++++++--- .../monitor/energyMonitor/analysisGraph/index.vue | 39 +- .../monitor/energyMonitor/analysisTable/index.vue | 1 + .../monitor/energyMonitor/graphGraph/index.vue | 4 +- .../monitor/energyMonitor/graphTable/index.vue | 42 +- .../src/view/monitor/energyMonitor/page.vue | 52 ++- .../src/view/monitor/energyMonitor/tree/index.vue | 330 +++++++++++---- .../environmentMonitor/aggregateData/index.vue | 47 +-- .../environmentMonitor/averageData/index.vue | 226 +++-------- .../environmentMonitor/historyData/index.vue | 452 +++++++++------------ .../src/view/monitor/environmentMonitor/index.vue | 2 +- 18 files changed, 818 insertions(+), 645 deletions(-) create mode 100644 hx-ai-intelligent/src/icon/title.svg diff --git a/hx-ai-intelligent/src/icon/biaoge.svg b/hx-ai-intelligent/src/icon/biaoge.svg index 75845a1..dc789ff 100644 --- a/hx-ai-intelligent/src/icon/biaoge.svg +++ b/hx-ai-intelligent/src/icon/biaoge.svg @@ -1 +1,4 @@ - \ No newline at end of file + + + + diff --git a/hx-ai-intelligent/src/icon/bingtu.svg b/hx-ai-intelligent/src/icon/bingtu.svg index 56c8ecd..80f4a3b 100644 --- a/hx-ai-intelligent/src/icon/bingtu.svg +++ b/hx-ai-intelligent/src/icon/bingtu.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/hx-ai-intelligent/src/icon/title.svg b/hx-ai-intelligent/src/icon/title.svg new file mode 100644 index 0000000..9bf85e3 --- /dev/null +++ b/hx-ai-intelligent/src/icon/title.svg @@ -0,0 +1,4 @@ + + + + diff --git a/hx-ai-intelligent/src/icon/xiazai.svg b/hx-ai-intelligent/src/icon/xiazai.svg index dca8632..738f4a4 100644 --- a/hx-ai-intelligent/src/icon/xiazai.svg +++ b/hx-ai-intelligent/src/icon/xiazai.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/hx-ai-intelligent/src/view/monitor/deviceMonitor/graph/index.vue b/hx-ai-intelligent/src/view/monitor/deviceMonitor/graph/index.vue index 194ded6..6eee95e 100644 --- a/hx-ai-intelligent/src/view/monitor/deviceMonitor/graph/index.vue +++ b/hx-ai-intelligent/src/view/monitor/deviceMonitor/graph/index.vue @@ -74,10 +74,19 @@ // } } const option = { + grid: { + top: 60, // 上内边距 + bottom: 40, // 下内边距 + left: 10, // 左内边距 + right: 60, // 右内边距 + containLabel: true, // 自动调整 grid 以适应标签 + }, legend: { data: legendList, orient: 'horizontal', - bottom: 30, + top: 30, + right: 130, + icon: 'rect', }, tooltip: { trigger: 'axis', diff --git a/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue b/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue index 4cbf1e7..afae477 100644 --- a/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue +++ b/hx-ai-intelligent/src/view/monitor/deviceMonitor/page.vue @@ -1,6 +1,6 @@ - + diff --git a/hx-ai-intelligent/src/view/monitor/environmentMonitor/averageData/index.vue b/hx-ai-intelligent/src/view/monitor/environmentMonitor/averageData/index.vue index 89066d2..7b55d5f 100644 --- a/hx-ai-intelligent/src/view/monitor/environmentMonitor/averageData/index.vue +++ b/hx-ai-intelligent/src/view/monitor/environmentMonitor/averageData/index.vue @@ -1,51 +1,55 @@