From cf5ab6da9ff676fab8a10d4299bd5a04a07bf50f Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期一, 17 五月 2021 10:05:53 +0800
Subject: [PATCH] 修复默认选中图层时出现的BUG

---
 src/components/panel/topicSearch/SoilGroundWaterSearch.vue |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/components/panel/topicSearch/SoilGroundWaterSearch.vue b/src/components/panel/topicSearch/SoilGroundWaterSearch.vue
index e508dfe..6060961 100644
--- a/src/components/panel/topicSearch/SoilGroundWaterSearch.vue
+++ b/src/components/panel/topicSearch/SoilGroundWaterSearch.vue
@@ -1,6 +1,6 @@
 <template>
     <div class="sewers-search" v-if="gdVisible">
-        <div class="search-title">{{title}}</div>
+        <div class="panel-title">{{title}}</div>
         <div class="search-panel ">
             <el-form ref="form" :model="form" label-width="90px" class="search-form">
                 <el-form-item label="鍖哄煙锛�" size="mini" class="search-panel-item">
@@ -44,7 +44,7 @@
                         <!-- <i slot="prefix" class="el-input__icon el-icon-search"></i>-->
                         <!-- <i slot="suffix" class="search-btn el-input__icon el-icon-search" @click="handleSearch"></i> -->
                     </el-input>
-                    <el-buttom class="el-icon-search" @click="handleSearch"></el-buttom>
+                    <el-button class="el-icon-search" @click="handleSearch"></el-button>
                 </div>
 
                 <!--              </el-form-item>-->
@@ -127,8 +127,6 @@
 </template>
 
 <script>
-import { PipelineTypeOptions } from '@/conf/layers/LayerSewers'
-
 import WfsHelper from '@components/helpers/WfsHelper'
 import AjaxUtils from '@utils/AjaxUtils'
 export default {
@@ -137,7 +135,6 @@
     return {
       gdVisible: true,
       list: [],
-      labelList: PipelineTypeOptions[0].labelList,
       total: 0,
       inareaTypeOptions: [],
       enterpriseTypeOptions: [],
@@ -157,7 +154,8 @@
         { name: '涓�绾ч闄�', value: '2', color: 'sandybrown' },
         { name: '浜岀骇椋庨櫓', value: '3', color: 'yellow' },
         { name: '涓夌骇椋庨櫓', value: '4', color: 'green' }
-      ]
+      ],
+      areaTypeOptions: []
     }
   },
   props: ['title'],

--
Gitblit v1.8.0