|
@@ -74,6 +74,7 @@
|
|
<span>{{ parseTime(scope.row.recordTime, '{y}-{m}-{d}') }}</span>
|
|
<span>{{ parseTime(scope.row.recordTime, '{y}-{m}-{d}') }}</span>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
+ <el-table-column label="状态" align="center" prop="status" :show-overflow-tooltip="true" width="80" :formatter="statusFormat"/>
|
|
<el-table-column label="PASS1出口左" align="center" prop="pass1" :show-overflow-tooltip="true">
|
|
<el-table-column label="PASS1出口左" align="center" prop="pass1" :show-overflow-tooltip="true">
|
|
<el-table-column label="入口" align="center" width="60">
|
|
<el-table-column label="入口" align="center" width="60">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
@@ -308,6 +309,16 @@
|
|
placeholder="选择巡检日期">
|
|
placeholder="选择巡检日期">
|
|
</el-date-picker>
|
|
</el-date-picker>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
+ <el-form-item label="状态">
|
|
|
|
+ <el-select v-model="form.status" placeholder="请选择" size="small" @change="handleChange">
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in statusOptions"
|
|
|
|
+ :key="item.dictValue"
|
|
|
|
+ :label="item.dictLabel"
|
|
|
|
+ :value="item.dictValue">
|
|
|
|
+ </el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
<el-form-item label="归属部门" prop="deptId">
|
|
<el-form-item label="归属部门" prop="deptId">
|
|
<treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
|
|
<treeselect v-model="form.deptId" :options="deptOptions" :show-count="true" placeholder="请选择归属部门" />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
@@ -574,7 +585,9 @@
|
|
id: [
|
|
id: [
|
|
{ required: true, message: "主键id不能为空", trigger: "blur" }
|
|
{ required: true, message: "主键id不能为空", trigger: "blur" }
|
|
],
|
|
],
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ // 状态字典
|
|
|
|
+ statusOptions: [],
|
|
};
|
|
};
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -589,12 +602,52 @@
|
|
this.clientHeight = document.body.clientHeight -250
|
|
this.clientHeight = document.body.clientHeight -250
|
|
})
|
|
})
|
|
// this.getList();
|
|
// this.getList();
|
|
- // this.getTreeselect();
|
|
|
|
|
|
+ this.getTreeselect();
|
|
|
|
+ this.getDicts("FURNANCE_STATUS").then(response => {
|
|
|
|
+ this.statusOptions = response.data;
|
|
|
|
+ });
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
init() {
|
|
init() {
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
|
|
+ handleChange() {
|
|
|
|
+ if (this.form.status != '0') {
|
|
|
|
+ this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass4 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass5 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass6 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass7 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass8 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass9 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass10 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass11 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass12 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass13 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass14 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass15 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ this.pass16 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
|
|
|
|
+ } else {
|
|
|
|
+ this.pass1 = [];
|
|
|
|
+ this.pass2 = [];
|
|
|
|
+ this.pass3 = [];
|
|
|
|
+ this.pass4 = [];
|
|
|
|
+ this.pass5 = [];
|
|
|
|
+ this.pass6 = [];
|
|
|
|
+ this.pass7 = [];
|
|
|
|
+ this.pass8 = [];
|
|
|
|
+ this.pass9 = [];
|
|
|
|
+ this.pass10 = [];
|
|
|
|
+ this.pass11 = [];
|
|
|
|
+ this.pass12 = [];
|
|
|
|
+ this.pass13 = [];
|
|
|
|
+ this.pass14 = [];
|
|
|
|
+ this.pass15 = [];
|
|
|
|
+ this.pass16 = [];
|
|
|
|
+ }
|
|
|
|
+ },
|
|
/** 查询裂解炉炉管测压列表 */
|
|
/** 查询裂解炉炉管测压列表 */
|
|
getList() {
|
|
getList() {
|
|
this.loading = true;
|
|
this.loading = true;
|
|
@@ -623,6 +676,10 @@
|
|
this.loading = false;
|
|
this.loading = false;
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ // 字典翻译
|
|
|
|
+ statusFormat(row, column) {
|
|
|
|
+ return this.selectDictLabel(this.statusOptions, row.status);
|
|
|
|
+ },
|
|
/** 查询部门下拉树结构 */
|
|
/** 查询部门下拉树结构 */
|
|
getTreeselect() {
|
|
getTreeselect() {
|
|
treeselect().then(response => {
|
|
treeselect().then(response => {
|