From b3f86390d4bfad2cb5ad00dc179533f773ba5bb0 Mon Sep 17 00:00:00 2001 From: jiminglei <836545853@qq.com> Date: Thu, 11 May 2023 16:39:40 +0800 Subject: [PATCH] 11 --- psdc-ui/src/views/emonitor/db/index.vue | 180 +++++++++++++++- psdc-ui/src/views/emonitor/drgl/index.vue | 32 ++- psdc-ui/src/views/emonitor/frdl/index.vue | 224 +++++++++++++++++-- psdc-ui/src/views/emonitor/kqyrb/index.vue | 239 +++++++++++++++++++-- psdc-ui/src/views/emonitor/wdcgq/index.vue | 73 ++++++- psdc-ui/src/views/emonitor/xrgl/index.vue | 239 +++++++++++++++++++-- 6 files changed, 923 insertions(+), 64 deletions(-) diff --git a/psdc-ui/src/views/emonitor/db/index.vue b/psdc-ui/src/views/emonitor/db/index.vue index f49338e..f48ef9e 100644 --- a/psdc-ui/src/views/emonitor/db/index.vue +++ b/psdc-ui/src/views/emonitor/db/index.vue @@ -35,17 +35,13 @@
当前功率
-
- pic -
+
当前功率总览
-
- pic -
+
@@ -53,16 +49,178 @@
今日用电量总览
-
- pic -
+
- diff --git a/psdc-ui/src/views/emonitor/drgl/index.vue b/psdc-ui/src/views/emonitor/drgl/index.vue index a660c78..9a84059 100644 --- a/psdc-ui/src/views/emonitor/drgl/index.vue +++ b/psdc-ui/src/views/emonitor/drgl/index.vue @@ -95,6 +95,7 @@ export default { }, yAxis: { type: 'value', + name: "kWh", splitLine:{ show:true, lineStyle:{ @@ -112,7 +113,7 @@ export default { }, series: [ { - name: "用户量", + name: "日用电量", type: "bar", data: [5, 20, 36, 10, 10, 20], itemStyle:{ @@ -141,6 +142,7 @@ export default { }, yAxis: { type: 'value', + name: "kWh", splitLine:{ show:true, lineStyle:{ @@ -158,7 +160,7 @@ export default { }, series: [ { - name: "用户量", + name: "月用电量", type: "bar", data: [5, 20, 36, 10, 10, 20], itemStyle:{ @@ -187,6 +189,7 @@ export default { }, yAxis: { type: 'value', + name: "kW", splitLine:{ show:true, lineStyle:{ @@ -204,7 +207,7 @@ export default { }, series: [ { - name: "用户量", + name: "当前功率", type: "line", data: [5, 20, 36, 10, 10, 20], itemStyle:{ @@ -219,6 +222,12 @@ export default { myChart4.setOption({ title: {}, tooltip: {}, + legend: { + data: ['进水', '出水'], + textStyle:{ + color:'#BEC3DA' + } + }, textStyle:{ color:'#BEC3DA' }, @@ -233,6 +242,7 @@ export default { }, yAxis: { type: 'value', + name: "℃", splitLine:{ show:true, lineStyle:{ @@ -250,12 +260,22 @@ export default { }, series: [ { - name: "用户量", - type: "line", - data: [5, 20, 36, 10, 10, 20], + name: '进水', + type: 'line', + stack: 'Total', + itemStyle:{ + color:'#2F8EE0' + }, + data: [120, 132, 101, 134, 90, 230, 210] + }, + { + name: '出水', + type: 'line', + stack: 'Total', itemStyle:{ color:'#2F8EE0' }, + data: [220, 182, 191, 234, 290, 330, 310] }, ], }); diff --git a/psdc-ui/src/views/emonitor/frdl/index.vue b/psdc-ui/src/views/emonitor/frdl/index.vue index b76f813..a14818e 100644 --- a/psdc-ui/src/views/emonitor/frdl/index.vue +++ b/psdc-ui/src/views/emonitor/frdl/index.vue @@ -38,40 +38,236 @@
日用电量
-
- pic -
+
月用电量
-
- pic -
+
当前功率
-
- pic -
+
当前温度
-
- pic -
+
- diff --git a/psdc-ui/src/views/emonitor/kqyrb/index.vue b/psdc-ui/src/views/emonitor/kqyrb/index.vue index d6f00b6..3dcb56c 100644 --- a/psdc-ui/src/views/emonitor/kqyrb/index.vue +++ b/psdc-ui/src/views/emonitor/kqyrb/index.vue @@ -42,40 +42,251 @@
日用电量
-
- pic -
+
月用电量
-
- pic -
+
当前功率
-
- pic -
+
当前温度
-
- pic -
+
- diff --git a/psdc-ui/src/views/emonitor/wdcgq/index.vue b/psdc-ui/src/views/emonitor/wdcgq/index.vue index e6a39cb..289628b 100644 --- a/psdc-ui/src/views/emonitor/wdcgq/index.vue +++ b/psdc-ui/src/views/emonitor/wdcgq/index.vue @@ -64,16 +64,79 @@
实时温度总览
-
- pic -
+
- diff --git a/psdc-ui/src/views/emonitor/xrgl/index.vue b/psdc-ui/src/views/emonitor/xrgl/index.vue index d6f00b6..b9f77d5 100644 --- a/psdc-ui/src/views/emonitor/xrgl/index.vue +++ b/psdc-ui/src/views/emonitor/xrgl/index.vue @@ -42,40 +42,251 @@
日用电量
-
- pic -
+
月用电量
-
- pic -
+
当前功率
-
- pic -
+
当前温度
-
- pic -
+
-