|
@@ -539,11 +539,11 @@ export default {
|
|
|
if (this.eventList.length > 50) {
|
|
|
markersMap.isAggregation = true
|
|
|
}
|
|
|
- if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount>0) {
|
|
|
+ if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount==0) {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
markersMap.icon = 'sj-icon-map-xinshangbao'
|
|
|
markersMap.isAggregation = false
|
|
|
- }if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount==0) {
|
|
|
+ }if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount>0) {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
markersMap.icon = 'sj-icon-map-cuiban'
|
|
|
markersMap.isAggregation = false
|
|
@@ -897,11 +897,11 @@ export default {
|
|
|
if (this.eventList.length > 50) {
|
|
|
markersMap.isAggregation = true
|
|
|
}
|
|
|
- if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount>0) {
|
|
|
+ if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount==0) {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
markersMap.icon = 'sj-icon-map-xinshangbao'
|
|
|
markersMap.isAggregation = false
|
|
|
- }if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount==0) {
|
|
|
+ }if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount>0) {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
markersMap.icon = 'sj-icon-map-cuiban'
|
|
|
markersMap.isAggregation = false
|