|
|
|
|
@ -57,6 +57,10 @@
|
|
|
|
|
prop="runStatusBoilerOne" |
|
|
|
|
label="运行状态" |
|
|
|
|
></el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="tempSetBoilerOne" |
|
|
|
|
label="设定温度(℃)" |
|
|
|
|
></el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="tempOutBoilerOne" |
|
|
|
|
label="出水温度(℃)" |
|
|
|
|
@ -79,6 +83,10 @@
|
|
|
|
|
prop="runStatusBoilerTwo" |
|
|
|
|
label="运行状态" |
|
|
|
|
></el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="tempSetBoilerTwo" |
|
|
|
|
label="设定温度(℃)" |
|
|
|
|
></el-table-column> |
|
|
|
|
<el-table-column |
|
|
|
|
prop="tempOutBoilerTwo" |
|
|
|
|
label="出水温度(℃)" |
|
|
|
|
@ -169,7 +177,7 @@
|
|
|
|
|
<el-col :span="24" class="oneRowLabel">1号采暖设备</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row type="flex" justify="center"> |
|
|
|
|
<el-col :span="24"> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="运 行 状 态" prop="runStatusBoilerOne"> |
|
|
|
|
<el-input |
|
|
|
|
disabled |
|
|
|
|
@ -177,6 +185,13 @@
|
|
|
|
|
placeholder="" |
|
|
|
|
/> </el-form-item |
|
|
|
|
></el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="设定温度℃" prop="tempSetBoilerOne"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="form.tempSetBoilerOne" |
|
|
|
|
placeholder="" |
|
|
|
|
/> </el-form-item |
|
|
|
|
></el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row type="flex" justify="center"> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
@ -218,7 +233,7 @@
|
|
|
|
|
<el-col :span="24" class="oneRowLabel">2号采暖设备</el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row type="flex" justify="center"> |
|
|
|
|
<el-col :span="24"> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="运 行 状 态" prop="runStatusBoilerTwo"> |
|
|
|
|
<el-input |
|
|
|
|
disabled |
|
|
|
|
@ -226,6 +241,13 @@
|
|
|
|
|
placeholder="" |
|
|
|
|
/> </el-form-item |
|
|
|
|
></el-col> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item label="设定温度℃" prop="tempSetBoilerTwo"> |
|
|
|
|
<el-input |
|
|
|
|
v-model="form.tempSetBoilerTwo" |
|
|
|
|
placeholder="" |
|
|
|
|
/> </el-form-item |
|
|
|
|
></el-col> |
|
|
|
|
</el-row> |
|
|
|
|
<el-row type="flex" justify="center"> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
@ -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", |
|
|
|
|
|