|
@@ -868,10 +868,10 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- getTodayEvents(day) {
|
|
|
|
|
|
+ getTodayEvents(day,loading) {
|
|
let that = this
|
|
let that = this
|
|
//左侧获取事件信息统计
|
|
//左侧获取事件信息统计
|
|
- getTodayEvents({ day: day }).then(res => {
|
|
|
|
|
|
+ getTodayEvents({ day: day },loading).then(res => {
|
|
this.aiTotal = res.data.aiTotal
|
|
this.aiTotal = res.data.aiTotal
|
|
this.aiTotal_pre = res.data.aiTotal_pre
|
|
this.aiTotal_pre = res.data.aiTotal_pre
|
|
this.newReport = res.data.newReport
|
|
this.newReport = res.data.newReport
|
|
@@ -887,10 +887,10 @@ export default {
|
|
this.eventChartAi(this.aiTotal_pre, this.otherTotal_pre)
|
|
this.eventChartAi(this.aiTotal_pre, this.otherTotal_pre)
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- getDeptEventCount(day) {
|
|
|
|
|
|
+ getDeptEventCount(day,loading) {
|
|
let that = this
|
|
let that = this
|
|
//左侧获取事件部门数量
|
|
//左侧获取事件部门数量
|
|
- getDeptEventCount({ day: day }).then(res => {
|
|
|
|
|
|
+ getDeptEventCount({ day: day },loading).then(res => {
|
|
this.forestFarm = res.data
|
|
this.forestFarm = res.data
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -918,12 +918,12 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- getEventList(day) {
|
|
|
|
|
|
+ getEventList(day,loading) {
|
|
let that = this
|
|
let that = this
|
|
this.eventList = []
|
|
this.eventList = []
|
|
this.eventListAll = []
|
|
this.eventListAll = []
|
|
//右侧获取事件列表
|
|
//右侧获取事件列表
|
|
- getEventList({ day: day }).then(res => {
|
|
|
|
|
|
+ getEventList({ day: day },loading).then(res => {
|
|
this.eventList = res.data
|
|
this.eventList = res.data
|
|
this.eventListAll = res.data
|
|
this.eventListAll = res.data
|
|
that.markersList = []
|
|
that.markersList = []
|
|
@@ -1019,10 +1019,10 @@ export default {
|
|
this.$refs.up.pause();//停止播放音乐
|
|
this.$refs.up.pause();//停止播放音乐
|
|
this.$refs.up.currentTime = 0;
|
|
this.$refs.up.currentTime = 0;
|
|
},
|
|
},
|
|
- getEventByEventType(day) {
|
|
|
|
|
|
+ getEventByEventType(day,loading) {
|
|
let that = this
|
|
let that = this
|
|
//右侧获取事件分类
|
|
//右侧获取事件分类
|
|
- getEventByEventType({ day: day }).then(res => {
|
|
|
|
|
|
+ getEventByEventType({ day: day },loading).then(res => {
|
|
if (res.data != null && res.data.length > 0) {
|
|
if (res.data != null && res.data.length > 0) {
|
|
this.showEventKind = true
|
|
this.showEventKind = true
|
|
this.eventKind.data = res.data
|
|
this.eventKind.data = res.data
|
|
@@ -1036,10 +1036,10 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- getEventByReportorOrder(day) {
|
|
|
|
|
|
+ getEventByReportorOrder(day,loading) {
|
|
let that = this
|
|
let that = this
|
|
//右侧获取上报排名
|
|
//右侧获取上报排名
|
|
- getEventByReportorOrder({ day: day }).then(res => {
|
|
|
|
|
|
+ getEventByReportorOrder({ day: day },loading).then(res => {
|
|
if (res.data != null && res.data.length > 0) {
|
|
if (res.data != null && res.data.length > 0) {
|
|
this.reportList.data = res.data
|
|
this.reportList.data = res.data
|
|
this.reportList = { ...this.reportList }
|
|
this.reportList = { ...this.reportList }
|
|
@@ -1049,10 +1049,10 @@ export default {
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- getExposureStage(day) {
|
|
|
|
|
|
+ getExposureStage(day,loading) {
|
|
let that = this
|
|
let that = this
|
|
//右侧获取曝光台
|
|
//右侧获取曝光台
|
|
- getExposureStage({ day: day }).then(res => {
|
|
|
|
|
|
+ getExposureStage({ day: day },loading).then(res => {
|
|
this.exposureStageList = res.data
|
|
this.exposureStageList = res.data
|
|
})
|
|
})
|
|
},
|
|
},
|