浏览代码

1. 增加一级企业列表查询

sugb 3 天之前
父节点
当前提交
06f1707712
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      src/components/OneMap/widgets/QueryTool.vue

+ 5 - 2
src/components/OneMap/widgets/QueryTool.vue

@@ -17,6 +17,7 @@
           </a-select>
           <j-dict-select-tag style='width:76%;margin-top: 3%' v-if="this.queryList.includes('sf')" type='list'
                              v-model='keyword' dictCode='sfgyz' placeholder='' />
+          <!--闲置低效-->
           <a-select v-else-if="this.queryList.includes('tdsyxz')" @pressEnter='handleSearch' v-model='keyword'
                     style='width:76%;margin-top: 3%'>
             <a-select-option value='闲置低效土地'>
@@ -29,6 +30,7 @@
             <!--              正常使用-->
             <!--            </a-select-option>-->
           </a-select>
+          <!--一级企业-->
           <a-select v-else-if="this.queryList.includes('xfzx_id')" @pressEnter='handleSearch' v-model='keyword'
                     style='width:76%;margin-top: 3%'>
             <a-select-option v-for="(name, index) in orgName" :key="index" :value='name'>
@@ -44,7 +46,7 @@
                           @pressEnter='handleSearch' />
 
           <a-tooltip placement='bottom'
-                     v-if="this.queryList.includes('sf')||this.queryList.includes('tdsyxz')||this.queryList.includes('xz')||this.queryList.includes('sf')||this.queryList.includes('xfzx_id')">
+                     v-if="this.queryList.includes('sf')||this.queryList.includes('tdsyxz')||this.queryList.includes('xzqh')||this.queryList.includes('xfzx_id')">
             <template slot='title'>
               <span>搜索</span>
             </template>
@@ -288,6 +290,7 @@ export default {
       } else {
         this.$message.warn('请输入查询关键字!')
       }
+      //this.keyword=''
     },
     selectChange(val) {
       let temp = []
@@ -299,7 +302,7 @@ export default {
       // this.placeholder = temp[0].inputTip;
       this.returntree = temp[0].returntree == 'true' ? true : false
       this.queryLists = temp[0].queryList
-
+      this.keyword=''
     },
     handleCoord(item) {