diff --git a/.env.development b/.env.development index 13c7001..a08e7e1 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:8091' +# VUE_APP_BASE_API = 'http://106.55.173.225:8091' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/assets/flowimg/supply-move3.gif b/src/assets/flowimg/supply-move3.gif new file mode 100644 index 0000000..f1db1d6 Binary files /dev/null and b/src/assets/flowimg/supply-move3.gif differ diff --git a/src/assets/flowimg/supply-move3.png b/src/assets/flowimg/supply-move3.png new file mode 100644 index 0000000..36c5dd0 Binary files /dev/null and b/src/assets/flowimg/supply-move3.png differ diff --git a/src/views/hotWater/waterMonitor/waterMonitorDetails.vue b/src/views/hotWater/waterMonitor/waterMonitorDetails.vue index 7bd2693..2e3f3da 100644 --- a/src/views/hotWater/waterMonitor/waterMonitorDetails.vue +++ b/src/views/hotWater/waterMonitor/waterMonitorDetails.vue @@ -96,6 +96,7 @@ />
楼层:{{ currentName }}
+
@@ -576,10 +577,120 @@
+
+ + + + + +
+ 当前有报警信号触发 +
+ + + + + +
+ 泵1:{{ threePumpObj.upWaterState1.freq1 }}Hz +
+ + + + +
+ 泵2:{{ threePumpObj.upWaterState1.freq2 }}Hz +
+ + + + +
+ 泵3:{{ threePumpObj.upWaterState1.freq3 }}Hz +
最大值:3.2米
实际值:{{ progress1 }}米
+
+ 入口压力:{{ threePumpObj.inPress }}bar +
+
+ 目标压力:{{ threePumpObj.goalPress }}bar +
+
+ 出口压力:{{ threePumpObj.outPress }}bar +
@@ -669,6 +789,8 @@ export default { pumname: "", currentWeekday: "", isShowHotWater: false, + + threePumpObj: {}, }; }, computed: { @@ -998,7 +1120,9 @@ export default { if (this.isShowHotWater) { this.progress1 = row.waterLevel1; } else { - this.progress1 = row.waterLevel1 - 0.1; + this.progress1 = Math.round((row.waterLevel1 - 0.1) * 100) / 100; + // 三个泵的数据 + this.threePumpObj = row; } this.progress2 = row.waterLevel2; this.temdata = row.waterTemp; @@ -2015,6 +2139,91 @@ export default { } } } + .supply3 { + position: absolute; + top: 1.2rem; + left: 0rem; + width: 12.3rem; + height: 4.4rem; + z-index: 0; + } + .coolpum1 { + width: 0.9rem; + height: 0.68rem; + position: absolute; + top: 2.65rem; + left: 0.6rem; + z-index: 2; + } + .coolpum2 { + width: 0.9rem; + height: 0.68rem; + position: absolute; + top: 3.85rem; + left: 0.6rem; + z-index: 2; + } + .coolpum3 { + width: 0.9rem; + height: 0.68rem; + position: absolute; + top: 5.1rem; + left: 0.6rem; + z-index: 2; + } + .pumpName1 { + position: absolute; + top: 3.35rem; + left: 0.85rem; + z-index: 1; + } + .pumpName2 { + position: absolute; + top: 4.55rem; + left: 0.85rem; + z-index: 1; + } + .pumpName3 { + position: absolute; + top: 5.8rem; + left: 0.85rem; + z-index: 1; + } + .inPressure { + position: absolute; + top: 1rem; + left: 0.85rem; + z-index: 1; + } + .goalPressure { + position: absolute; + top: 3.6rem; + left: 6.85rem; + z-index: 1; + } + .outPressure { + position: absolute; + top: 3.9rem; + left: 6.85rem; + z-index: 1; + } + .warning { + position: absolute; + width: 0.5rem; + height: 0.5rem; + top: 2rem; + right: 1rem; + z-index: 1; + /* 添加闪烁动画 */ + animation: blink 1s infinite; + } + .warning-text { + position: absolute; + top: 2.6rem; + right: 0.5rem; + z-index: 1; + color: #e40825; + } } }