From e79998e0764d6d00b050363bdeda48519a1f0c31 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期五, 28 五月 2021 20:21:06 +0800
Subject: [PATCH] 企业应急-事件上报-位置定位修改

---
 src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 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 ba23015..71d6826 100644
--- a/src/components/base-page/enterprise-emergency/events-reported/ReportLocationSearch.vue
+++ b/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('鎼滅储瀹氫綅')
     }
   }
 }

--
Gitblit v1.8.0