|
@@ -198,10 +198,16 @@
|
|
<img src="../assets/images/integrated/event-img-sub.png"/>
|
|
<img src="../assets/images/integrated/event-img-sub.png"/>
|
|
</div>
|
|
</div>
|
|
<div class="bgt-info">
|
|
<div class="bgt-info">
|
|
- <div v-if="item.eventStatusValue=='forest_event_status_1'" class="event-state-sb">
|
|
|
|
|
|
+ <div v-if="item.eventStatusValue=='forest_event_status_1'&&item.urgeCount==0" class="event-state-sb">
|
|
<i class="el-icon-caret-left"></i>
|
|
<i class="el-icon-caret-left"></i>
|
|
<div class="event-list-state-sb">
|
|
<div class="event-list-state-sb">
|
|
- {{ item.eventStatus }}
|
|
|
|
|
|
+ 新上报
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div v-if="item.eventStatusValue=='forest_event_status_1'&&item.urgeCount>0" class="event-state-cb">
|
|
|
|
+ <i class="el-icon-caret-left"></i>
|
|
|
|
+ <div class="event-list-state-cb">
|
|
|
|
+ 催办
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div v-if="item.eventStatusValue=='forest_event_status_2'" class="event-state-qs">
|
|
<div v-if="item.eventStatusValue=='forest_event_status_2'" class="event-state-qs">
|
|
@@ -234,7 +240,7 @@
|
|
归档
|
|
归档
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="bgt-info-name">{{ item.reportor }}</div>
|
|
|
|
|
|
+ <div class="bgt-info-name">{{ item.reportor }} {{ item.eventName }}</div>
|
|
<div class="bgt-info-place">
|
|
<div class="bgt-info-place">
|
|
<ul>
|
|
<ul>
|
|
<li>{{ item.reportTime }}</li>
|
|
<li>{{ item.reportTime }}</li>
|
|
@@ -467,10 +473,10 @@ export default {
|
|
markersMap.click = 'showEventDialog'
|
|
markersMap.click = 'showEventDialog'
|
|
markersMap.icon = 'sj-icon-map-wcl'
|
|
markersMap.icon = 'sj-icon-map-wcl'
|
|
markersMap.isAggregation = false
|
|
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 == 'event_event_status_4' || this.eventList[i].eventStatusValue == 'event_event_status_5') {
|
|
|
|
|
|
+ } 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') {
|
|
markersMap.click = 'showEventDialog'
|
|
markersMap.click = 'showEventDialog'
|
|
markersMap.icon = 'sj-icon-map-clz'
|
|
markersMap.icon = 'sj-icon-map-clz'
|
|
- } else if (this.eventList[i].eventStatusValue == 'event_event_status_6') {
|
|
|
|
|
|
+ } else if (this.eventList[i].eventStatusValue == 'forest_event_status_6') {
|
|
markersMap.click = 'showEventDialog'
|
|
markersMap.click = 'showEventDialog'
|
|
markersMap.icon = 'sj-icon-map-ywc'
|
|
markersMap.icon = 'sj-icon-map-ywc'
|
|
} else {
|
|
} else {
|
|
@@ -787,6 +793,7 @@ export default {
|
|
//右侧获取事件列表
|
|
//右侧获取事件列表
|
|
getEventList({ day: day }).then(res => {
|
|
getEventList({ day: day }).then(res => {
|
|
this.eventList = res.data
|
|
this.eventList = res.data
|
|
|
|
+ console.log(this.eventList)
|
|
this.eventListAll = res.data
|
|
this.eventListAll = res.data
|
|
that.markersList = []
|
|
that.markersList = []
|
|
if (this.eventList != null && this.eventList.length > 0) {
|
|
if (this.eventList != null && this.eventList.length > 0) {
|
|
@@ -805,13 +812,19 @@ export default {
|
|
markersMap.isAggregation = true
|
|
markersMap.isAggregation = true
|
|
}
|
|
}
|
|
if (this.eventList[i].eventStatusValue == 'forest_event_status_1') {
|
|
if (this.eventList[i].eventStatusValue == 'forest_event_status_1') {
|
|
- 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 == 'event_event_status_4' || this.eventList[i].eventStatusValue == 'event_event_status_5') {
|
|
|
|
|
|
+ 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') {
|
|
markersMap.click = 'showEventDialog'
|
|
markersMap.click = 'showEventDialog'
|
|
markersMap.icon = 'sj-icon-map-clz'
|
|
markersMap.icon = 'sj-icon-map-clz'
|
|
- } else if (this.eventList[i].eventStatusValue == 'event_event_status_6') {
|
|
|
|
|
|
+ } else if (this.eventList[i].eventStatusValue == 'forest_event_status_6') {
|
|
markersMap.click = 'showEventDialog'
|
|
markersMap.click = 'showEventDialog'
|
|
markersMap.icon = 'sj-icon-map-ywc'
|
|
markersMap.icon = 'sj-icon-map-ywc'
|
|
} else {
|
|
} else {
|