Browse Source

检索功能修改

1 year ago
parent
commit
165c549103
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/views/GARDENBASEDATA/index.vue

+ 6 - 6
src/views/GARDENBASEDATA/index.vue

@@ -2,13 +2,14 @@
   <div class="app-container">
     <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="88px">
       <el-form-item label="企业名称" prop="deptId">
-        <el-select filterable v-model="queryParams.deptId" placeholder="请选择">
+        <!-- <el-select filterable v-model="queryParams.deptId" placeholder="请选择">
           <el-option v-for="item in deptList" :key="item.value" :label="item.deptName" :value="item.deptId">
           </el-option>
-        </el-select>
+        </el-select> -->
+        <el-input v-model="queryParams.deptName" placeholder="请输入企业名称"></el-input>
       </el-form-item>
       <el-form-item label="法定代表人" prop="fddbr">
-        <el-input v-model="queryParams.fddbr" placeholder="请输入"></el-input>
+        <el-input v-model="queryParams.fddbr" placeholder="请输入法定代表人"></el-input>
       </el-form-item>
       <el-form-item>
         <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
@@ -622,9 +623,8 @@ export default {
   },
   created() {
     this.getList();
-    getEnterprise({ type: 3 }).then((res) => {
-      this.deptList = res.data;
-    });
+    
+    
     getEnterprise({ type: 2 }).then((res) => {
       this.bsqList = res.data;
     });