Browse Source

1、主机详情优化过滤;

2、监视界面屏蔽不需要的内容以及主机负载显示bug修复;
dev
25604 2 days ago
parent
commit
7339034221
  1. 5
      src/views/centerairC/sysMonitor/hostDetails.vue
  2. 16
      src/views/centerairC/sysMonitor/monitorCenter.vue

5
src/views/centerairC/sysMonitor/hostDetails.vue

@ -537,11 +537,12 @@ export default {
let newDataArray = []; //
data.forEach((item) => {
if (
item.otherName.includes("冷冻回水温度") ||
(item.otherName.includes("冷冻回水温度") ||
item.otherName.includes("冷冻供水温度") ||
item.otherName.includes("冷却回水温度") ||
item.otherName.includes("冷却供水温度") ||
item.otherName.includes("负载")
item.otherName.includes("主机负载"))
&& !item.otherName.includes("设定")
) {
let dataItem = {
name: item.otherName,

16
src/views/centerairC/sysMonitor/monitorCenter.vue

@ -115,7 +115,7 @@
</div>
</div>
<!-- 主机加减载时间 -->
<div class="detail-data-bottom">
<!-- <div class="detail-data-bottom">
<div class="detail-data-li">
<div class="rightDot">
<div class="leftDot">
@ -134,7 +134,7 @@
</div>
</div>
</div>
</div>
</div> -->
<!-- 一键启停 -->
<div class="offClass" @click="handleOneKeyButton">
<div v-if="isShowOn" class="off-bg on-animation">ON</div>
@ -145,10 +145,10 @@
<img class="step" src="../../../assets/images/step.png" alt="" />
<div class="tips-text">{{ startOrStopStatus }}</div>
</div>
<div class="funtion-menu1" @click="goPerformance">
<!-- <div class="funtion-menu1" @click="goPerformance">
<div class="menu-title"><div>冷机性能统计</div></div>
<img class="ditu" src="../../../assets/images/di.png" />
</div>
</div> -->
<div class="funtion-menu1 menu2" @click="goControl">
<div class="menu-title"><div>系统控制</div></div>
<img class="ditu" src="../../../assets/images/di.png" />
@ -574,8 +574,8 @@
<!-- 冷冻水流 -->
<div class="freezingOutWater">{{ freezingOutWater }}/h</div>
<!-- 冷冻进出水压力 -->
<div class="freezingInPre">{{ freezingInPre }}kpa</div>
<div class="freezingOutPre">{{ freezingOutPre }}kpa</div>
<div class="freezingInPre">{{ freezingInPre }}bar</div>
<div class="freezingOutPre">{{ freezingOutPre }}bar</div>
<!-- 冷却进出水温度 -->
<div class="coolingInTem">{{ coolingInTem }}</div>
<div class="coolingOutTem">{{ coolingOutTem }}</div>
@ -1187,11 +1187,11 @@ export default {
//
hostLoadData(index) {
// hostList
if (this.hostList.length <= index) {
if (this.hostList.length < index) {
return false;
}
// properties hostList[index]properties
const properties = this.hostList[index].properties;
const properties = this.hostList[index-1].properties;
if (!properties || properties.length === 0) {
return false;
}

Loading…
Cancel
Save