From bd4b5ec0c393dca4442caaa2cb6bc1e711884343 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Mon, 24 Feb 2025 11:47:56 +0800 Subject: [PATCH] perf: Pam execution --- .../AccountBackupExecution/AccountBackupExecutionList.vue | 4 ++-- .../AccountChangeSecretExecutionList.vue | 4 ++-- src/views/accounts/AccountDiscover/TaskExecutionList.vue | 3 +-- src/views/accounts/AccountPush/AccountPushExecutionList.vue | 4 ++-- src/views/pam/RiskDetect/AccountCheckExecutionList.vue | 1 + 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue b/src/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue index c17bfef4e..f7e6ebe94 100644 --- a/src/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue +++ b/src/views/accounts/AccountBackup/AccountBackupExecution/AccountBackupExecutionList.vue @@ -43,10 +43,10 @@ export default { name: 'AccountBackupExecutionDetail', params: { id: row.id } }), + getTitle: ({ row }) => row['short_id'], drawer: true, can: this.$hasPerm('accounts.view_backupaccountexecution') - }, - width: '240px' + } }, backup_name: { label: this.$t('DisplayName'), diff --git a/src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue b/src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue index ea490f2bf..740a06a3e 100644 --- a/src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue +++ b/src/views/accounts/AccountChangeSecret/AccountChangeSecretExecution/AccountChangeSecretExecutionList.vue @@ -36,10 +36,10 @@ export default { name: 'AccountChangeSecretExecutionDetail', params: { id: row.id } }), + getTitle: ({ row }) => row['short_id'], drawer: true, can: this.$hasPerm('accounts.view_changesecretexecution') - }, - width: '240px' + } }, change_secret_name: { label: this.$t('DisplayName'), diff --git a/src/views/accounts/AccountDiscover/TaskExecutionList.vue b/src/views/accounts/AccountDiscover/TaskExecutionList.vue index df7c8d636..79cb77e03 100644 --- a/src/views/accounts/AccountDiscover/TaskExecutionList.vue +++ b/src/views/accounts/AccountDiscover/TaskExecutionList.vue @@ -47,8 +47,7 @@ export default { }), getTitle: ({ row }) => row['short_id'], drawer: true - }, - width: '120px' + } }, status: { label: this.$t('Status'), diff --git a/src/views/accounts/AccountPush/AccountPushExecutionList.vue b/src/views/accounts/AccountPush/AccountPushExecutionList.vue index d4a59ccd0..25d5360dc 100644 --- a/src/views/accounts/AccountPush/AccountPushExecutionList.vue +++ b/src/views/accounts/AccountPush/AccountPushExecutionList.vue @@ -42,10 +42,10 @@ export default { name: 'AccountPushExecutionDetail', params: { id: row.id } }), + getTitle: ({ row }) => row['short_id'], drawer: true, can: this.$hasPerm('accounts.view_pushaccountexecution') - }, - width: '240px' + } }, push_user_name: { label: this.$t('DisplayName'), diff --git a/src/views/pam/RiskDetect/AccountCheckExecutionList.vue b/src/views/pam/RiskDetect/AccountCheckExecutionList.vue index 5fdc4272c..e67d018b1 100644 --- a/src/views/pam/RiskDetect/AccountCheckExecutionList.vue +++ b/src/views/pam/RiskDetect/AccountCheckExecutionList.vue @@ -44,6 +44,7 @@ export default { name: 'AccountCheckExecutionDetail', params: { id: row.id } }), + getTitle: ({ row }) => row['short_id'], drawer: true, can: this.$hasPerm('accounts.view_checkaccountexecution') }