派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-30 44e1d3824a7816864de8903ca8c579b6153ec891
企业应急-事件上报-搜索定位问题修改
1个文件已修改
10 ■■■■■ 已修改文件
src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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">
@@ -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
        },