|
@@ -11,6 +11,7 @@
|
|
|
<el-table-column prop="runStatus" label="在线状态" align="center" width="80" fixed>
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ runStatMap[scope.row.runStatus] }}</span>
|
|
|
+ <!-- <el-tag color="red">{{ runStatMap[scope.row.runStatus] }}</el-tag> -->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="runMode" label="运行模式" align="center" width="80" fixed>
|
|
@@ -21,9 +22,21 @@
|
|
|
|
|
|
<!-- 主机列 Begin -->
|
|
|
<el-table-column label="主机控制器" align="center" width="60">
|
|
|
- <el-table-column prop="host_order" label="编号" align="center" width="60" />
|
|
|
- <el-table-column prop="host_connect_status" label="通讯状态" align="center" width="80" />
|
|
|
- <el-table-column prop="host_fault" label="故障" align="center" width="80" />
|
|
|
+ <el-table-column prop="host_order" label="编号" align="center" width="60">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.host_order || '-' }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="host_connect_status" label="通讯状态" align="center" width="80">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ connectStatMap[scope.row.host_connect_status] || '-' }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="host_fault" label="故障" align="center" width="80" >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span>{{ scope.row.host_fault || '-' }}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column prop="host_su_temp" label="供水水温(℃)" align="center" width="100" />
|
|
|
<el-table-column prop="host_re_temp" label="回水水温(℃)" align="center" width="100" />
|
|
|
<el-table-column prop="host_temp_diff" label="温差" align="center" width="80" />
|
|
@@ -107,7 +120,11 @@ export default {
|
|
|
3: '除湿',
|
|
|
4: '预热',
|
|
|
5: '通风'
|
|
|
- }
|
|
|
+ },
|
|
|
+ connectStatMap: {
|
|
|
+ 0: '异常',
|
|
|
+ 1: '正常',
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
created() {
|