派生自 wuyushui/SewerAndRainNetwork

seatonwan9
2021-05-30 3549c290a222caa01cc07aadd3801ba458128613
src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue
@@ -1,7 +1,11 @@
<template>
    <div class="click-location">
        <el-row>
            <el-input type="text" v-model="clickLocation" clearable @change="focusLocation"></el-input>
            <el-input type="text" v-model="clickLocation" @change="focusLocation">
                <el-button slot="suffix" type="text" @click="focusLocation">
                    <img src="../../../../../public/assets/images/map/emergency/search.png" alt="">
                </el-button>
            </el-input>
        </el-row>
        <!--        <el-scrollbar style="height:250.34px">-->
        <el-row v-for="(item,index) in searchList.slice((currentPage-1)*pageSize,currentPage*pageSize)" :key="index"
@@ -92,6 +96,7 @@
        },
        type: 'query'
      }
      // $http.get('http://10.246.133.164//api/search?', data)
      reportLocationSearch(data).then(res => {
        console.log(res)
        this.searchList = res.pois
@@ -176,10 +181,6 @@
        .el-input {
            width: 80%;
            margin: 15px auto;
        }
        .el-button {
            margin: 15px auto;
        }
    }