Browse Source

采暖系统报表增加设定温度

gh_ers
25604 1 month ago
parent
commit
62f69a129f
  1. 31
      src/views/boilerSys/heatingRunReport/index.vue

31
src/views/boilerSys/heatingRunReport/index.vue

@ -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 }) {
// 2613 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",

Loading…
Cancel
Save