From cb70fb02361b7ab3fd86915eb2f19b94ca2a7dca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= <2498601771@qq.com> Date: Mon, 13 Nov 2023 11:50:15 +0800 Subject: [PATCH] =?UTF-8?q?CN-1439=20fix:=20Detections-Security=20events?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E4=B8=AD=EF=BC=8C=E4=BA=8B=E4=BB=B6=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E8=AF=A6=E6=83=85=E4=B8=AD=E6=B7=BB=E5=8A=A0Policy=20?= =?UTF-8?q?ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/detections/detection-filter.scss | 70 +++++++++++++++++++ .../views/detections/detection-overview.scss | 1 + .../detectionPolicies/PolicyTable.vue | 2 + .../detectionPolicies/PolicyTools.vue | 23 ++++++ .../DetectionSecurityEventOverview.vue | 28 +++++++- 5 files changed, 122 insertions(+), 2 deletions(-) diff --git a/src/assets/css/components/views/detections/detection-filter.scss b/src/assets/css/components/views/detections/detection-filter.scss index 870d1bb8..fccf4be7 100644 --- a/src/assets/css/components/views/detections/detection-filter.scss +++ b/src/assets/css/components/views/detections/detection-filter.scss @@ -119,3 +119,73 @@ background: #EFF2F5; //background: #000; } + +.new-detection-filter-title { + height: 32px; + line-height: 32px; + background: #F7F7F7; + padding: 0 20px; + box-shadow: 0 1px 0 0 rgba(226, 229, 236, 1); + border-radius: 4px 4px 0 0; +} +.new-detection-filter-content { + padding: 20px; + + .new-filter-content-title { + font-family: NotoSansHans-Medium; + font-size: 14px; + line-height: 14px; + margin-bottom: 10px; + color: #353636; + font-weight: 500; + } + .new-filter-content-content { + display: flex; + flex-direction: column; + + .new-filter-content-checkbox { + line-height: 16px; + margin-bottom: 10px; + font-family: NotoSansSChineseRegular; + font-size: 14px; + color: #353636; + font-weight: 400; + + .el-checkbox__inner { + width: 16px !important; + height: 16px !important; + text-align: center !important; + line-height: 16px !important; + } + + .el-checkbox__input.is-indeterminate .el-checkbox__inner { + border-color: #38ACD2; + background: #38ACD2; + border-radius: 2px; + } + .el-checkbox__input.is-indeterminate .el-checkbox__inner:before { + background: #FFFFFF; + border-radius: 1px; + } + .el-checkbox__input.is-checked { + .el-checkbox__inner { + border-color: #38ACD2; + background: #38ACD2; + border-radius: 2px; + } + } + .el-checkbox__input.is-focus { + .el-checkbox__inner { + border-color: #38ACD2; + } + } + + .el-checkbox__label { + font-family: NotoSansSChineseRegular; + font-size: 14px; + color: #353636; + font-weight: 400; + } + } + } +} diff --git a/src/assets/css/components/views/detections/detection-overview.scss b/src/assets/css/components/views/detections/detection-overview.scss index 08e6bdb7..f76946c4 100644 --- a/src/assets/css/components/views/detections/detection-overview.scss +++ b/src/assets/css/components/views/detections/detection-overview.scss @@ -203,6 +203,7 @@ color: #046ECA; margin-bottom: 10px; font-weight: 500; + height: 36px; } .timeline__start-time { font-size: 12px; diff --git a/src/views/detections/detectionPolicies/PolicyTable.vue b/src/views/detections/detectionPolicies/PolicyTable.vue index fb7d1474..36e0303a 100644 --- a/src/views/detections/detectionPolicies/PolicyTable.vue +++ b/src/views/detections/detectionPolicies/PolicyTable.vue @@ -5,6 +5,7 @@ ref="dataTable" :data="tableData" height="100%" + tooltip-effect="light" border empty-text=" " @header-dragend="dragend" @@ -31,6 +32,7 @@ :sortable="item.sortable" :width="`${item.width}`" class="data-column" + :show-overflow-tooltip="['library'].indexOf(item.prop) > -1" >