mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-17 15:52:32 +00:00
perf: 命令过滤详情展示更多字段信息
This commit is contained in:
committed by
Jiangjie.Bai
parent
800315fb7c
commit
0857007e15
@@ -43,9 +43,17 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: this.$t('acl.CommandGroup'),
|
key: this.$t('acl.CommandGroup'),
|
||||||
value: this.object.command_groups.map((item) => { return item.name }).join(', ')
|
value: this.object.command_groups.map((item) => item.name).join(', ')
|
||||||
},
|
},
|
||||||
'comment'
|
{
|
||||||
|
key: this.$t('acl.action'),
|
||||||
|
value: this.object.action?.label
|
||||||
|
},
|
||||||
|
(this.object.action?.value === 'review' && {
|
||||||
|
key: this.$t('acl.reviewer'),
|
||||||
|
value: this.object?.reviewers.map((item) => item?.name).join(', ')
|
||||||
|
}),
|
||||||
|
'priority', 'is_active', 'comment'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user