Kaynağa Gözat

可视化bug

彭宇 2 yıl önce
ebeveyn
işleme
9ac9c49201
2 değiştirilmiş dosya ile 9 ekleme ve 3 silme
  1. 6 3
      src/views/event.vue
  2. 3 0
      src/views/forest.vue

+ 6 - 3
src/views/event.vue

@@ -972,6 +972,9 @@
 				that.listEventPic = [];
 				that.url = '';
 				getForest(id).then(response => {
+          this.showZt=true
+          this.zt= null
+          this.fireReport= false
           this.optionsProcessed=[{value: 'bj',label: '办结' }, {value: 'zy',label: '支援'},{value: 'gd',label: '归档'}]
 					let data = response.data
 					if (data.eventStatus != 'event_event_status_1') {
@@ -1142,9 +1145,7 @@
 			},
 			todayEventCountSetMarkers(eventStatus) {
 				this.iconCurrentIndex1 = eventStatus
-				if (eventStatus == "event_event_status_3") {
-					return
-				}
+				this.iconCurrentIndex2 = ''
 				//点击今日事件前三个按钮列表
 				let that = this
 				getEventStatusList(eventStatus).then(res => {
@@ -1173,6 +1174,7 @@
 								markersMap.icon = "sj-icon-map-wcl"
 							} else {
 								markersMap.icon = "sj-icon-map-ywc"
+                markersMap.click = "showEventInfo_Processed"
 							}
 							markersMap.parameter = res.data.eventList[i].id
 							markersMap.lng = res.data.eventList[i].longitude
@@ -1214,6 +1216,7 @@
 				})
 			},
 			todayEventSourcetSetMarkers(eventSource) {
+				this.iconCurrentIndex1 = ''
 				this.iconCurrentIndex2 = eventSource
 				//点击今日事件后三个按钮列表
 				let that = this

+ 3 - 0
src/views/forest.vue

@@ -1288,6 +1288,9 @@
 				that.url = '';
 				that.id = id;
 				getForest(id).then(response => {
+          this.showZt=true
+          this.zt= null
+          this.fireReport= false
           this.optionsProcessed=[{value: 'bj',label: '办结' }, {value: 'zy',label: '支援'},{value: 'gd',label: '归档'}]
 					let data = response.data
 					if (data.eventStatus != 'event_event_status_1') {