+ {{linuxLineSymbolConvert}}
+
+
+
diff --git a/src/views/charts/charts/tools.js b/src/views/charts/charts/tools.js
index 00650d26..c2bd1dd2 100644
--- a/src/views/charts/charts/tools.js
+++ b/src/views/charts/charts/tools.js
@@ -167,6 +167,10 @@ export function isSingleSupportStatistics (type) {
export function isTwoSupportStatistics (type) {
return type === 87
}
+/* 域名递归解析 */
+export function isDomainRecursiveResolve (type) {
+ return type === 88
+}
/* 组 */
export function isGroup (type) {
return type === 94
diff --git a/src/views/detections/Index.vue b/src/views/detections/Index.vue
index c74a9b27..ff0da477 100644
--- a/src/views/detections/Index.vue
+++ b/src/views/detections/Index.vue
@@ -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)
},
// 点击上一页箭头
diff --git a/src/views/entityExplorer/EntityExplorer.vue b/src/views/entityExplorer/EntityExplorer.vue
index e3443cc7..54a9e016 100644
--- a/src/views/entityExplorer/EntityExplorer.vue
+++ b/src/views/entityExplorer/EntityExplorer.vue
@@ -157,6 +157,8 @@ export default {
pageObj: {
pageNo: 1,
+ // 是否重置pageNo,在执行新搜索时是true
+ resetPageNo: true,
pageSize: defaultPageSize,
total: 0
},
@@ -482,6 +484,11 @@ export default {
if (!this.showList) {
this.showList = true
}
+ if (this.pageObj.resetPageNo) {
+ this.pageObj.pageNo = 1
+ } else {
+ this.pageObj.resetPageNo = true
+ }
// 带参数时,只查询对应类型的entity;不带参数时,3种entity都查
if (formatSql) {
// entity_type处理,不查其他两种entity_type对应的左侧筛选
@@ -529,6 +536,7 @@ export default {
},
pageNo (val) {
this.pageObj.pageNo = val
+ this.pageObj.resetPageNo = false
this.search(this.metaList, this.q)
},
// 点击上一页箭头
@@ -558,6 +566,9 @@ export default {
value: name
}
this.$refs.search.addParams([params])
+ this.$nextTick(() => {
+ this.emitter.emit('advanced-search')
+ })
},
/* 查询filter数据 */
queryFilter (params) {