|
@@ -348,10 +348,10 @@
|
|
</div>
|
|
</div>
|
|
<!--分页-->
|
|
<!--分页-->
|
|
<div class="paging">
|
|
<div class="paging">
|
|
- <el-button type="button" @click="getEventList(calendarDay, 10, pageNum - 1)">上一页
|
|
|
|
|
|
+ <el-button type="button":disabled="nextbutton" @click="getEventList(calendarDay, 10, pageNum - 1)">上一页
|
|
</el-button>
|
|
</el-button>
|
|
<span>第{{pageNum}}页</span>
|
|
<span>第{{pageNum}}页</span>
|
|
- <el-button type="button" @click="getEventList(calendarDay, 10, pageNum + 1)">下一页
|
|
|
|
|
|
+ <el-button type="button":disabled="nextbutton" @click="getEventList(calendarDay, 10, pageNum + 1)">下一页
|
|
</el-button>
|
|
</el-button>
|
|
</div>
|
|
</div>
|
|
</dv-border-box-13>
|
|
</dv-border-box-13>
|
|
@@ -501,7 +501,9 @@ export default {
|
|
},
|
|
},
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
|
|
+ nextbutton:true,
|
|
//警报MP3文件
|
|
//警报MP3文件
|
|
|
|
+
|
|
audioSrc: require('@/assets/jingbao.mp3'),
|
|
audioSrc: require('@/assets/jingbao.mp3'),
|
|
title:'',
|
|
title:'',
|
|
calendarDay: this.getCurrentDataStr(),
|
|
calendarDay: this.getCurrentDataStr(),
|
|
@@ -1053,6 +1055,13 @@ export default {
|
|
eventTypeId: that.eventTypeId
|
|
eventTypeId: that.eventTypeId
|
|
}, loading).then(res => {
|
|
}, loading).then(res => {
|
|
this.eventList = res.data
|
|
this.eventList = res.data
|
|
|
|
+ if(res.data!==null&&res.data.length!==0)
|
|
|
|
+ {
|
|
|
|
+ this.nextbutton=false
|
|
|
|
+ }else
|
|
|
|
+ {
|
|
|
|
+ this.nextbutton=true
|
|
|
|
+ }
|
|
if (this.eventList != null && this.eventList.length > 0) {
|
|
if (this.eventList != null && this.eventList.length > 0) {
|
|
if (this.eventList[0].eventStatusValue == 'forest_event_status_1') {
|
|
if (this.eventList[0].eventStatusValue == 'forest_event_status_1') {
|
|
that.$refs.bottomMenu.updateAlert();
|
|
that.$refs.bottomMenu.updateAlert();
|