人工交互模块 From DB表单 第一次查询数据大于1页 切换到第2页的数据 然后选择其他条件重新查询 新查询结果小于1页 回显错误

This commit is contained in:
任珮宇 2024-01-29 13:38:54 +08:00
parent bded5fccc4
commit 35af16dacf

View File

@ -162,6 +162,11 @@ export default {
}, },
methods: { methods: {
loadData(arg) { loadData(arg) {
debugger
// 1
if (arg === 1) {
this.ipagination.current = 1
}
const params = this.getQueryParams() // const params = this.getQueryParams() //
const { startDate, endDate, menuTypes } = params const { startDate, endDate, menuTypes } = params
if (!menuTypes) { if (!menuTypes) {
@ -179,11 +184,6 @@ export default {
return return
} }
// 1
if (arg === 1) {
this.ipagination.current = 1
}
params.AllUsers = this.allUsersValue params.AllUsers = this.allUsersValue
params.CollectStopB = this.collectStopValue params.CollectStopB = this.collectStopValue
params.AcqStartB = this.acqStartValue params.AcqStartB = this.acqStartValue