Browse Source

振兴乡村首页

彭宇 2 years ago
parent
commit
bbcc9e5932
1 changed files with 18 additions and 18 deletions
  1. 18 18
      src/views/eventdetailsdialog.vue

+ 18 - 18
src/views/eventdetailsdialog.vue

@@ -1738,15 +1738,15 @@ export default {
       let that = this
       //获取事件详情
       getEventDetail({ eventCode: eventCode }).then(res => {
-        this.eventDialog = true
-        this.eventLogList = res.data.eventlog//日志列表
-        this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
-        this.address = res.data.catalogue.address
-        this.eventStatusValue = res.data.catalogue.eventStatusValue
-        this.eventType = res.data.catalogue.eventType
-        this.eventId = res.data.catalogue.id
-        this.longitude = res.data.catalogue.longitude
-        this.latitude = res.data.catalogue.latitude
+        that.eventDialog = true
+        that.eventLogList = res.data.eventlog//日志列表
+        that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
+        that.address = res.data.catalogue.address
+        that.eventStatusValue = res.data.catalogue.eventStatusValue
+        that.eventType = res.data.catalogue.eventType
+        that.eventId = res.data.catalogue.id
+        that.longitude = res.data.catalogue.longitude
+        that.latitude = res.data.catalogue.latitude
         let markersMap = {
           lng: 124.59,
           lat: 43.02,
@@ -1816,15 +1816,15 @@ export default {
       let that = this
       //刷新--事件详情
       getEventDetail({ eventCode: eventCode }).then(res => {
-        this.eventDialog = true
-        this.eventLogList = res.data.eventlog
-        this.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
-        this.address = res.data.catalogue.address
-        this.eventStatusValue = res.data.catalogue.eventStatusValue
-        this.eventType = res.data.catalogue.eventType
-        this.eventId = res.data.catalogue.id
-        this.latitude = res.data.catalogue.latitude
-        this.longitude = res.data.catalogue.longitude
+        that.eventDialog = true
+        that.eventLogList = res.data.eventlog
+        that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
+        that.address = res.data.catalogue.address
+        that.eventStatusValue = res.data.catalogue.eventStatusValue
+        that.eventType = res.data.catalogue.eventType
+        that.eventId = res.data.catalogue.id
+        that.latitude = res.data.catalogue.latitude
+        that.longitude = res.data.catalogue.longitude
         let markersMap = {
           lng: 124.59,
           lat: 43.02,