From b0d836e4b3a0f0c2914e4e5508e3d18a203b779c Mon Sep 17 00:00:00 2001 From: selia-zx <1771203023@qq.com> Date: Tue, 11 Nov 2025 17:32:54 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=AF=B9=E6=8E=A5=E9=87=87=E6=9A=96=E6=B3=B5?= =?UTF-8?q?=E7=9B=91=E6=B5=8B=E5=88=97=E8=A1=A8=202.=E5=AF=B9=E6=8E=A5?= =?UTF-8?q?=E9=87=87=E6=9A=96=E6=B3=B5=E5=9C=A8=E7=BA=BF=E6=83=85=E5=86=B5?= =?UTF-8?q?=203.=E5=AF=B9=E6=8E=A5=E9=87=87=E6=9A=96=E6=B3=B5=E6=8A=A5?= =?UTF-8?q?=E8=AD=A6=E4=BF=A1=E6=81=AF=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/boiler/heatingPump.js | 27 + src/store/modules/permission.js | 8 + .../heatingPump/heatingPumpDetails.vue | 718 +++++++++--------- src/views/boilerSys/steamHeating/index.vue | 20 + .../steamHeating/steamHeatingDetails.vue | 420 ++++++++++ 5 files changed, 835 insertions(+), 358 deletions(-) create mode 100644 src/api/boiler/heatingPump.js create mode 100644 src/views/boilerSys/steamHeating/index.vue create mode 100644 src/views/boilerSys/steamHeating/steamHeatingDetails.vue diff --git a/src/api/boiler/heatingPump.js b/src/api/boiler/heatingPump.js new file mode 100644 index 0000000..834b9d0 --- /dev/null +++ b/src/api/boiler/heatingPump.js @@ -0,0 +1,27 @@ +import request from "@/utils/request"; + +// 采暖泵列表 +export function heatPumpList(query) { + return request({ + url: "/device/heatPump/list", + method: "get", + params: query, + }); +} +// 采暖泵在线情况 +export function heatPumpOnlineList(query) { + return request({ + url: "/device/heatPump/online", + method: "get", + params: query, + }); +} +// 采暖泵报警列表 +export function heatPumpAlarmList(query) { + return request({ + url: "/device/heatPump/alarmList", + method: "get", + params: query, + }); +} + diff --git a/src/store/modules/permission.js b/src/store/modules/permission.js index 2b3bc73..d9f53ef 100644 --- a/src/store/modules/permission.js +++ b/src/store/modules/permission.js @@ -155,6 +155,14 @@ const permission = { import("@/views/boilerSys/heatingPump/heatingPumpDetails"), meta: { title: "采暖泵监控", icon: "screen" }, }, + { + path: "/steamHeatingDetails", + name: "steamHeatingDetails", + hidden: true, + component: () => + import("@/views/boilerSys/steamHeating/steamHeatingDetails"), + meta: { title: "蒸汽采暖运行监控", icon: "screen" }, + }, // 可以继续添加更多路由对象 ]; // 循环添加额外的路由对象到各路由数组 diff --git a/src/views/boilerSys/heatingPump/heatingPumpDetails.vue b/src/views/boilerSys/heatingPump/heatingPumpDetails.vue index 169f012..3beb1c9 100644 --- a/src/views/boilerSys/heatingPump/heatingPumpDetails.vue +++ b/src/views/boilerSys/heatingPump/heatingPumpDetails.vue @@ -46,144 +46,12 @@ />
-
+
-
采暖泵1
-
-
-
-
-
- -
- - -
-
-
-
-
运行状态
-
运行
-
-
-
实际转速(rpm)
-
1000
-
-
-
电机功率(kw)
-
100
-
-
-
电机输入电压(V)
-
220
-
-
-
点击输入电流(A)
-
5
-
-
-
总流量(m²/h)
-
1000
-
-
-
泵运行总用电量(kwh)
-
10
-
-
-
泵总运行时间(小时)
-
1000
-
-
-
-
-
-
-
-
-
-
-
采暖泵2
-
-
-
-
-
- -
- - -
-
-
-
-
运行状态
-
运行
-
-
-
实际转速(rpm)
-
1000
-
-
-
电机功率(kw)
-
100
-
-
-
电机输入电压(V)
-
220
-
-
-
点击输入电流(A)
-
5
-
-
-
总流量(m²/h)
-
1000
-
-
-
泵运行总用电量(kwh)
-
10
-
-
-
泵总运行时间(小时)
-
1000
-
-
-
-
-
-
-
-
-
-
-
采暖泵3
+
{{ item.name }}
@@ -203,42 +71,26 @@
-
-
运行状态
-
运行
-
-
-
实际转速(rpm)
-
1000
-
-
-
电机功率(kw)
-
100
-
-
-
电机输入电压(V)
-
220
-
-
-
点击输入电流(A)
-
5
-
-
-
总流量(m²/h)
-
1000
-
-
-
泵运行总用电量(kwh)
-
10
-
-
-
泵总运行时间(小时)
-
1000
+
+
{{ val.otherName }}
+
+ {{ val.curValue }} +
@@ -293,6 +145,11 @@ @@ -968,6 +934,23 @@ export default { color: #05d120; font-weight: bold; } + .bad-data-text { + color: #f50d0d !important; + font-weight: bold; + animation: blink 1s infinite; /* 应用闪烁动画,持续时间 1 秒,无限循环 */ + } + + @keyframes blink { + 0% { + opacity: 1; /* 初始透明度为 1(完全不透明) */ + } + 50% { + opacity: 0; /* 中间透明度为 0(完全透明) */ + } + 100% { + opacity: 1; /* 结束透明度为 1(完全不透明) */ + } + } } } } @@ -1008,4 +991,23 @@ export default { padding: 0.04rem 0.26rem 0.04rem 0px; min-height: 0.37rem; } +.pumpli-monitor >>> .el-table { + font-size: 0.14rem !important; +} +.pumpli-monitor >>> .el-table .el-table__header-wrapper th, +.pumpli-monitor >>> .el-table .el-table__fixed-header-wrapper th { + font-size: 0.13rem !important; + height: 0.4rem !important; +} +.pumpli-monitor >>> table tr { + height: 0.4rem !important; +} +.pumpli-monitor >>> .el-table--medium .el-table__cell { + padding: 0.1rem 0 !important; +} +.pumpli-monitor >>> .el-table .cell { + line-height: 0.23rem !important; + padding-left: 0.1rem !important; + padding-right: 0.1rem !important; +} diff --git a/src/views/boilerSys/steamHeating/index.vue b/src/views/boilerSys/steamHeating/index.vue new file mode 100644 index 0000000..0fdcc92 --- /dev/null +++ b/src/views/boilerSys/steamHeating/index.vue @@ -0,0 +1,20 @@ + + + + + \ No newline at end of file diff --git a/src/views/boilerSys/steamHeating/steamHeatingDetails.vue b/src/views/boilerSys/steamHeating/steamHeatingDetails.vue new file mode 100644 index 0000000..6f274bd --- /dev/null +++ b/src/views/boilerSys/steamHeating/steamHeatingDetails.vue @@ -0,0 +1,420 @@ + + + + +