Browse Source

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

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

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

@ -57,6 +57,10 @@
prop="runStatusBoilerOne" prop="runStatusBoilerOne"
label="运行状态" label="运行状态"
></el-table-column> ></el-table-column>
<el-table-column
prop="tempSetBoilerOne"
label="设定温度(℃)"
></el-table-column>
<el-table-column <el-table-column
prop="tempOutBoilerOne" prop="tempOutBoilerOne"
label="出水温度(℃)" label="出水温度(℃)"
@ -79,6 +83,10 @@
prop="runStatusBoilerTwo" prop="runStatusBoilerTwo"
label="运行状态" label="运行状态"
></el-table-column> ></el-table-column>
<el-table-column
prop="tempSetBoilerTwo"
label="设定温度(℃)"
></el-table-column>
<el-table-column <el-table-column
prop="tempOutBoilerTwo" prop="tempOutBoilerTwo"
label="出水温度(℃)" label="出水温度(℃)"
@ -169,14 +177,21 @@
<el-col :span="24" class="oneRowLabel">1号采暖设备</el-col> <el-col :span="24" class="oneRowLabel">1号采暖设备</el-col>
</el-row> </el-row>
<el-row type="flex" justify="center"> <el-row type="flex" justify="center">
<el-col :span="24"> <el-col :span="12">
<el-form-item label="运行状态" prop="runStatusBoilerOne"> <el-form-item label="运 态" prop="runStatusBoilerOne">
<el-input <el-input
disabled disabled
v-model="form.runStatusBoilerOne" v-model="form.runStatusBoilerOne"
placeholder="" placeholder=""
/> </el-form-item /> </el-form-item
></el-col> ></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>
<el-row type="flex" justify="center"> <el-row type="flex" justify="center">
<el-col :span="12"> <el-col :span="12">
@ -218,14 +233,21 @@
<el-col :span="24" class="oneRowLabel">2号采暖设备</el-col> <el-col :span="24" class="oneRowLabel">2号采暖设备</el-col>
</el-row> </el-row>
<el-row type="flex" justify="center"> <el-row type="flex" justify="center">
<el-col :span="24"> <el-col :span="12">
<el-form-item label="运行状态" prop="runStatusBoilerTwo"> <el-form-item label="运 态" prop="runStatusBoilerTwo">
<el-input <el-input
disabled disabled
v-model="form.runStatusBoilerTwo" v-model="form.runStatusBoilerTwo"
placeholder="" placeholder=""
/> </el-form-item /> </el-form-item
></el-col> ></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>
<el-row type="flex" justify="center"> <el-row type="flex" justify="center">
<el-col :span="12"> <el-col :span="12">
@ -437,15 +459,16 @@ export default {
}, },
tableRowStyle({ row, column, rowIndex, columnIndex }) { tableRowStyle({ row, column, rowIndex, columnIndex }) {
// 2613 0 // 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]; // const value = row[column.property]; //
console.log("column", column);
if (value === "停止") { if (value === "停止") {
return { return {
color: "#fd1e00", color: "#fd1e00",
textAlign: "center", textAlign: "center",
fontWeight: "bold", fontWeight: "bold",
}; };
} else if (value === "运行") { } else if (value === "运行" || column.label.includes("设定温度")) {
return { return {
color: "#00c250", color: "#00c250",
textAlign: "center", textAlign: "center",

Loading…
Cancel
Save