diff --git a/src/views/boilerSys/heatingRunReport/index.vue b/src/views/boilerSys/heatingRunReport/index.vue index 2ac3156..2b88d65 100644 --- a/src/views/boilerSys/heatingRunReport/index.vue +++ b/src/views/boilerSys/heatingRunReport/index.vue @@ -57,6 +57,10 @@ prop="runStatusBoilerOne" label="运行状态" > + + 1号采暖设备 - - + + + + + @@ -218,14 +233,21 @@ 2号采暖设备 - - + + + + + @@ -437,15 +459,16 @@ export default { }, tableRowStyle({ row, column, rowIndex, columnIndex }) { // 只处理第 2、6、13 列(索引从 0 开始) - if ([1, 6, 11, 13, 15].includes(columnIndex)) { + if ([1, 2, 7, 8, 11, 13, 15, 17].includes(columnIndex)) { const value = row[column.property]; // 获取当前单元格的值 + console.log("column", column); if (value === "停止") { return { color: "#fd1e00", textAlign: "center", fontWeight: "bold", }; - } else if (value === "运行") { + } else if (value === "运行" || column.label.includes("设定温度")) { return { color: "#00c250", textAlign: "center",