From 593f6ccd3aec8045a26b4b330f2b034df05bfd9f Mon Sep 17 00:00:00 2001
From: seatonwan9 <seatonwan9@163.com>
Date: 星期五, 28 五月 2021 09:27:55 +0800
Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop

---
 src/components/panel/topicSearch/SewersSearch.vue |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue
index 7440f01..dfa3a7c 100644
--- a/src/components/panel/topicSearch/SewersSearch.vue
+++ b/src/components/panel/topicSearch/SewersSearch.vue
@@ -27,6 +27,12 @@
                                 </el-option>
                             </el-select>
                         </el-form-item>
+                        <div class="page_total">
+                            <p>鍏辫
+                                <span>{{total}}</span>
+                                鏉¤褰�
+                            </p>
+                        </div>
                         <div class="rightButtonSearch">
                             <el-input v-model="form.keyword" size="mini" placeholder="鍦ㄦ杈撳叆鍏抽敭瀛楁悳绱�"></el-input>
                             <el-button class="el-icon-search" @click="handleSearch"></el-button>
@@ -148,13 +154,13 @@
     // tab鍒囨崲
     handleClick (tab, event) {
       console.log(tab, event)
-      // if (tab.label === '鍒嗘瀽') {
-      //   // 鍏抽棴寮圭獥
-      //   window.mapManager.clickDialogSwitch = false
-      // } else {
-      //   // 鎵撳紑寮圭獥
-      //   window.mapManager.clickDialogSwitch = true
-      // }
+      if (tab.label === '鍒嗘瀽') {
+        // 鍏抽棴寮圭獥
+        window.mapManager.clickDialogSwitch = false
+      } else {
+        // 鎵撳紑寮圭獥
+        window.mapManager.clickDialogSwitch = true
+      }
     },
     // 鏍规嵁杩斿洖鏁版嵁 纭灞曠ず鍥剧墖
     getImgSrc () {
@@ -187,6 +193,7 @@
       // }
       // const _this = this
       const res = await AjaxUtils.GetDataAsynByUrl(this.wfsHelper.getUrl(), {})
+      console.log(res)
       if (res instanceof Object && Object.prototype.hasOwnProperty.call(res, 'features')) {
         this.total = res.totalFeatures
         this.list = res.features

--
Gitblit v1.8.0