diff --git a/src/router/pam/automations.js b/src/router/pam/automations.js index c1bd0661b..d23b976f9 100644 --- a/src/router/pam/automations.js +++ b/src/router/pam/automations.js @@ -81,6 +81,16 @@ export default [ // activeMenu: '/console/accounts/automations', permissions: ['accounts.view_gatheraccountsexecution'] } + }, + { + path: 'account/:id', + component: () => import('@/views/accounts/AccountDiscover/AccountDetail/index.vue'), + name: 'AccountDiscoverAccountDetail', + hidden: true, + meta: { + title: i18n.t('AccountDiscoverAccountDetail'), + permissions: ['accounts.view_gatheraccountsexecution'] + } } ] }, diff --git a/src/views/accounts/AccountDiscover/AccountDetail/index.vue b/src/views/accounts/AccountDiscover/AccountDetail/index.vue new file mode 100644 index 000000000..29d974ced --- /dev/null +++ b/src/views/accounts/AccountDiscover/AccountDetail/index.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/src/views/accounts/AccountDiscover/AccountDetail/info.vue b/src/views/accounts/AccountDiscover/AccountDetail/info.vue new file mode 100644 index 000000000..fcc141bcc --- /dev/null +++ b/src/views/accounts/AccountDiscover/AccountDetail/info.vue @@ -0,0 +1,39 @@ + + + + + diff --git a/src/views/accounts/AccountDiscover/AccountDetail/more.vue b/src/views/accounts/AccountDiscover/AccountDetail/more.vue new file mode 100644 index 000000000..29599ac6d --- /dev/null +++ b/src/views/accounts/AccountDiscover/AccountDetail/more.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/src/views/accounts/const.js b/src/views/accounts/const.js index 0da965e47..85040ff68 100644 --- a/src/views/accounts/const.js +++ b/src/views/accounts/const.js @@ -36,7 +36,13 @@ export const gatherAccountTableConfig = (vm, url) => { } }, username: { - showOverflowTooltip: true + formatter: function(row) { + const to = { + name: 'AccountDiscoverAccountDetail', + params: { id: row.id } + } + return h('router-link', { props: { to }}, row.username) + } }, present: { width: '120px'