处理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)
|
return (Math.random()+new Date().getTime()).toString(32).slice(0,8)
|
||||||
},
|
},
|
||||||
handleSearch({ startDate, endDate, types }) {
|
handleSearch({ startDate, endDate, types }) {
|
||||||
|
this.ipagination.current = 1
|
||||||
if (startDate&&endDate) {
|
if (startDate&&endDate) {
|
||||||
this.paramsArg = {
|
this.paramsArg = {
|
||||||
startDate,
|
startDate,
|
||||||
|
|
|
@ -461,6 +461,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onSearch() {
|
onSearch() {
|
||||||
|
this.ipagination.current = 1
|
||||||
this.getAlarmRulesPage()
|
this.getAlarmRulesPage()
|
||||||
},
|
},
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
|
|
|
@ -321,6 +321,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSearch({ startDate, endDate, stations, sources }) {
|
handleSearch({ startDate, endDate, stations, sources }) {
|
||||||
|
this.ipagination.current = 1
|
||||||
this.paramsArg = {
|
this.paramsArg = {
|
||||||
startDate,
|
startDate,
|
||||||
endDate,
|
endDate,
|
||||||
|
|
|
@ -425,6 +425,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
onSearch() {
|
onSearch() {
|
||||||
|
this.ipagination.current = 1
|
||||||
this.getAlarmRulesPage()
|
this.getAlarmRulesPage()
|
||||||
},
|
},
|
||||||
editItem(id) {
|
editItem(id) {
|
||||||
|
|
|
@ -103,6 +103,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSearch({ startDate, endDate, names }) {
|
handleSearch({ startDate, endDate, names }) {
|
||||||
|
this.ipagination.current = 1
|
||||||
this.paramsArg = {
|
this.paramsArg = {
|
||||||
startDate,
|
startDate,
|
||||||
endDate,
|
endDate,
|
||||||
|
|
|
@ -103,6 +103,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSearch({ startDate, endDate, names }) {
|
handleSearch({ startDate, endDate, names }) {
|
||||||
|
this.ipagination.current = 1
|
||||||
this.paramsArg = {
|
this.paramsArg = {
|
||||||
startDate,
|
startDate,
|
||||||
endDate,
|
endDate,
|
||||||
|
|
|
@ -103,6 +103,7 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSearch({ startDate, endDate, names }) {
|
handleSearch({ startDate, endDate, names }) {
|
||||||
|
this.ipagination.current = 1
|
||||||
this.paramsArg = {
|
this.paramsArg = {
|
||||||
startDate,
|
startDate,
|
||||||
endDate,
|
endDate,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user