瀏覽代碼

园区贸易数据:列表添加“园区名称”搜索

hezhihong 1 年之前
父節點
當前提交
733bcf5af6
共有 1 個文件被更改,包括 12 次插入3 次删除
  1. 12 3
      src/views/GARDENTRADEDATA/index.vue

+ 12 - 3
src/views/GARDENTRADEDATA/index.vue

@@ -1,11 +1,17 @@
 <template>
   <div class="app-container">
-    <!-- <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
+    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
+      <el-form-item label="园区名称">
+        <el-input
+          v-model="queryParams.gardenName"
+          placeholder="请输入园区名称"
+        ></el-input>
+      </el-form-item>
       <el-form-item>
         <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
       </el-form-item>
-    </el-form> -->
+    </el-form>
 
     <el-row :gutter="10" class="mb8">
       <el-col :span="1.5">
@@ -194,7 +200,9 @@ export default {
         gardenInnovative: null,
         companyWaterElectric: null,
         gardenWaterElectric: null,
-        createTime: null
+        createTime: null,
+
+        gardenName: '', // 园区名称
       },
       // 表单参数
       form: {},
@@ -281,6 +289,7 @@ export default {
     },
     /** 重置按钮操作 */
     resetQuery() {
+      this.queryParams.gardenName = '';
       this.resetForm("queryForm");
       this.handleQuery();
     },