Merge branch 'dev' of https://git.mesalab.cn/cyber-narrator/cn-ui into dev
This commit is contained in:
@@ -132,7 +132,8 @@ export default {
|
||||
pageObj: {
|
||||
pageNo: 1,
|
||||
pageSize: defaultPageSize,
|
||||
total: 0
|
||||
total: 0,
|
||||
resetPageNo: true
|
||||
},
|
||||
q: '',
|
||||
detectionPageType,
|
||||
@@ -1065,9 +1066,13 @@ export default {
|
||||
this.q = ''
|
||||
this.metaList = []
|
||||
}
|
||||
if (this.pageObj.resetPageNo) {
|
||||
this.pageObj.pageNo = 1
|
||||
} else {
|
||||
this.pageObj.resetPageNo = true
|
||||
}
|
||||
this.queryFilter()
|
||||
this.queryList()
|
||||
this.queryListTotal()
|
||||
},
|
||||
resetFilterData () {
|
||||
this.filterData.securityEvent.forEach(d => {
|
||||
@@ -1096,9 +1101,6 @@ export default {
|
||||
this.initActiveEntity(params)
|
||||
this.initEventTypeData(params)
|
||||
}
|
||||
},
|
||||
queryListTotal () {
|
||||
|
||||
},
|
||||
filter (filterColumn) {
|
||||
const params = {}
|
||||
@@ -1113,6 +1115,7 @@ export default {
|
||||
},
|
||||
pageNo (val) {
|
||||
this.pageObj.pageNo = val || 1
|
||||
this.pageObj.resetPageNo = false
|
||||
this.search(this.metaList, this.q)
|
||||
},
|
||||
// 点击上一页箭头
|
||||
|
||||
Reference in New Issue
Block a user