From c3c905d64298603b84a94e5d4fd696c0ba7873bc Mon Sep 17 00:00:00 2001 From: jiminglei <836545853@qq.com> Date: Mon, 15 May 2023 17:52:29 +0800 Subject: [PATCH 1/3] 11 --- psdc-ui/src/api/emonitor/api.js | 4 +- psdc-ui/src/views/emonitor/db/index.vue | 8 +- psdc-ui/src/views/emonitor/drgl/index.vue | 619 +++++++++++++-------- psdc-ui/src/views/emonitor/frdl/index.vue | 592 +++++++++++++------- psdc-ui/src/views/emonitor/kqyrb/index.vue | 619 +++++++++++++-------- psdc-ui/src/views/emonitor/wdcgq/index.vue | 294 ++++++---- psdc-ui/src/views/emonitor/xrgl/index.vue | 17 +- 7 files changed, 1385 insertions(+), 768 deletions(-) diff --git a/psdc-ui/src/api/emonitor/api.js b/psdc-ui/src/api/emonitor/api.js index 99a166c..12013d7 100644 --- a/psdc-ui/src/api/emonitor/api.js +++ b/psdc-ui/src/api/emonitor/api.js @@ -35,6 +35,6 @@ export function getFrld(data) { return request.get('/monitor/frdl/index/sel2/'+data) } //温度传感器 -export function getWdcgq(data) { - return request.get('/monitor/wdcgq/index/sel1/'+data) +export function getWdcgq() { + return request.get('/monitor/wdcgq/index/sel1') } diff --git a/psdc-ui/src/views/emonitor/db/index.vue b/psdc-ui/src/views/emonitor/db/index.vue index 2e4395f..160350b 100644 --- a/psdc-ui/src/views/emonitor/db/index.vue +++ b/psdc-ui/src/views/emonitor/db/index.vue @@ -2,28 +2,28 @@
-
pic
+

当前功率

{{data.totp}}kW

-
pic
+

日用电量

{{data.eday}}kWh

-
pic
+

月用电量

{{data.emonth}}kWh

-
pic
+

累计用电量

{{data.totwh}}kWh

diff --git a/psdc-ui/src/views/emonitor/drgl/index.vue b/psdc-ui/src/views/emonitor/drgl/index.vue index 863f906..6f5ad1c 100644 --- a/psdc-ui/src/views/emonitor/drgl/index.vue +++ b/psdc-ui/src/views/emonitor/drgl/index.vue @@ -2,37 +2,37 @@
-
pic
+

总用电量

-

1641kWh

+

{{data.totwh}}kWh

-
pic
+

当前功率

-

11kW

+

{{data.totp}}kW

-
pic
+

进水温度:

-

25℃

+

{{data.tempIn}}℃

出水温度:

-

85℃

+

{{data.tempOut}}℃

-
pic
+

运行状态

-

开启

+

{{data.runStatus}}

@@ -42,7 +42,7 @@
日用电量
-
+
@@ -68,249 +68,434 @@