fix:修复report页,刷新界面导致行内展开页的分页页码被重置的问题

This commit is contained in:
刘洪洪
2022-09-19 16:18:29 +08:00
parent 52f7640d98
commit 07f21e8d90

View File

@@ -401,17 +401,6 @@ export default {
watch: {
tableData (newVal, oldVal) {
if (newVal) {
if (this.categoryId !== '') {
this.pageObj = {
pageNo: 1,
pageSize: 20,
total: 0,
resetPageNo: true
}
if (this.initExpandFlag) {
this.dropExpandChange('', [])
}
}
this.showSelectedRow()
}
},
@@ -422,10 +411,12 @@ export default {
}
this.reloadUrl(expandIdParam)
const expandPage = {
expandPage: 1
if (this.initExpandFlag) {
const expandPage = {
expandPage: 1
}
this.reloadUrl(expandPage)
}
this.reloadUrl(expandPage)
const dateParam = {
startTime: dateFormatToUTC(this.timeRange[0]),
@@ -507,11 +498,12 @@ export default {
const obj = {
id: expandInfo[0]
}
this.dropExpandChange(obj, expandInfo, 'init')
setTimeout(() => {
this.initExpandFlag = true
}, 1000)
}, 1500)
}
},
/**