|
@@ -19,6 +19,21 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="开工锅炉" prop="boiler" label-width="50">
|
|
|
+ <el-checkbox v-model="boiler" @change="handleQuery"></el-checkbox>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="裂解" prop="cracking" label-width="50">
|
|
|
+ <el-checkbox v-model="cracking" @change="handleQuery"></el-checkbox>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="热区" prop="hotarea" label-width="50">
|
|
|
+ <el-checkbox v-model="hotarea" @change="handleQuery"></el-checkbox>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="冷区" prop="coldarea" label-width="50">
|
|
|
+ <el-checkbox v-model="coldarea" @change="handleQuery"></el-checkbox>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="芳烃" prop="aromatic" label-width="50">
|
|
|
+ <el-checkbox v-model="aromatic" @change="handleQuery"></el-checkbox>
|
|
|
+ </el-form-item>
|
|
|
<!--<el-form-item label="身份证件号" prop="idnum">-->
|
|
|
<!--<el-input-->
|
|
|
<!--v-model="queryParams.idnum"-->
|
|
@@ -1193,6 +1208,11 @@ export default {
|
|
|
loadedRatio: 0,
|
|
|
},
|
|
|
staffResumeVisible: false,
|
|
|
+ boiler: false,
|
|
|
+ cracking: false,
|
|
|
+ hotarea: false,
|
|
|
+ coldarea: false,
|
|
|
+ aromatic: false,
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
@@ -1477,11 +1497,43 @@ export default {
|
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
|
+ if (this.boiler == true) {
|
|
|
+ this.queryParams.boiler = "1";
|
|
|
+ } else {
|
|
|
+ this.queryParams.boiler = null;
|
|
|
+ }
|
|
|
+ if (this.cracking == true) {
|
|
|
+ this.queryParams.cracking = "1";
|
|
|
+ } else {
|
|
|
+ this.queryParams.cracking = null;
|
|
|
+ }
|
|
|
+ if (this.hotarea == true) {
|
|
|
+ this.queryParams.hotarea = "1";
|
|
|
+ } else {
|
|
|
+ this.queryParams.hotarea = null;
|
|
|
+ }
|
|
|
+ if (this.coldarea == true) {
|
|
|
+ this.queryParams.coldarea = "1";
|
|
|
+ } else {
|
|
|
+ this.queryParams.coldarea = null;
|
|
|
+ }
|
|
|
+ if (this.aromatic == true) {
|
|
|
+ this.queryParams.aromatic = "1";
|
|
|
+ } else {
|
|
|
+ this.queryParams.aromatic = null;
|
|
|
+ }
|
|
|
+ console.log(this.boiler)
|
|
|
+ console.log(this.queryParams)
|
|
|
this.queryParams.pageNum = 1;
|
|
|
this.getList();
|
|
|
},
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
+ this.boiler = false;
|
|
|
+ this.cracking = false;
|
|
|
+ this.hotarea = false;
|
|
|
+ this.coldarea = false;
|
|
|
+ this.aromatic = false;
|
|
|
this.resetForm("queryForm");
|
|
|
this.handleQuery();
|
|
|
},
|