|
@@ -539,19 +539,23 @@ export default {
|
|
|
if (this.eventList.length > 50) {
|
|
|
markersMap.isAggregation = true
|
|
|
}
|
|
|
- if (this.eventList[i].eventStatusValue == 'forest_event_status_1') {
|
|
|
+ if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount>0) {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
- markersMap.icon = 'sj-icon-map-wcl'
|
|
|
+ markersMap.icon = 'sj-icon-map-xinshangbao'
|
|
|
markersMap.isAggregation = false
|
|
|
- } else if (this.eventList[i].eventStatusValue == 'forest_event_status_2' || this.eventList[i].eventStatusValue == 'forest_event_status_3' || this.eventList[i].eventStatusValue == 'forest_event_status_4' || this.eventList[i].eventStatusValue == 'forest_event_status_5') {
|
|
|
+ }if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount==0) {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
- markersMap.icon = 'sj-icon-map-clz'
|
|
|
- } else if (this.eventList[i].eventStatusValue == 'forest_event_status_6') {
|
|
|
+ markersMap.icon = 'sj-icon-map-cuiban'
|
|
|
+ markersMap.isAggregation = false
|
|
|
+ } else if (this.eventList[i].eventStatusValue == 'forest_event_status_2') {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
- markersMap.icon = 'sj-icon-map-ywc'
|
|
|
- } else {
|
|
|
+ markersMap.icon = 'sj-icon-map-qianshou'
|
|
|
+ }else if (this.eventList[i].eventStatusValue == 'forest_event_status_5') {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
- markersMap.icon = 'sj-icon-map-clz'
|
|
|
+ markersMap.icon = 'sj-icon-map-banjie'
|
|
|
+ } else if (this.eventList[i].eventStatusValue == 'forest_event_status_6') {
|
|
|
+ markersMap.click = 'showEventDialog'
|
|
|
+ markersMap.icon = 'sj-icon-map-guidnag'
|
|
|
}
|
|
|
markersMap.parameter = this.eventList[i].eventCode
|
|
|
markersMap.lng = this.eventList[i].longitude
|
|
@@ -893,25 +897,23 @@ export default {
|
|
|
if (this.eventList.length > 50) {
|
|
|
markersMap.isAggregation = true
|
|
|
}
|
|
|
- if (this.eventList[i].eventStatusValue == 'forest_event_status_1') {
|
|
|
- if (this.eventList[i].urgeCount > 0) {
|
|
|
- markersMap.click = 'showEventDialog'
|
|
|
- markersMap.icon = 'sj-icon-map-wcl'
|
|
|
- markersMap.isAggregation = false
|
|
|
- } else {
|
|
|
- markersMap.click = 'showEventDialog'
|
|
|
- markersMap.icon = 'sj-icon-map-wcl'
|
|
|
- markersMap.isAggregation = false
|
|
|
- }
|
|
|
- } else if (this.eventList[i].eventStatusValue == 'forest_event_status_2' || this.eventList[i].eventStatusValue == 'forest_event_status_3' || this.eventList[i].eventStatusValue == 'forest_event_status_4' || this.eventList[i].eventStatusValue == 'forest_event_status_5') {
|
|
|
+ if (this.eventList[i].eventStatusValue == 'forest_event_status_1'&&this.eventList[i].urgeCount>0) {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
- markersMap.icon = 'sj-icon-map-clz'
|
|
|
- } else if (this.eventList[i].eventStatusValue == 'forest_event_status_6') {
|
|
|
+ markersMap.icon = 'sj-icon-map-xinshangbao'
|
|
|
+ markersMap.isAggregation = false
|
|
|
+ }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
|
|
|
+ } else if (this.eventList[i].eventStatusValue == 'forest_event_status_2') {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
- markersMap.icon = 'sj-icon-map-ywc'
|
|
|
- } else {
|
|
|
+ markersMap.icon = 'sj-icon-map-qianshou'
|
|
|
+ }else if (this.eventList[i].eventStatusValue == 'forest_event_status_5') {
|
|
|
+ markersMap.click = 'showEventDialog'
|
|
|
+ markersMap.icon = 'sj-icon-map-banjie'
|
|
|
+ } else if (this.eventList[i].eventStatusValue == 'forest_event_status_6') {
|
|
|
markersMap.click = 'showEventDialog'
|
|
|
- markersMap.icon = 'sj-icon-map-clz'
|
|
|
+ markersMap.icon = 'sj-icon-map-guidnag'
|
|
|
}
|
|
|
markersMap.parameter = this.eventList[i].eventCode
|
|
|
markersMap.lng = this.eventList[i].longitude
|