|
@@ -869,10 +869,10 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- getTodayEvents(day) {
|
|
|
+ getTodayEvents(day,loading) {
|
|
|
let that = this
|
|
|
//左侧获取事件信息统计
|
|
|
- getTodayEvents({ day: day }).then(res => {
|
|
|
+ getTodayEvents({ day: day },loading).then(res => {
|
|
|
this.aiTotal = res.data.aiTotal
|
|
|
this.aiTotal_pre = res.data.aiTotal_pre
|
|
|
this.newReport = res.data.newReport
|
|
@@ -888,10 +888,10 @@ export default {
|
|
|
this.eventChartAi(this.aiTotal_pre, this.otherTotal_pre)
|
|
|
})
|
|
|
},
|
|
|
- getDeptEventCount(day) {
|
|
|
+ getDeptEventCount(day,loading) {
|
|
|
let that = this
|
|
|
//左侧获取事件部门数量
|
|
|
- getDeptEventCount({ day: day }).then(res => {
|
|
|
+ getDeptEventCount({ day: day },loading).then(res => {
|
|
|
this.forestFarm = res.data
|
|
|
})
|
|
|
},
|
|
@@ -919,12 +919,12 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- getEventList(day) {
|
|
|
+ getEventList(day,loading) {
|
|
|
let that = this
|
|
|
this.eventList = []
|
|
|
this.eventListAll = []
|
|
|
//右侧获取事件列表
|
|
|
- getEventList({ day: day }).then(res => {
|
|
|
+ getEventList({ day: day },loading).then(res => {
|
|
|
this.eventList = res.data;
|
|
|
console.log(res.data);
|
|
|
this.eventListAll = res.data
|
|
@@ -1030,10 +1030,10 @@ export default {
|
|
|
let aa = ['png', 'jpg', 'jpeg', 'bmp', 'gif', 'webp', 'psd', 'svg', 'tiff'].indexOf(ext.toLowerCase()) !== -1
|
|
|
return aa
|
|
|
},
|
|
|
- getEventByEventType(day) {
|
|
|
+ getEventByEventType(day,loading) {
|
|
|
let that = this
|
|
|
//右侧获取事件分类
|
|
|
- getEventByEventType({ day: day }).then(res => {
|
|
|
+ getEventByEventType({ day: day },loading).then(res => {
|
|
|
if (res.data != null && res.data.length > 0) {
|
|
|
this.showEventKind = true
|
|
|
this.eventKind.data = res.data
|
|
@@ -1047,10 +1047,10 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- getEventByReportorOrder(day) {
|
|
|
+ getEventByReportorOrder(day,loading) {
|
|
|
let that = this
|
|
|
//右侧获取上报排名
|
|
|
- getEventByReportorOrder({ day: day }).then(res => {
|
|
|
+ getEventByReportorOrder({ day: day },loading).then(res => {
|
|
|
if (res.data != null && res.data.length > 0) {
|
|
|
this.reportList.data = res.data
|
|
|
this.reportList = { ...this.reportList }
|
|
@@ -1060,10 +1060,10 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
- getExposureStage(day) {
|
|
|
+ getExposureStage(day,loading) {
|
|
|
let that = this
|
|
|
//右侧获取曝光台
|
|
|
- getExposureStage({ day: day }).then(res => {
|
|
|
+ getExposureStage({ day: day },loading).then(res => {
|
|
|
this.exposureStageList = res.data
|
|
|
})
|
|
|
},
|