From 44e1d3824a7816864de8903ca8c579b6153ec891 Mon Sep 17 00:00:00 2001 From: 陈泽平 <chenzeping> Date: 星期日, 30 五月 2021 19:55:40 +0800 Subject: [PATCH] 企业应急-事件上报-搜索定位问题修改 --- src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue b/src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue index f468b7a..63fa1f4 100644 --- a/src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue +++ b/src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue @@ -20,9 +20,9 @@ <el-col :span="12"> <div class=search-list> <!-- <h4 :class="activeNum===index?'hover':''" @click="handleLocation(index)">鍚嶇О锛�<h3 style="display: inline-block">{{ item.name }}</h3></h4>--> - <h3 :class="activeNum===index?'hover':''" @click="handleLocation(index)">鍚嶇О锛歿{ item.name }}</h3> + <h3 style="text-overflow: ellipsis;white-space: nowrap;overflow: hidden" :class="activeNum===index?'hover':''" @click="handleLocation(index)">鍚嶇О锛歿{ item.name }}</h3> <p style="text-overflow: ellipsis;white-space: nowrap;overflow: hidden">鍦板潃锛�<span>{{ item.address }}</span> - <p>鐢佃瘽锛�<span>{{ item.phone }}</span></p> + <p style="text-overflow: ellipsis;white-space: nowrap;overflow: hidden">鐢佃瘽锛�<span>{{ item.phone }}</span></p> </div> </el-col> <el-col :span="8" style="text-align: right"> @@ -43,7 +43,7 @@ <el-col :span="12"> <div class=search-list> <!-- <h4 :class="activeNum===index?'hover':''" @click="handleLocation(index)">鍚嶇О锛�<h3 style="display: inline-block">{{ item.name }}</h3></h4>--> - <h3 :class="activeNum===index?'hover':''" @click="handleLocation(index)">鍚嶇О锛歿{ item.name }}</h3> + <h3 :class="activeNum===index?'hover':''" @click="handleLocation(index)" >鍚嶇О锛歿{ item.name }}</h3> <p style="text-overflow: ellipsis;white-space: nowrap;overflow: hidden">鍦板潃锛�<span>{{ item.address }}</span> <p>鐢佃瘽锛�<span>{{ item.phone }}</span></p> </div> @@ -55,9 +55,6 @@ </el-col> <!-- </div>--> </el-row> -<!-- <div v-if="item.resultType === 2">--> -<!-- <span>娌℃湁鏁版嵁浜�</span>--> -<!-- </div>--> <div v-if="total > 5"> <el-pagination small @@ -118,6 +115,7 @@ // 姣忔杩涜鎼滅储 閮藉涔嬪墠鏁扮粍鍒楄〃杩涜缃┖ this.searchList = [] this.total = '' + this.searchListStatistics = [] // 鎼滅储鏁版嵁data鍙傛暟 const getBoundsData = '' + window.map.getBounds().getSouthWest().lng + ',' + window.map.getBounds().getSouthWest().lat + ',' + window.map.getBounds().getNorthEast().lng + ',' + window.map.getBounds().getNorthEast().lat const data = { @@ -126,7 +124,7 @@ level: window.map.getZoom(), mapBound: getBoundsData, queryType: 7, - count: 20, + count: 50, start: 0, queryTerminal: 10000 }, -- Gitblit v1.8.0