处理alarm模块table 页码切换到第二页,切换查询条件之后应该从第一页开始查询的逻辑
This commit is contained in:
parent
99fa809fdc
commit
b835c6e7fa
|
@ -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,
|
||||
|
|
|
@ -461,6 +461,7 @@ export default {
|
|||
})
|
||||
},
|
||||
onSearch() {
|
||||
this.ipagination.current = 1
|
||||
this.getAlarmRulesPage()
|
||||
},
|
||||
resetQuery() {
|
||||
|
|
|
@ -321,6 +321,7 @@ export default {
|
|||
})
|
||||
},
|
||||
handleSearch({ startDate, endDate, stations, sources }) {
|
||||
this.ipagination.current = 1
|
||||
this.paramsArg = {
|
||||
startDate,
|
||||
endDate,
|
||||
|
|
|
@ -425,6 +425,7 @@ export default {
|
|||
})
|
||||
},
|
||||
onSearch() {
|
||||
this.ipagination.current = 1
|
||||
this.getAlarmRulesPage()
|
||||
},
|
||||
editItem(id) {
|
||||
|
|
|
@ -103,6 +103,7 @@ export default {
|
|||
})
|
||||
},
|
||||
handleSearch({ startDate, endDate, names }) {
|
||||
this.ipagination.current = 1
|
||||
this.paramsArg = {
|
||||
startDate,
|
||||
endDate,
|
||||
|
|
|
@ -103,6 +103,7 @@ export default {
|
|||
})
|
||||
},
|
||||
handleSearch({ startDate, endDate, names }) {
|
||||
this.ipagination.current = 1
|
||||
this.paramsArg = {
|
||||
startDate,
|
||||
endDate,
|
||||
|
|
|
@ -103,6 +103,7 @@ export default {
|
|||
})
|
||||
},
|
||||
handleSearch({ startDate, endDate, names }) {
|
||||
this.ipagination.current = 1
|
||||
this.paramsArg = {
|
||||
startDate,
|
||||
endDate,
|
||||
|
|
Loading…
Reference in New Issue
Block a user