diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index c5c5d7b77..3cebd0210 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -1071,14 +1071,15 @@ "RoleCreate": "Role create", "RoleUpdate": "Role update", "RoleDetail": "Role detail", - "SessionDetail": "SessionDetail", + "SessionDetail": "Session detail", "Accounts": "Accounts", - "AssetAccount": "Asset Account", + "AssetAccount": "Asset account", + "AssetAccountDetail": "Asset account detail", "AccountTemplate": "Account template", "CreateAccountTemplate": "Create account template", "UpdateAccountTemplate": "Update account template", - "AssetHistoryAccount": "Asset History Account", - "ApplicationAccount": "Application Account", + "AssetHistoryAccount": "Asset history account", + "ApplicationAccount": "Application account", "Ticket": "Tickets", "CommandConfirm": "Command confirm", "AdminUserCreate": "Admin user create", diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index 538cbac9c..7bff30ea1 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -1079,6 +1079,7 @@ "TicketFlowUpdate": "承認フローの更新", "Accounts": "アカウント管理", "AssetAccount": "資産アカウント", + "AssetAccountDetail": "資産アカウント詳細", "AccountTemplate": "アカウントテンプレート", "CreateAccountTemplate": "アカウントテンプレートの作成", "UpdateAccountTemplate": "アカウントテンプレートの更新", diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index 162866927..63d141c88 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -1074,6 +1074,7 @@ "TicketFlowUpdate": "更新审批流", "Accounts": "账号管理", "AssetAccount": "账号列表", + "AssetAccountDetail": "账号详情", "AccountTemplate": "账号模版", "CreateAccountTemplate": "创建账号模版", "UpdateAccountTemplate": "更新账号模版", diff --git a/src/router/console/accounts.js b/src/router/console/accounts.js index ad4f79556..1892c2e46 100644 --- a/src/router/console/accounts.js +++ b/src/router/console/accounts.js @@ -26,7 +26,7 @@ export default [ path: ':id', component: () => import('@/views/accounts/Account/AccountDetail/index.vue'), name: 'AssetAccountDetail', - meta: { title: i18n.t('route.AssetAccount') }, + meta: { title: i18n.t('route.AssetAccountDetail') }, hidden: true } ] diff --git a/src/views/accounts/Account/AccountDetail/Detail.vue b/src/views/accounts/Account/AccountDetail/Detail.vue index a1a4049e4..f73a5bbeb 100644 --- a/src/views/accounts/Account/AccountDetail/Detail.vue +++ b/src/views/accounts/Account/AccountDetail/Detail.vue @@ -141,8 +141,11 @@ export default { ], formatters: { asset: (item, value) => { - console.log('Value: ', value) - return hello + const route = { + name: 'AssetDetail', + params: { id: this.object.asset.id } + } + return { value } } } }