mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-29 21:28:52 +00:00
perf: 优化资产平台详情显示ID字段;优化组件监控显示Video-Worker名称
This commit is contained in:
@@ -61,14 +61,14 @@ export default {
|
||||
quickActions: [],
|
||||
url: `/api/v1/assets/platforms/${this.object.id}`,
|
||||
detailFields: [
|
||||
'name', 'charset', 'internal',
|
||||
'id', 'name', 'charset', 'internal',
|
||||
{
|
||||
key: this.$t('assets.Type'),
|
||||
value: `${this.object.category?.label}/${this.object.type?.label}`
|
||||
},
|
||||
'su_method',
|
||||
'comment'
|
||||
'su_method', 'comment'
|
||||
],
|
||||
|
||||
protocolChoices: null,
|
||||
constraints: {}
|
||||
}
|
||||
|
||||
@@ -93,7 +93,8 @@ export default {
|
||||
core: 'Core',
|
||||
celery: 'Celery',
|
||||
magnus: 'Magnus',
|
||||
tinker: 'Tinker'
|
||||
tinker: 'Tinker',
|
||||
video_worker: 'Video-Worker'
|
||||
}
|
||||
return nameMapper[this.componentMetric.type]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user