From 80078586462a5d66221d716adca79b6173c2bc08 Mon Sep 17 00:00:00 2001
From: chenzeping <ChenZeping02609@163.com>
Date: 星期二, 09 三月 2021 17:04:33 +0800
Subject: [PATCH] 修改已知问题
---
src/components/panel/topicSearch/SewersSearch.vue | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue
index 4eb6302..6fe9340 100644
--- a/src/components/panel/topicSearch/SewersSearch.vue
+++ b/src/components/panel/topicSearch/SewersSearch.vue
@@ -1,9 +1,5 @@
<template>
<div class="sewers-search">
- <div class="el-message-box__header panel_header">
- <div class="el-message-box__title panel_title"><!----><span>{{ title }}</span>
- </div>
- </div>
<div class="el-message-box__content" style="padding:6px;font-size: 13px;">
<div class="box__content" v-if="gdVisible">
<div>
@@ -173,11 +169,18 @@
wfsHelper.addLike(this.form.query.key, this.form.keyword)
// const _this = this
AjaxUtils.GetDataAsynByUrl(wfsHelper.getUrl(), {}, (res) => {
+ console.log(res)
this.list = res.features
})
},
handleLocation (val) {
console.log(val)
+ const bound = this.L.geoJSON([val], {}).getBounds()
+ console.log(bound)
+ var layer = window.serviceLayerHelper.getByLayerId(val.id)
+ console.log(layer)
+ layer && layer.openPopup()
+ this.$store.state.map.map.flyToBounds(bound)
}
}
}
--
Gitblit v1.8.0