|
@@ -8,12 +8,12 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="projectName" label="项目名称" align="center" width="200" show-overflow-tooltip fixed />
|
|
|
<el-table-column prop="boxName" label="盒子名称" align="center" width="180" show-overflow-tooltip fixed />
|
|
|
- <el-table-column prop="runStatus" label="在线状态" align="center" width="80">
|
|
|
+ <el-table-column prop="runStatus" label="在线状态" align="center" width="80" fixed>
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ runStatMap[scope.row.runStatus] }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="runMode" label="运行模式" align="center" width="80">
|
|
|
+ <el-table-column prop="runMode" label="运行模式" align="center" width="80" fixed>
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ runModeMap[scope.row.runMode] }}</span>
|
|
|
</template>
|
|
@@ -139,10 +139,11 @@ export default {
|
|
|
// 继续判断有多少单机,主机、新风机、换热站、末端单机数量取最大值
|
|
|
let maxCnt = this.calcMaxStandaloneCnt(b);
|
|
|
for (let i = 0; i < maxCnt; i++) {
|
|
|
- let hpStandalone = i < b.hostCtrl && b.hostCtrl.length ? b.hostCtrl[i] : {};
|
|
|
- let dhStandalone = i < b.newTrendCtrl && b.newTrendCtrl.length ? b.newTrendCtrl[i] : {};
|
|
|
- let hexStandalone = i < b.hex && b.hex.length ? b.hex[i] : {};
|
|
|
- let cbStandalone = i < b.end && b.end.length ? b.end[i] : {};
|
|
|
+ let hpStandalone = b.hostCtrl && i < b.hostCtrl.length ? b.hostCtrl[i] : {};
|
|
|
+ let dhStandalone = b.newTrendCtrl && i < b.newTrendCtrl.length ? b.newTrendCtrl[i] : {};
|
|
|
+ let hexStandalone = b.hex && i < b.hex.length ? b.hex[i] : {};
|
|
|
+ let cbStandalone = b.end && i < b.end.length ? b.end[i] : {};
|
|
|
+
|
|
|
tableData.push({
|
|
|
projectId: p.project_auto_id,
|
|
|
projectName: p.projectName,
|