diff --git a/src/assets/flowimg/coolWaterBox.png b/src/assets/flowimg/coolWaterBox.png new file mode 100644 index 0000000..cc256b6 Binary files /dev/null and b/src/assets/flowimg/coolWaterBox.png differ diff --git a/src/assets/flowimg/waterBox - 副本.png b/src/assets/flowimg/waterBox - 副本.png deleted file mode 100644 index 8f70533..0000000 Binary files a/src/assets/flowimg/waterBox - 副本.png and /dev/null differ diff --git a/src/assets/styles/element-ui.scss b/src/assets/styles/element-ui.scss index f50d80d..f1c1197 100644 --- a/src/assets/styles/element-ui.scss +++ b/src/assets/styles/element-ui.scss @@ -1451,4 +1451,11 @@ } .el-table__expand-icon{ color: #fff !important; +} +.el-tag.el-tag--danger { + font-weight: bold !important; +} +.el-tag.el-tag--success{ + font-weight: bold !important; + color: #03a249 !important; } \ No newline at end of file diff --git a/src/views/centerairC/hostRunReport/index.vue b/src/views/centerairC/hostRunReport/index.vue index 59509c2..ece9987 100644 --- a/src/views/centerairC/hostRunReport/index.vue +++ b/src/views/centerairC/hostRunReport/index.vue @@ -84,7 +84,7 @@ > - + diff --git a/src/views/centerairC/sysMonitor/hostDetails.vue b/src/views/centerairC/sysMonitor/hostDetails.vue index 690a5a1..84bf893 100644 --- a/src/views/centerairC/sysMonitor/hostDetails.vue +++ b/src/views/centerairC/sysMonitor/hostDetails.vue @@ -601,7 +601,7 @@ export default { item.otherName.includes("冷冻供水温度") || item.otherName.includes("冷却回水温度") || item.otherName.includes("冷却供水温度") || - item.otherName.includes("负载") + item.otherName.includes("主机-负载") ) { let dataItem = { name: item.otherName, diff --git a/src/views/centerairC/sysMonitor/monitorCenter.vue b/src/views/centerairC/sysMonitor/monitorCenter.vue index 800c867..e50f616 100644 --- a/src/views/centerairC/sysMonitor/monitorCenter.vue +++ b/src/views/centerairC/sysMonitor/monitorCenter.vue @@ -3108,7 +3108,7 @@ export default { top: 5.39rem; left: 4.15rem; width: 1.6rem; - // height: 1.2rem; + height: 1.2rem; // background-color: #007bff; border-top-right-radius: 0.3rem; cursor: pointer; diff --git a/src/views/comprehensiveEnergy/hotPumpLog/index.vue b/src/views/hotWater/hotPumpLog/index.vue similarity index 98% rename from src/views/comprehensiveEnergy/hotPumpLog/index.vue rename to src/views/hotWater/hotPumpLog/index.vue index b6ffb05..81c6c2e 100644 --- a/src/views/comprehensiveEnergy/hotPumpLog/index.vue +++ b/src/views/hotWater/hotPumpLog/index.vue @@ -54,7 +54,15 @@ - + @@ -757,24 +765,15 @@ export default { this.dayDate = [start1, end1]; // 更新 }, tableRowStyle({ row, column, rowIndex, columnIndex }) { - // 修改颜色 - // if (columnIndex === 1) { - // return "color: #fd1e00;!important;text-align:center"; - // } - // if (columnIndex === 2) { - // return "color: #3390ff;!important;text-align:center"; - // } if ( - rowIndex === 8 || - rowIndex === 13 || - rowIndex === 18 || - rowIndex === 21 || - rowIndex === 23 || - rowIndex === 25 || - rowIndex === 26 + columnIndex === 2 || + columnIndex === 6 || + columnIndex === 10 || + columnIndex === 14 ) { - return "color: #75d148;!important;font-weight: bold;background-color: rgba(0, 71, 125, 0.4)"; + return "color: #fd1e00;!important;text-align:center;font-weight: bold;"; } + // return "text-align:center"; }, // 选中日期事件 dateChange() { diff --git a/src/views/hotWater/waterMonitor/waterMonitorDetails.vue b/src/views/hotWater/waterMonitor/waterMonitorDetails.vue index 10ef88c..6e8e74e 100644 --- a/src/views/hotWater/waterMonitor/waterMonitorDetails.vue +++ b/src/views/hotWater/waterMonitor/waterMonitorDetails.vue @@ -73,7 +73,7 @@ -
+
公共信息
楼层:{{ currentName }}
-
+
@@ -576,6 +576,41 @@
+
+ +
+
+ + + +
+
+ {{ getPercentage(progress1) }}% +
+
+
+ {{ getPercentage(progress1) }}% +
+
+
最大值:3.2米
+
实际值:{{ progress1 }}米
+
+
+
+
@@ -633,6 +668,7 @@ export default { // 热泵名称 pumname: "", currentWeekday: "", + isShowHotWater: false, }; }, computed: { @@ -686,7 +722,9 @@ export default { this.getDayData(); // 设置定时器,每 10 秒执行一次 this.timer = setInterval(() => { - this.baseMessgae(); + if (this.isShowHotWater) { + this.baseMessgae(); + } this.sysStatus(); }, 10000); // 每秒更新一次时间 @@ -795,7 +833,10 @@ export default { if (newRes.data && newRes.data[0] && newRes.data[0].children) { newRes.data[0].children = newRes.data[0].children.filter((item) => { // 假设子项有一个 label属性,用于检查是否包含 "热水" - return item.label && item.label.includes("热水"); + return ( + (item.label && item.label.includes("热水")) || + item.label.includes("冷水") + ); }); } // 指定要保留的最大层级(从 1 开始计数),这里假设指定为第 4 级 @@ -829,12 +870,19 @@ export default { if (this.currentName === "-1楼") { this.progressName1 = "裙楼"; this.progressName2 = "中厨"; + this.isShowHotWater = true; + this.baseMessgae(); + this.sysStatus(); } else if (this.currentName === "3楼") { this.progressName1 = "高区"; this.progressName2 = "中区"; + this.isShowHotWater = true; + this.baseMessgae(); + this.sysStatus(); + } else { + this.isShowHotWater = false; + this.sysStatus(); } - this.baseMessgae(); - this.sysStatus(); } }); } @@ -921,15 +969,22 @@ export default { console.log("当前选中节点ID", this.currentId); console.log("当前选中节点层级", this.currentLevel); console.log("当前选中节点名称", this.currentName); - this.baseMessgae(); - this.sysStatus(); } if (this.currentName === "-1楼") { this.progressName1 = "裙楼"; this.progressName2 = "中厨"; + this.isShowHotWater = true; + this.baseMessgae(); + this.sysStatus(); } else if (this.currentName === "3楼") { this.progressName1 = "高区"; this.progressName2 = "中区"; + this.isShowHotWater = true; + this.baseMessgae(); + this.sysStatus(); + } else { + this.isShowHotWater = false; + this.sysStatus(); } }, handleClick(tab, event) { @@ -998,8 +1053,14 @@ export default { }, // 系统状态显示 sysStatus() { + let systemTypeId = ""; + if (this.isShowHotWater) { + systemTypeId = "1"; + } else { + systemTypeId = "6"; + } let data = { - systemType: "1", + systemType: systemTypeId, floorId: this.currentId, }; waterMonitorList(data).then((res) => { @@ -1029,6 +1090,10 @@ export default { } }); }, + getPercentage(value) { + // 将 progress1 的值转换为百分比 + return ((value / 3.2) * 100).toFixed(2); + }, }, }; @@ -1667,6 +1732,18 @@ export default { z-index: 3; } } + .waterBoxLong { + font-size: 0.17rem; + font-weight: normal; + font-stretch: normal; + line-height: 0.2rem; + letter-spacing: 0.01rem; + color: #0a3797; + position: absolute; + top: 2.4rem; + left: 3.6rem; + z-index: 3; + } .progressName1 { font-size: 0.17rem; font-weight: normal; @@ -2066,8 +2143,8 @@ export default { width: 100%; overflow-x: hidden !important; } - .base-height{ - overflow-y: hidden !important; + .base-height { + overflow-y: hidden !important; min-height: 250px !important; } .app-container .right-monitor {