From abec19ab1f5dca6b5177bc7c02cabf09f30b8686 Mon Sep 17 00:00:00 2001 From: ChenZeping <chenzeping> Date: 星期二, 11 五月 2021 10:47:38 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/components/panel/topicSearch/SewersSearch.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue index 2213bef..99842ad 100644 --- a/src/components/panel/topicSearch/SewersSearch.vue +++ b/src/components/panel/topicSearch/SewersSearch.vue @@ -32,7 +32,7 @@ </div> </el-form> </div> - <el-scrollbar style="height:380.44px;"> + <el-scrollbar style="height:413px;"> <div class="environmental-risk-list" v-for="(item,index) in list" :key="index" :class="activeNum==index?'hover':''"> <img class="state" :src="getImgSrc()" style="background: none"/> <div> @@ -144,11 +144,12 @@ this.list = [] var wfsHelper = new WfsHelper() // todo 鐜板湪绠$綉杩樻病鍖哄垎寮�绫诲瀷锛屽悗闈㈡敼 - wfsHelper.addTypeName(this.form.dataType.sname) - wfsHelper.addLike('name', this.form.keyword) + wfsHelper.addTypeName(this.form.dataType.typeName) + if (this.form.keyword) { + wfsHelper.addLike('name', this.form.keyword) + } // const _this = this const res = await AjaxUtils.GetDataAsynByUrl(wfsHelper.getUrl(), {}) - console.log(res) if (res instanceof Object && Object.prototype.hasOwnProperty.call(res, 'features')) { this.list = res.features } -- Gitblit v1.8.0