|
@@ -1115,9 +1115,12 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getEventByReportorOrder(day, loading) {
|
|
|
- let that = this
|
|
|
//右侧获取上报排名
|
|
|
- getEventByReportorOrder({ eventTypeIdDl: that.eventTypeIdDl, eventTypeId: that.eventTypeId, day: day }, loading).then(res => {
|
|
|
+ getEventByReportorOrder({
|
|
|
+ eventTypeIdDl: this.eventTypeIdDl.length == 0 ? Cookies.get("eventTypeDl").split(",") : this.eventTypeIdDl,
|
|
|
+ eventTypeId: this.eventTypeId.length == 0 ? Cookies.get("eventType").split(",") : this.eventTypeId,
|
|
|
+ day: day
|
|
|
+ }, loading).then(res => {
|
|
|
if (res.data != null && res.data.length > 0) {
|
|
|
this.reportList.data = res.data
|
|
|
this.reportList = { ...this.reportList }
|