From 3d5560c5c1a8bf5114e1130733c61ee452db9dea Mon Sep 17 00:00:00 2001
From: selia-zx <1771203023@qq.com>
Date: Wed, 16 Apr 2025 17:27:53 +0800
Subject: [PATCH] =?UTF-8?q?1.=E7=B3=BB=E7=BB=9F=E7=9B=91=E6=B5=8B=EF=BC=9A?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=86=B7=E5=8D=B4=E5=A1=94=E9=A3=8E=E6=9C=BA?=
=?UTF-8?q?=E9=A2=91=E7=8E=87=E3=80=81=E5=86=B7=E5=86=BB=E8=BF=9B=E5=87=BA?=
=?UTF-8?q?=E6=B0=B4=E5=8E=8B=E5=8A=9B=EF=BC=89=E3=80=81=E8=BF=9B=E5=87=BA?=
=?UTF-8?q?=E6=B0=B4=E6=B8=A9=E5=BA=A6=EF=BC=89=E3=80=81=E4=B8=BB=E6=9C=BA?=
=?UTF-8?q?=E7=9A=84=E8=B4=9F=E8=BD=BD=E6=95=B0=E6=8D=AE=E5=AE=9A=E4=BD=8D?=
=?UTF-8?q?(=E6=9C=AA=E6=9C=89=E7=82=B9=E4=BD=8D=E6=95=B0=E6=8D=AE)=202.?=
=?UTF-8?q?=E7=B3=BB=E7=BB=9F=E7=9B=91=E6=B5=8B=E9=A1=B5=E9=9D=A2=E5=8C=BA?=
=?UTF-8?q?=E5=88=AB=E5=86=B7=E5=8D=B4=E5=A1=94=E7=9A=84=E9=A3=8E=E6=9C=BA?=
=?UTF-8?q?=203.=E7=B3=BB=E7=BB=9F=E6=8E=A7=E5=88=B6=EF=BC=9A=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=E4=B8=AD=E6=89=8B=E5=8A=A8=E8=87=AA=E5=8A=A8=E4=B8=A4?=
=?UTF-8?q?=E4=B8=AA=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=8D=A2=E3=80=81=E5=BD=93?=
=?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=9A=84=E6=97=B6=E5=80=99=E9=A2=91=E7=8E=87?=
=?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AE=BE=E5=A4=87=E7=AD=96?=
=?UTF-8?q?=E7=95=A5=E9=9C=80=E6=B1=82=E9=87=8F=E3=80=81=E4=BC=98=E5=85=88?=
=?UTF-8?q?=E7=BA=A7=E3=80=81=E4=BC=98=E5=85=88=E7=BA=A7=E7=BC=96=E5=8F=B7?=
=?UTF-8?q?=E6=A0=B9=E6=8D=AE=E8=BF=94=E5=9B=9E=E7=9A=84min-max=E5=80=BC?=
=?UTF-8?q?=E5=8C=BA=E9=97=B4=E9=80=89=E6=8B=A9select(=E5=86=99=E5=AE=9E?=
=?UTF-8?q?=E7=8E=B0=E9=80=BB=E8=BE=91)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 4 +-
src/views/aircAndWindc/awSysMonitor/index.vue | 169 +++++++++---
src/views/centerairC/delaySwitch/index.vue | 4 +-
src/views/centerairC/deviceStrategy/index.vue | 152 ++++++++---
src/views/centerairC/sysControl/index.vue | 17 +-
.../centerairC/sysControl/listHeader.vue | 50 ++--
.../centerairC/sysControl/vavleheader.vue | 24 +-
src/views/centerairC/sysMonitor/index.vue | 176 +++++++++++-
src/views/centerairC/timeSwitch/index.vue | 16 +-
src/views/temSys/temMonitor/index.vue | 258 +++++++++++++++++-
10 files changed, 737 insertions(+), 133 deletions(-)
diff --git a/.env.development b/.env.development
index 8e968ab..8253cfb 100644
--- a/.env.development
+++ b/.env.development
@@ -7,9 +7,9 @@ ENV = 'development'
# 开发环境
# VUE_APP_BASE_API = '/dev-api'
# 后台
-# VUE_APP_BASE_API = 'http://192.168.1.222:8080'
+VUE_APP_BASE_API = 'http://192.168.1.222:8080'
# 云端
-VUE_APP_BASE_API = 'http://106.55.173.225:8090'
+# VUE_APP_BASE_API = 'http://106.55.173.225:8090'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
diff --git a/src/views/aircAndWindc/awSysMonitor/index.vue b/src/views/aircAndWindc/awSysMonitor/index.vue
index 9a01703..2e26a6e 100644
--- a/src/views/aircAndWindc/awSysMonitor/index.vue
+++ b/src/views/aircAndWindc/awSysMonitor/index.vue
@@ -130,29 +130,23 @@
-
设备名称
-
手动控制
手自动切换
+
手动控制
阀开反馈
阀关反馈
@@ -12,24 +12,24 @@
@@ -93,7 +93,7 @@ export default {
handleAutomaticText(item) {
this.$confirm(
`确定要切换设备"${item.name}"的状态为:${
- item.automaticText ? "自动" : "手动 吗?"
+ item.automaticText ? "手动" : "自动 吗?"
}`,
"提示",
{
@@ -107,9 +107,9 @@ export default {
console.log("请求后台", item.automaticText);
let param = null;
if (item.automaticText) {
- param = 0;
- } else {
param = 1;
+ } else {
+ param = 0;
}
// 触发自定义事件 operationControl,并传递两个参数
this.$emit("operationControl", item.automaticId, param);
diff --git a/src/views/centerairC/sysMonitor/index.vue b/src/views/centerairC/sysMonitor/index.vue
index e44d8ea..c864bf4 100644
--- a/src/views/centerairC/sysMonitor/index.vue
+++ b/src/views/centerairC/sysMonitor/index.vue
@@ -81,7 +81,7 @@
src="../../../assets/images/haiwang.png"
alt=""
/>
-
+
{{ hostList[0].deviceName }}
@@ -96,6 +96,7 @@
alt=""
:class="{ moveClass: hostListRunClass(0) }"
/>
+
11%
1#冷却水流:
@@ -123,6 +124,7 @@
:lineWidth2="100"
class="host-line1"
>
+
{{ hostList[1].deviceName }}
@@ -137,6 +139,7 @@
alt=""
:class="{ moveClass: hostListRunClass(1) }"
/>
+
11%
2#冷却水流:
@@ -164,7 +167,7 @@
:lineWidth2="300"
class="host-line2"
>
-
+
{{ hostList[2].deviceName }}
@@ -181,6 +184,8 @@
alt=""
:class="{ moveClass: hostListRunClass(2) }"
/>
+
+
11%
@@ -210,6 +215,7 @@
:lineWidth2="490"
class="host-line3"
>
+
1#
2#
@@ -282,9 +288,16 @@
{{ freezingPumpHz2 }}Hz
-
3#
-
2#
-
1#
+
3#-1
+
2#-2
+
2#-1
+
1#-2
+
1#-1
+
50Hz
+
50Hz
+
50Hz
+
50Hz
+
50Hz

+
+
20℃
+
20℃
+
+
20kpa
+
20kpa
@@ -1092,6 +1111,38 @@ export default {
height: 0.6rem;
z-index: 10;
}
+ .freezingInTem {
+ z-index: 10;
+ position: absolute;
+ top: 4.54rem;
+ right: 5.4rem;
+ font-size: 0.14rem;
+ font-weight: bold;
+ }
+ .freezingOutTem {
+ z-index: 10;
+ position: absolute;
+ top: 5.2rem;
+ right: 3.8rem;
+ font-size: 0.14rem;
+ font-weight: bold;
+ }
+ .freezingInPre {
+ z-index: 10;
+ position: absolute;
+ top: 5rem;
+ right: 5.3rem;
+ font-size: 0.14rem;
+ font-weight: bold;
+ }
+ .freezingOutPre {
+ z-index: 10;
+ position: absolute;
+ top: 5.7rem;
+ right: 3.7rem;
+ font-size: 0.14rem;
+ font-weight: bold;
+ }
.host-line1 {
position: absolute;
left: -0.96rem;
@@ -1190,6 +1241,30 @@ export default {
transform-style: preserve-3d;
transform: translateX(-50%) rotateX(15deg) rotateZ(0deg);
}
+ .hostLoad1 {
+ z-index: 10;
+ position: absolute;
+ top: 6.2rem;
+ left: 3rem;
+ font-size: 0.14rem;
+ font-weight: bold;
+ }
+ .hostLoad2 {
+ z-index: 10;
+ position: absolute;
+ top: 5.42rem;
+ left: 5rem;
+ font-size: 0.14rem;
+ font-weight: bold;
+ }
+ .hostLoad3 {
+ z-index: 10;
+ position: absolute;
+ top: 4.52rem;
+ left: 7.1rem;
+ font-size: 0.14rem;
+ font-weight: bold;
+ }
.water-flow1 {
z-index: 10;
position: absolute;
@@ -1436,32 +1511,105 @@ export default {
font-size: 0.14rem;
font-weight: bold;
}
- .coolingTower1 {
+ .coolingTower3 {
+ z-index: 10;
+ font-size: 0.18rem;
+ color: #46f1e3;
+ position: absolute;
+ top: 1.8rem;
+ left: 5.05rem;
+ font-weight: bold;
+ transform: rotateX(20deg) rotateY(-25deg) rotateZ(-5deg);
+ }
+ .coolingTower22 {
z-index: 10;
font-size: 0.18rem;
color: #46f1e3;
position: absolute;
- top: 1.78rem;
- left: 5.1rem;
+ top: 1.5rem;
+ left: 5.98rem;
font-weight: bold;
+ transform: rotateX(20deg) rotateY(-25deg) rotateZ(-5deg);
}
- .coolingTower2 {
+ .coolingTower21 {
z-index: 10;
font-size: 0.18rem;
color: #46f1e3;
position: absolute;
- top: 1.42rem;
- left: 6.3rem;
+ top: 1.38rem;
+ left: 6.42rem;
font-weight: bold;
+ transform: rotateX(20deg) rotateY(-25deg) rotateZ(-5deg);
}
- .coolingTower3 {
+ .coolingTower12 {
z-index: 10;
font-size: 0.18rem;
color: #46f1e3;
position: absolute;
- top: 1.07rem;
- left: 7.52rem;
+ top: 1.1rem;
+ left: 7.3rem;
+ font-weight: bold;
+ transform: rotateX(20deg) rotateY(-25deg) rotateZ(-5deg);
+ }
+ .coolingTower11 {
+ z-index: 10;
+ font-size: 0.18rem;
+ color: #46f1e3;
+ position: absolute;
+ top: 1rem;
+ left: 7.7rem;
+ font-weight: bold;
+ transform: rotateX(20deg) rotateY(-25deg) rotateZ(-5deg);
+ }
+ .colingTowerHz11 {
+ z-index: 10;
+ font-size: 0.14rem;
+ color: #ffffff;
+ position: absolute;
+ top: -0.1rem;
+ left: 7.32rem;
+ font-weight: bold;
+ transform: rotateX(20deg) rotateY(-25deg) rotateZ(-5deg);
+ }
+ .colingTowerHz12 {
+ z-index: 10;
+ font-size: 0.14rem;
+ color: #ffffff;
+ position: absolute;
+ top: 0.033rem;
+ left: 6.8rem;
+ font-weight: bold;
+ transform: rotateX(20deg) rotateY(-25deg) rotateZ(-5deg);
+ }
+ .colingTowerHz21 {
+ z-index: 10;
+ font-size: 0.14rem;
+ color: #ffffff;
+ position: absolute;
+ top: 0.24rem;
+ left: 6rem;
+ font-weight: bold;
+ transform: rotateX(20deg) rotateY(-25deg) rotateZ(-5deg);
+ }
+ .colingTowerHz22 {
+ z-index: 10;
+ font-size: 0.14rem;
+ color: #ffffff;
+ position: absolute;
+ top: 0.37rem;
+ left: 5.5rem;
+ font-weight: bold;
+ transform: rotateX(20deg) rotateY(-25deg) rotateZ(-5deg);
+ }
+ .colingTowerHz3 {
+ z-index: 10;
+ font-size: 0.14rem;
+ color: #ffffff;
+ position: absolute;
+ top: 0.64rem;
+ left: 4.4rem;
font-weight: bold;
+ transform: rotateX(20deg) rotateY(-25deg) rotateZ(-5deg);
}
/* 定义灯闪烁的动画 */
@keyframes blink {
diff --git a/src/views/centerairC/timeSwitch/index.vue b/src/views/centerairC/timeSwitch/index.vue
index c6d3126..d6c8c12 100644
--- a/src/views/centerairC/timeSwitch/index.vue
+++ b/src/views/centerairC/timeSwitch/index.vue
@@ -19,14 +19,14 @@
:
@@ -34,14 +34,14 @@
:
@@ -51,7 +51,7 @@
active-color="#13ce66"
inactive-color="#ff4949"
active-text="开启"
- inactive-text="禁用"
+ inactive-text="停用"
v-model="item.delayStatus"
@change="handleStatus(item)"
>
@@ -190,7 +190,9 @@ export default {
}
item[propertyName] = inputValue;
},
- handleEnter(item, name) {
+ handleEnter(item, name, event) {
+ // 失去焦点
+ event.target.blur();
let id = "";
let value = "";
let title = "";
@@ -275,7 +277,7 @@ export default {
handleStatus(item) {
this.$confirm(
`确定要切换"${item.name}"的状态为:${
- item.delayStatus ? "开启" : "禁用 吗?"
+ item.delayStatus ? "开启" : "停用 吗?"
}`,
"提示",
{
diff --git a/src/views/temSys/temMonitor/index.vue b/src/views/temSys/temMonitor/index.vue
index b20acaf..aaaf6f4 100644
--- a/src/views/temSys/temMonitor/index.vue
+++ b/src/views/temSys/temMonitor/index.vue
@@ -1,13 +1,263 @@
- 温度监测控制
+
+
+
+
+
+
+
+
+
+
+ {{ node.label }}
+
+
+
+
+
+
+
111
+
-
\ No newline at end of file
+::-webkit-scrollbar-track {
+ background: transparent !important; /* 滚动条轨道背景色 */
+}
+.custom-tree-node {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ font-size: 14px;
+ padding-right: 8px;
+ .tree-left {
+ .custom-tree-icon {
+ margin-right: 5px;
+ }
+ }
+}
+
+