|
@@ -7,9 +7,9 @@
|
|
|
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="110px">
|
|
|
+ <el-form :model="queryParams1" ref="queryForm1" size="small" :inline="true" v-show="showSearch" label-width="110px">
|
|
|
<el-form-item label="工程名称" prop="enginName">
|
|
|
- <el-input v-model="queryParams.enginName" placeholder="请输入工程名称"></el-input>
|
|
|
+ <el-input v-model="queryParams1.enginName" placeholder="请输入工程名称"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
@@ -76,8 +76,8 @@
|
|
|
<pagination
|
|
|
v-show="total>0"
|
|
|
:total="total"
|
|
|
- :page.sync="queryParams.pageNum"
|
|
|
- :limit.sync="queryParams.pageSize"
|
|
|
+ :page.sync="queryParams1.pageNum"
|
|
|
+ :limit.sync="queryParams1.pageSize"
|
|
|
@pagination="getList"
|
|
|
/>
|
|
|
|
|
@@ -296,6 +296,11 @@
|
|
|
],
|
|
|
nodeType:'1', // 节点类型
|
|
|
// 查询参数
|
|
|
+ queryParams1: {
|
|
|
+ enginName:'',
|
|
|
+ pageNum:1,
|
|
|
+ pageSize:10
|
|
|
+ },
|
|
|
queryParams: {
|
|
|
enginName:'', // 工程名称
|
|
|
enginAddre:'', // 工程地址
|
|
@@ -442,9 +447,7 @@
|
|
|
/** 查询开栓|安检|维修列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
- getPipeJackingList({
|
|
|
- enginName:''
|
|
|
- }).then(res => {
|
|
|
+ getPipeJackingList(this.queryParams1).then(res => {
|
|
|
this.comprehensiveList = res.rows;
|
|
|
this.total = res.total;
|
|
|
this.loading = false;
|
|
@@ -466,12 +469,12 @@
|
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
|
- this.queryParams.pageNum = 1;
|
|
|
+ this.queryParams1.pageNum = 1;
|
|
|
this.getList();
|
|
|
},
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
- this.resetForm("queryForm");
|
|
|
+ this.queryParams1.enginName=''
|
|
|
this.handleQuery();
|
|
|
},
|
|
|
// 多选框选中数据
|