diff --git a/src/components/rightBox/report/ReportBox.vue b/src/components/rightBox/report/ReportBox.vue index 5ba985e5..3ce254d3 100644 --- a/src/components/rightBox/report/ReportBox.vue +++ b/src/components/rightBox/report/ReportBox.vue @@ -25,7 +25,7 @@ @change="timeConfigTypeChange" > @@ -56,7 +56,7 @@ size="small" @change="()=>{ this.$forceUpdate() }"> diff --git a/src/utils/constants.js b/src/utils/constants.js index a0649498..e930469d 100644 --- a/src/utils/constants.js +++ b/src/utils/constants.js @@ -2470,20 +2470,20 @@ export const reg = { export const report = { timeRuleList: [ - { name: 'today', value: 'today' }, - { name: 'yesterday', value: 'yesterday' }, - { name: 'this', value: 'this' }, - { name: 'last', value: 'last' }, - { name: 'previous', value: 'previous' }, - { name: 'customize', value: 'customize' } + { name: 'overall.today', value: 'today' }, + { name: 'overall.yesterday', value: 'yesterday' }, + { name: 'overall.this', value: 'this' }, + { name: 'overall.last', value: 'last' }, + { name: 'overall.previous', value: 'previous' }, + { name: 'overall.customize', value: 'customize' } ], timeUnitList: [ - { name: 'minute', value: 'minute' }, - { name: 'hour', value: 'hour' }, - { name: 'day', value: 'day' }, - { name: 'week', value: 'week' }, - { name: 'month', value: 'month' }, - { name: 'year', value: 'year' } + { name: 'overall.minute', value: 'minute' }, + { name: 'overall.hour', value: 'hour' }, + { name: 'overall.day', value: 'day' }, + { name: 'overall.week', value: 'week' }, + { name: 'overall.month', value: 'month' }, + { name: 'overall.year', value: 'year' } ], scheduleTypeList: [ { name: 'report.daily', value: 'day' }, diff --git a/src/views/detections/overview/DetectionSecurityEventOverview.vue b/src/views/detections/overview/DetectionSecurityEventOverview.vue index 5e8c30a4..892b93a3 100644 --- a/src/views/detections/overview/DetectionSecurityEventOverview.vue +++ b/src/views/detections/overview/DetectionSecurityEventOverview.vue @@ -4,10 +4,10 @@
{{ $t('overall.remark') }}
- {{detection.victimIp}}  communicated with {{detection.offenderIp}}  that was associated with the indicator of {{detection.eventName}} activity, {{$_.get(detection, 'eventInfoObj.ioc_value', '') || ''}}. + {{detection.victimIp}}  communicated with {{detection.offenderIp}}  that was associated with the indicator of {{detection.eventName}} activity, {{$_.get(detection, 'eventInfoObj.ioc_value', '') || ''}}.
- {{detection.victimIp}}  communicated with {{detection.offenderIp}}  that was associated with the indicator of {{detection.eventName}}. + {{detection.victimIp}}  communicated with {{detection.offenderIp}}  that was associated with the indicator of {{detection.eventName}}.
{{ $_.get(basicInfo, 'ruleInfo.description', '-') || '-' }} @@ -364,7 +364,8 @@ import { changeI18nOfSeverity } from '@/utils/tools' export default { name: 'DetectionOverview', props: { - detection: Object + detection: Object, + timeFilter: Object }, data () { return { @@ -504,7 +505,8 @@ export default { path: '/entity/detail', query: { entityType: type, - entityName: name + entityName: name, + range: this.timeFilter.dateRangeValue } }) window.open(href, '_blank')