|
@@ -487,6 +487,7 @@ export default {
|
|
|
forestInfo: '', //基本情况
|
|
|
//左侧获取事件信息统计
|
|
|
totalStr: '000000',
|
|
|
+ totalAllEvent: 0,
|
|
|
aiTotal: '',
|
|
|
newReport: '',
|
|
|
otherTotal: '',
|
|
@@ -838,6 +839,7 @@ export default {
|
|
|
this.readySure = res.data.readySure
|
|
|
this.readySure_pre = res.data.readySure_pre
|
|
|
this.totalStr = res.data.totalStr
|
|
|
+ this.totalAllEvent = +res.data.totalStr
|
|
|
this.total = res.data.total
|
|
|
this.eventChartAi(this.aiTotal_pre, this.otherTotal_pre)
|
|
|
})
|
|
@@ -967,7 +969,7 @@ export default {
|
|
|
if (pageNum < 1) {
|
|
|
this.$modal.msg('当前已是第一页')
|
|
|
return
|
|
|
- } else if(pageNum>num)
|
|
|
+ } else if(pageNum>this.totalAllEvent/10+1)
|
|
|
{
|
|
|
this.$modal.msg('当前已是最后一页')
|
|
|
return;
|