From 022e02466285107b4d7c47a22d672dbce7a2de29 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期五, 21 五月 2021 11:29:49 +0800 Subject: [PATCH] 配置图层线、面顺序 --- src/components/panel/topicSearch/SewersSearch.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/panel/topicSearch/SewersSearch.vue b/src/components/panel/topicSearch/SewersSearch.vue index 1948348..3976569 100644 --- a/src/components/panel/topicSearch/SewersSearch.vue +++ b/src/components/panel/topicSearch/SewersSearch.vue @@ -38,10 +38,9 @@ :class="activeNum===index?'hover':''"> <img class="state" :src="getImgSrc()" style="background: none"/> <div> - <h3 @click="handleLocation(item,index)">{{ item.properties.pipename }} - {{item.properties.companyname }}</h3> + <h3 @click="handleLocation(item,index)">{{ item.properties.name || item.properties.code }}</h3> <p>鎵�灞炰紒涓氾細<span>{{ item.properties.orgname }}</span> - <p>璁炬柦绫诲瀷锛�<span>{{form.pipelineType}}</span> + <p>璁炬柦绫诲瀷锛�<span>{{ item.properties.type }}</span> <el-button v-if="fuShuSheShiShow" class="rt btn00fff6" size="mini" style="margin-right: 0.04rem;" @click="btnAffiliatedFacilities(item,index)"> @@ -174,11 +173,11 @@ this.list = [] this.wfsHelper.clearFilter() // todo 鐜板湪绠$綉杩樻病鍖哄垎寮�绫诲瀷锛屽悗闈㈡敼 - this.wfsHelper.setTypeName([this.form.dataType.typeName]) + this.wfsHelper.setTypeName(['sewer:view_pipeline']) if (this.form.keyword) { this.wfsHelper.addLike('name', this.form.keyword) - this.wfsHelper.setFilter(this.form.keyword) } + this.wfsHelper.addEquals('type', '\'' + this.form.dataType.sname + '\'') // const filter = this.form.dataType.filter // if (filter) { // this.wfsHelper.setFilter(filter) @@ -189,6 +188,7 @@ this.total = res.totalFeatures this.list = res.features } + this.wfsHelper = new WfsHelper() }, // 鐐瑰嚮鎼滅储鍒扮殑鏁版嵁 瀹炵幇鍔熻兘 = 瀹氫綅 楂樹寒 寮规 handleLocation (val, index) { -- Gitblit v1.8.0