解决报表的分页bug

This commit is contained in:
季圣华
2021-10-27 22:43:10 +08:00
parent f517323f8b
commit ad4945d054
14 changed files with 16 additions and 13 deletions

View File

@@ -407,6 +407,9 @@ export const JeecgListMixin = {
}
})
dataSource.push(totalRow)
//总数要增加合计的行数,每页都有一行合计,所以总数要加上
let size = parseInt(this.ipagination.total/this.ipagination.pageSize) +1
this.ipagination.total = this.ipagination.total + size
}
},
paginationChange(page, pageSize) {