人工交互模块 From DB表单 第一次查询数据大于1页 切换到第2页的数据 然后选择其他条件重新查询 新查询结果小于1页 回显错误
This commit is contained in:
parent
bded5fccc4
commit
35af16dacf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user