|
@@ -1020,6 +1020,7 @@
|
|
|
return y + '-' + m + '-' + d
|
|
|
},
|
|
|
selectDay(day) { //日历点击
|
|
|
+ this.pageNum = 1
|
|
|
this.getTodayEvents(day)
|
|
|
this.getDeptEventCount(day)
|
|
|
this.getWeather(day)
|
|
@@ -1588,6 +1589,9 @@
|
|
|
eventCode: data.eventCode
|
|
|
}).then((res) => {
|
|
|
if (res.data != undefined) {
|
|
|
+ if(res.data.eventType == 403){
|
|
|
+ res.data.picturePath = "../assets/images/土壤墒情监测.png"
|
|
|
+ }
|
|
|
//插入到第一条
|
|
|
this.eventList.unshift(res.data)
|
|
|
// 插入后删除最后一条 保证列表中为10条数据
|