派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-28 e79998e0764d6d00b050363bdeda48519a1f0c31
src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue
@@ -13,6 +13,7 @@
import { reportLocationSearch } from '../../../../api/request'
import { pulseEffect } from '../../../../utils/utils'
import eventBus from '../../../../eventBus'
export default {
  name: 'ReportLocationSearch',
  data () {
@@ -58,8 +59,9 @@
    // 点击确认按钮事件
    confirm () {
      // 通过子组件向父组件传递数据
      this.$emit('locationClick', this.LongLatPos)
      console.log('搜索定位')
      // this.$emit('locationClick', this.LongLatPos)
      eventBus.$emit('location-setChange', true)
      // console.log('搜索定位')
    }
  }
}