diff --git a/src/views/detections/DetectionSearch.vue b/src/views/detections/DetectionSearch.vue index e3283ff7..1384ee8e 100644 --- a/src/views/detections/DetectionSearch.vue +++ b/src/views/detections/DetectionSearch.vue @@ -93,7 +93,7 @@ export default { } ] }, - operatorList: ['=', '!=', '>', '<', '>=', '<=', 'IN', 'NOT IN', 'LIKE', 'NOT LIKE'], + operatorList: ['=', '!=', /* '>', '<', '>=', '<=', */'IN', 'NOT IN', 'LIKE', 'NOT LIKE'], connectionList: [ { value: 'AND', diff --git a/src/views/entityExplorer/EntityExplorer.vue b/src/views/entityExplorer/EntityExplorer.vue index 98358c53..412806ec 100644 --- a/src/views/entityExplorer/EntityExplorer.vue +++ b/src/views/entityExplorer/EntityExplorer.vue @@ -534,7 +534,7 @@ export default { } this.loadingLeft = true get(api.entityFilter, queryParams).then(response => { - if (response.data && response.data.result) { + if (response.code === 200 && response.data && response.data.result) { switch (params.entityType) { case 'ip': { this.filterData[0].data.forEach(d => { @@ -601,6 +601,9 @@ export default { this.$nextTick(() => { this.listData = response.data.result }) + } else { + console.error(response.message) + this.$message.error(response.message) } }).finally(() => { this.listLoading = false diff --git a/src/views/entityExplorer/search/ExplorerSearch.vue b/src/views/entityExplorer/search/ExplorerSearch.vue index 4c1df3cf..37ca7d82 100644 --- a/src/views/entityExplorer/search/ExplorerSearch.vue +++ b/src/views/entityExplorer/search/ExplorerSearch.vue @@ -23,8 +23,8 @@
{{$t('overall.explore')}} - - {{$t('overall.help')}} +
@@ -36,7 +36,7 @@
{{$t('overall.clear')}} -
暂无记录
+
{{$t('overall.noRecords')}}
@@ -239,7 +239,7 @@ export default { label: 'APP.Technology' } ], - operatorList: ['=', '!=', '>', '<', '>=', '<=', 'IN', 'NOT IN', 'LIKE', 'NOT LIKE'], + operatorList: ['=', '!=', /* '>', '<', '>=', '<=', */'IN', 'NOT IN', 'LIKE', 'NOT LIKE'], connectionList: [ { value: 'AND',