|
|
|
@ -43,6 +43,12 @@
|
|
|
|
|
@operationControl="hadleOperationConrol" |
|
|
|
|
></vavleheader> |
|
|
|
|
</div> |
|
|
|
|
<div class="device-container"> |
|
|
|
|
<vavleheader |
|
|
|
|
:valveList="coolingAndHeatingOutValve" |
|
|
|
|
@operationControl="hadleOperationConrol" |
|
|
|
|
></vavleheader> |
|
|
|
|
</div> |
|
|
|
|
</el-tab-pane> |
|
|
|
|
<el-tab-pane label="冷却泵" name="coolingPump"> |
|
|
|
|
<div class="device-container"> |
|
|
|
@ -105,7 +111,8 @@ export default {
|
|
|
|
|
total: null, |
|
|
|
|
freezingValve: [], //冷冻蝶阀 |
|
|
|
|
coolingValve: [], //冷却蝶阀 |
|
|
|
|
coolingTowerOutValve: [], //冷却塔出水阀 |
|
|
|
|
coolingTowerOutValve: [], //冷却塔出水进水阀 |
|
|
|
|
coolingAndHeatingOutValve: [], //供冷供暖出水进水阀 |
|
|
|
|
activeName: "valve", //设备管理 |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
@ -310,6 +317,7 @@ export default {
|
|
|
|
|
this.freezingValve = []; |
|
|
|
|
this.coolingValve = []; |
|
|
|
|
this.coolingTowerOutValve = []; |
|
|
|
|
this.coolingAndHeatingOutValve = []; |
|
|
|
|
this.deviceList.forEach((list) => { |
|
|
|
|
if (list.name.includes("机") && !list.name.includes("风")) { |
|
|
|
|
this.hostList.push(list); |
|
|
|
@ -334,6 +342,21 @@ export default {
|
|
|
|
|
if (list.name.includes("冷却塔出水阀")) { |
|
|
|
|
this.coolingTowerOutValve.push(list); |
|
|
|
|
} |
|
|
|
|
if (list.name.includes("冷却塔进水阀")) { |
|
|
|
|
this.coolingTowerOutValve.push(list); |
|
|
|
|
} |
|
|
|
|
if (list.name.includes("供冷出水阀")) { |
|
|
|
|
this.coolingAndHeatingOutValve.push(list); |
|
|
|
|
} |
|
|
|
|
if (list.name.includes("供冷进水阀")) { |
|
|
|
|
this.coolingAndHeatingOutValve.push(list); |
|
|
|
|
} |
|
|
|
|
if (list.name.includes("供暖出水阀")) { |
|
|
|
|
this.coolingAndHeatingOutValve.push(list); |
|
|
|
|
} |
|
|
|
|
if (list.name.includes("供暖进水阀")) { |
|
|
|
|
this.coolingAndHeatingOutValve.push(list); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
console.log("处理过后的主机列表", this.hostList); |
|
|
|
|
} else { |
|
|
|
|