处理alarm模块table 页码切换到第二页,切换查询条件之后应该从第一页开始查询的逻辑

This commit is contained in:
renpy 2023-08-28 17:31:29 +08:00
parent 99fa809fdc
commit b835c6e7fa
7 changed files with 7 additions and 0 deletions

View File

@ -138,6 +138,7 @@ export default {
return (Math.random()+new Date().getTime()).toString(32).slice(0,8)
},
handleSearch({ startDate, endDate, types }) {
this.ipagination.current = 1
if (startDate&&endDate) {
this.paramsArg = {
startDate,

View File

@ -461,6 +461,7 @@ export default {
})
},
onSearch() {
this.ipagination.current = 1
this.getAlarmRulesPage()
},
resetQuery() {

View File

@ -321,6 +321,7 @@ export default {
})
},
handleSearch({ startDate, endDate, stations, sources }) {
this.ipagination.current = 1
this.paramsArg = {
startDate,
endDate,

View File

@ -425,6 +425,7 @@ export default {
})
},
onSearch() {
this.ipagination.current = 1
this.getAlarmRulesPage()
},
editItem(id) {

View File

@ -103,6 +103,7 @@ export default {
})
},
handleSearch({ startDate, endDate, names }) {
this.ipagination.current = 1
this.paramsArg = {
startDate,
endDate,

View File

@ -103,6 +103,7 @@ export default {
})
},
handleSearch({ startDate, endDate, names }) {
this.ipagination.current = 1
this.paramsArg = {
startDate,
endDate,

View File

@ -103,6 +103,7 @@ export default {
})
},
handleSearch({ startDate, endDate, names }) {
this.ipagination.current = 1
this.paramsArg = {
startDate,
endDate,