|
@@ -1095,9 +1095,12 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getEventByEventType(day, loading) {
|
|
getEventByEventType(day, loading) {
|
|
- let that = this
|
|
|
|
//右侧获取事件分类
|
|
//右侧获取事件分类
|
|
- getEventByEventType({ eventTypeIdDl: that.eventTypeIdDl, eventTypeId: that.eventTypeId, day: day }, loading).then(res => {
|
|
|
|
|
|
+ getEventByEventType({
|
|
|
|
+ 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) {
|
|
if (res.data != null && res.data.length > 0) {
|
|
this.showEventKind = true
|
|
this.showEventKind = true
|
|
this.eventKind.data = res.data
|
|
this.eventKind.data = res.data
|