perf: update account list

This commit is contained in:
“huailei000” 2022-10-13 16:03:03 +08:00 committed by huailei
parent 4afb282ca2
commit ebaf97a495
4 changed files with 8 additions and 2 deletions

View File

@ -77,12 +77,12 @@ export default {
resource: 'account'
},
columns: [
'hostname', 'ip', 'username', 'version', 'connectivity',
'hostname', 'ip', 'username', 'version', 'privlieged', 'connectivity',
'date_created', 'date_updated', 'actions'
],
columnsShow: {
min: ['username', 'actions'],
default: ['hostname', 'ip', 'username', 'version', 'actions']
default: ['hostname', 'ip', 'username', 'version', 'privlieged', 'actions']
},
columnsMeta: {
hostname: {
@ -116,6 +116,9 @@ export default {
version: {
width: '70px'
},
privlieged: {
label: this.$t('assets.Privileged')
},
connectivity: connectivityMeta,
actions: {
formatter: ActionsFormatter,

View File

@ -103,6 +103,7 @@
"CreateDevice": "Create asset - Network device",
"CreateCloud": "Create asset - Cloud platform",
"CreateWeb": "Create asset - web",
"Privileged": "Privileged",
"SelectPlatforms": "Select platforms",
"AppList": "Application list",
"AssociateSystemUsers": "Associate system users",

View File

@ -108,6 +108,7 @@
"CreateDevice": "資産の作成 - ネットワークデバイス",
"CreateCloud": "資産の作成 - クラウドプラットフォーム",
"CreateWeb": "資産の作成 - ウェブ",
"Privileged": "特権のある",
"SelectPlatforms": "プラットフォームを選択",
"AppList": "アプリケーションリスト",
"AssociateSystemUsers": "関連システムユーザー",

View File

@ -109,6 +109,7 @@
"CreateDevice": "创建资产-网络设备",
"CreateCloud": "创建资产-云平台",
"CreateWeb": "创建资产-web",
"Privileged": "有特权",
"SelectPlatforms": "选择平台",
"AppList": "应用列表",
"AssociateSystemUsers": "关联系统用户",