Browse Source

1、冷源监测dialog添加固定;

2、冷源控制添加进出水阀门;
3、温湿度历史折线图优化;
4、温湿度实时监测总计离线优化;
5、生活热水样式优化;
dev
mh 1 month ago
parent
commit
6523670b57
  1. 25
      src/views/centerairC/sysControl/index.vue
  2. 2
      src/views/centerairC/sysMonitor/index.vue
  3. 2
      src/views/hotWater/waterControl/index.vue
  4. 3
      src/views/temSys/temHistory/components/historyCharts.vue
  5. 6
      src/views/temSys/temHistory/index.vue
  6. 2
      src/views/temSys/temMonitor/index.vue

25
src/views/centerairC/sysControl/index.vue

@ -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 {

2
src/views/centerairC/sysMonitor/index.vue

@ -482,7 +482,7 @@
width="680px"
append-to-body
>
<el-table :data="alarmList">
<el-table :data="alarmList" height="600px">
<el-table-column
prop="otherName"
label="报警位置"

2
src/views/hotWater/waterControl/index.vue

@ -143,7 +143,7 @@
</div>
</div>
<div class="words-li">
<div class="ash">启停控制:</div>
<div class="ash">&nbsp;&nbsp;&nbsp;:</div>
<div class="white">
<el-switch
style="display: block"

3
src/views/temSys/temHistory/components/historyCharts.vue

@ -27,6 +27,9 @@ export default {
immediate: true, //
handler(newVal, oldVal) {
if (newVal) {
this.chartData1 = []; // chartData1
this.chartData2 = []; // chartData2
this.bottomData = []; // bottomData
console.log("charts传值", newVal);
let data = newVal;
if (data.length > 0) {

6
src/views/temSys/temHistory/index.vue

@ -68,7 +68,7 @@
/>
</div>
</div>
<div class="title">{{ timeDate[0] }}-{{ timeDate[1] }}温湿度数据</div>
<div class="title">{{ dayDate[0] }}{{ dayDate[1] }}温湿度数据</div>
<!-- 图表和表格可以自由切换 -->
<history-charts
v-if="item.showCharts"
@ -81,7 +81,7 @@
</template>
<script>
import { format2 } from "@/utils/datetime";
import { format2,formatDay } from "@/utils/datetime";
import { spaceTree } from "@/api/region";
import { temHistory } from "@/api/temSys/temMonitor";
import historyCharts from "./components/historyCharts.vue";
@ -92,6 +92,7 @@ export default {
return {
loading: false,
timeDate: [],
dayDate:[],
//
queryParams: {
systemType: "4",
@ -133,6 +134,7 @@ export default {
const start = new Date(new Date().setHours(0, 0, 0, 0));
const end = new Date(new Date().setHours(23, 59, 59, 59));
this.timeDate = [format2(start), format2(end)]; //
this.dayDate = [formatDay(start), formatDay(end)];
},
getSysBuild() {
spaceTree().then((res) => {

2
src/views/temSys/temMonitor/index.vue

@ -47,7 +47,7 @@
<div class="wanrn-li">
<i class="el-icon-message-solid" style="color: #fa260a"></i>
<span>离线设备:</span>
<span class="gray-text">{{ offlineData }}</span>
<span class="gray-text">{{ offlineData/2 }}</span>
</div>
</div>
</div>

Loading…
Cancel
Save