fix: CN-1592 UI 新增Tag检索界面:intent 将unknown修改为info
This commit is contained in:
@@ -172,7 +172,7 @@
|
||||
box-shadow: 0 2px 4px 0 rgba(51,51,51,0.02);
|
||||
border-radius: 12px;
|
||||
}
|
||||
.unknow-list {
|
||||
.info-list {
|
||||
background-color: rgba(var(--el-color-info-rgb),0.1) !important;
|
||||
color: var(--el-color-info)
|
||||
}
|
||||
|
||||
@@ -480,7 +480,7 @@ $color-mousemove-cursor: #D3D0D8;
|
||||
}
|
||||
}
|
||||
|
||||
.unknow {
|
||||
.info {
|
||||
background-color: rgb(119, 131, 145)
|
||||
}
|
||||
|
||||
|
||||
@@ -311,7 +311,7 @@ export default {
|
||||
const vm = this
|
||||
return function (intent) {
|
||||
const t = vm.tagIntent.find(t => t.value === intent)
|
||||
return this.$t(t.label)
|
||||
return t ? this.$t(t.label) : ''
|
||||
}
|
||||
},
|
||||
colorIntent () {
|
||||
|
||||
@@ -111,7 +111,7 @@ if (openMock) {
|
||||
name: 'tag246',
|
||||
category: 'categoty1',
|
||||
indicatorType: 'IP,Domain',
|
||||
intent: 'Unknow',
|
||||
intent: 'Info',
|
||||
description: ' tag1 description',
|
||||
isBuiltIn: 1,
|
||||
createdTime: 1685412014,
|
||||
|
||||
@@ -322,8 +322,8 @@ export const tagIntentOptions = [
|
||||
label: 'tag.intent.benign'
|
||||
},
|
||||
{
|
||||
value: 'Unknow',
|
||||
label: 'tag.intent.unknown'
|
||||
value: 'Info',
|
||||
label: 'tag.intent.info'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -500,9 +500,9 @@ export const knowledgeBaseCategory = [
|
||||
|
||||
export const tagIntent = [
|
||||
{
|
||||
label: 'tag.intent.unknown',
|
||||
value: 'Unknow',
|
||||
name: 'unknow'
|
||||
label: 'tag.intent.info',
|
||||
value: 'Info',
|
||||
name: 'info'
|
||||
},
|
||||
{
|
||||
label: 'tag.intent.benign',
|
||||
|
||||
Reference in New Issue
Block a user