diff --git a/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue b/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue index a259d5738..af372ebd8 100644 --- a/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue +++ b/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue @@ -60,6 +60,7 @@ export default { label: this.$t('DisplayName'), formatter: DetailFormatter, formatterArgs: { + drawer: true, getTitle: ({ row }) => row.snapshot.name, getRoute: ({ row }) => ({ name: 'AccountBackupDetail', diff --git a/src/views/accounts/AccountDiscover/TaskExecutionList.vue b/src/views/accounts/AccountDiscover/TaskExecutionList.vue index 90c42747e..1a82d9e88 100644 --- a/src/views/accounts/AccountDiscover/TaskExecutionList.vue +++ b/src/views/accounts/AccountDiscover/TaskExecutionList.vue @@ -70,8 +70,7 @@ export default { getTitle: ({ row }) => row.snapshot.name, getRoute: ({ row }) => ({ name: 'AccountDiscoverTaskDetail', - params: { id: row.automation }, - query: { type: 'pam' } + params: { id: row.automation } }), drawer: true }, diff --git a/src/views/accounts/AccountPush/ExecutionDetail/AccountPushRecord.vue b/src/views/accounts/AccountPush/ExecutionDetail/AccountPushRecord.vue index cbdd00f34..641bab64b 100644 --- a/src/views/accounts/AccountPush/ExecutionDetail/AccountPushRecord.vue +++ b/src/views/accounts/AccountPush/ExecutionDetail/AccountPushRecord.vue @@ -41,6 +41,7 @@ export default { label: this.$t('Asset'), formatter: DetailFormatter, formatterArgs: { + drawer: true, can: this.$hasPerm('assets.view_asset'), getTitle({ row }) { return row.asset.name @@ -57,6 +58,7 @@ export default { label: this.$t('Username'), formatter: DetailFormatter, formatterArgs: { + drawer: true, can: this.$hasPerm('accounts.view_account'), getTitle({ row }) { return row.account.username diff --git a/src/views/pam/RiskDetect/AccountCheckExecutionList.vue b/src/views/pam/RiskDetect/AccountCheckExecutionList.vue index 0141388fb..e5b113060 100644 --- a/src/views/pam/RiskDetect/AccountCheckExecutionList.vue +++ b/src/views/pam/RiskDetect/AccountCheckExecutionList.vue @@ -47,10 +47,9 @@ export default { label: this.$t('ID'), formatter: DetailFormatter, formatterArgs: { - route: 'AccountCheckExecutionDetail', getRoute: ({ row }) => ({ name: 'AccountCheckExecutionDetail', - params: { id: row.id } + params: { id: row.automation } }), getTitle: ({ row }) => row.automation.slice(0, 8), drawer: true, @@ -61,9 +60,10 @@ export default { label: this.$t('DisplayName'), formatter: DetailFormatter, formatterArgs: { + drawer: true, getTitle: ({ row }) => row.snapshot.name, getRoute: ({ row }) => ({ - name: 'AccountCheckDetail', + name: 'AccountCheckList', params: { id: row.automation } }) },