From 5a53b178955ad7c6197d25d62f98b0967a4e1df5 Mon Sep 17 00:00:00 2001 From: 陈泽平 <chenzeping> Date: 星期四, 27 五月 2021 21:49:42 +0800 Subject: [PATCH] 企业应急-事件上报-分类定位 --- 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