perf: 命令过滤详情展示更多字段信息

This commit is contained in:
“huailei000”
2023-03-31 15:36:39 +08:00
committed by Jiangjie.Bai
parent 800315fb7c
commit 0857007e15

View File

@@ -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'
] ]
} }
}, },