|
@@ -112,8 +112,8 @@
|
|
|
<div class="z-info-btm-grp">
|
|
|
<div class="z-info-btm-grp-top">
|
|
|
<div class="z-info-btm-grp-left">
|
|
|
- <el-button size="small" icon="el-icon-s-flag">责任制
|
|
|
- </el-button>
|
|
|
+<!-- <el-button size="small" icon="el-icon-s-flag">责任制-->
|
|
|
+<!-- </el-button>-->
|
|
|
<el-button size="small" icon="el-icon-upload" @click="showEventLogUpload()">上传
|
|
|
</el-button>
|
|
|
<el-button size="small" icon="el-icon-download" @click="toImage()">保存
|
|
@@ -955,6 +955,9 @@ export default {
|
|
|
|
|
|
}
|
|
|
},
|
|
|
+ props:{
|
|
|
+ calendarDay:null//首页日历选择
|
|
|
+ },
|
|
|
methods: {
|
|
|
// 判断是否为图片
|
|
|
isAssetTypeAnImage(filePath) {
|
|
@@ -1185,7 +1188,7 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success(`联动发起成功!`)
|
|
|
this.refreshEventDialog(this.eventCode);
|
|
|
- this.showEventConfirm = false
|
|
|
+ this.showEventConfirm_gd = false
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -1202,11 +1205,13 @@ export default {
|
|
|
fireRadius: this.sendHuoZaiBanJing,
|
|
|
reserve: this.sendGuanLianYuAn
|
|
|
}
|
|
|
- sendTask(param).then(res => {
|
|
|
+ updateCentereventTEventcatalogueStatus(param).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
- this.$message.success(`办结成功!`)
|
|
|
+ this.$message.success(`处理成功!`)
|
|
|
this.refreshEvent(this.eventCode)
|
|
|
- this.showEventConfirm_gd = false
|
|
|
+ this.showEventConfirm = false
|
|
|
+ this.$emit("getEventList",this.calendarDay)
|
|
|
+ this.$emit("getTodayEvents",this.calendarDay)
|
|
|
}
|
|
|
})
|
|
|
|
|
@@ -1228,6 +1233,9 @@ export default {
|
|
|
this.$message.success(`处理成功!`)
|
|
|
this.refreshEvent(this.eventCode)
|
|
|
this.showEventConfirm = false
|
|
|
+ alert(this.calendarDay)
|
|
|
+ this.$emit("getEventList",this.calendarDay)
|
|
|
+ this.$emit("getTodayEvents",this.calendarDay)
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -1312,17 +1320,16 @@ export default {
|
|
|
isAggregation: false,
|
|
|
radius: 0
|
|
|
}
|
|
|
- if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_1' || res.data.catalogue[0].eventStatusValue == 'forest_event_status_2' || res.data.catalogue[0].eventStatusValue == 'forest_event_status_3') {
|
|
|
- markersMap.icon = 'sj-icon-map-clz'
|
|
|
- markersMap.isAggregation = false
|
|
|
- } else if (res.data.catalogue[0].eventStatusValue == 'event_event_status_4') {
|
|
|
- markersMap.icon = 'sj-icon-map-wcl'
|
|
|
- } else if (res.data.catalogue[0].eventStatusValue == 'event_event_status_5') {
|
|
|
+
|
|
|
+ if (res.data.catalogue[0].eventStatusValue == 'forest_event_status_1') {
|
|
|
markersMap.icon = 'sj-icon-map-wcl'
|
|
|
+ markersMap.isAggregation = false
|
|
|
+ } else if ( res.data.catalogue[0].eventStatusValue == 'forest_event_status_2' || res.data.catalogue[0].eventStatusValue == 'forest_event_status_3' || res.data.catalogue[0].eventStatusValue == 'event_event_status_4' || res.data.catalogue[0].eventStatusValue == 'event_event_status_5') {
|
|
|
+ markersMap.icon = 'sj-icon-map-clz'
|
|
|
} else if (res.data.catalogue[0].eventStatusValue == 'event_event_status_6') {
|
|
|
- markersMap.icon = 'sj-icon-map-wcl'
|
|
|
- } else {
|
|
|
markersMap.icon = 'sj-icon-map-ywc'
|
|
|
+ } else {
|
|
|
+ markersMap.icon = 'sj-icon-map-clz'
|
|
|
}
|
|
|
markersMap.lng = res.data.catalogue[0].longitude
|
|
|
markersMap.lat = res.data.catalogue[0].latitude
|
|
@@ -1436,7 +1443,7 @@ export default {
|
|
|
a.href = url
|
|
|
a.download = '首页截图'
|
|
|
a.click()
|
|
|
- }
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|