From f61a5354541a898d35b6fd7e5b00a9e951cb3726 Mon Sep 17 00:00:00 2001 From: zhaojisen <1301338853@qq.com> Date: Fri, 28 Feb 2025 10:59:38 +0800 Subject: [PATCH] Fixed: Remove isShort --- .../AccountBackup/Executions/AccountBackupExecutionList.vue | 2 +- .../Executions/AccountChangeSecretExecutionList.vue | 2 +- src/views/accounts/AccountDiscover/TaskExecutionList.vue | 2 +- src/views/accounts/AccountPush/AccountPushExecutionList.vue | 2 +- src/views/pam/RiskDetect/AccountCheckExecutionList.vue | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue b/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue index 188fd6c18..a259d5738 100644 --- a/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue +++ b/src/views/accounts/AccountBackup/Executions/AccountBackupExecutionList.vue @@ -51,7 +51,7 @@ export default { name: 'AccountBackupExecutionDetail', params: { id: row.id } }), - getTitle: ({ row }) => row['short_id'], + getTitle: ({ row }) => row.automation.slice(0, 8), drawer: true, can: this.$hasPerm('accounts.view_backupaccountexecution') } diff --git a/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue b/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue index e95cf7405..13686a7d2 100644 --- a/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue +++ b/src/views/accounts/AccountChangeSecret/Executions/AccountChangeSecretExecutionList.vue @@ -44,7 +44,7 @@ export default { name: 'AccountChangeSecretExecutionDetail', params: { id: row.id } }), - getTitle: ({ row }) => row['short_id'], + getTitle: ({ row }) => row.automation.slice(0, 8), drawer: true, can: this.$hasPerm('accounts.view_changesecretexecution') } diff --git a/src/views/accounts/AccountDiscover/TaskExecutionList.vue b/src/views/accounts/AccountDiscover/TaskExecutionList.vue index 09c483874..90c42747e 100644 --- a/src/views/accounts/AccountDiscover/TaskExecutionList.vue +++ b/src/views/accounts/AccountDiscover/TaskExecutionList.vue @@ -51,7 +51,7 @@ export default { name: 'AccountDiscoverExecutionDetail', params: { id: row.id } }), - getTitle: ({ row }) => row['short_id'], + getTitle: ({ row }) => row.automation.slice(0, 8), drawer: true } }, diff --git a/src/views/accounts/AccountPush/AccountPushExecutionList.vue b/src/views/accounts/AccountPush/AccountPushExecutionList.vue index c10ffcdec..31e25ebc4 100644 --- a/src/views/accounts/AccountPush/AccountPushExecutionList.vue +++ b/src/views/accounts/AccountPush/AccountPushExecutionList.vue @@ -50,7 +50,7 @@ export default { name: 'AccountPushExecutionDetail', params: { id: row.id } }), - getTitle: ({ row }) => row['short_id'], + getTitle: ({ row }) => row.automation.slice(0, 8), drawer: true, can: this.$hasPerm('accounts.view_pushaccountexecution') } diff --git a/src/views/pam/RiskDetect/AccountCheckExecutionList.vue b/src/views/pam/RiskDetect/AccountCheckExecutionList.vue index e6bc86b70..0141388fb 100644 --- a/src/views/pam/RiskDetect/AccountCheckExecutionList.vue +++ b/src/views/pam/RiskDetect/AccountCheckExecutionList.vue @@ -52,7 +52,7 @@ export default { name: 'AccountCheckExecutionDetail', params: { id: row.id } }), - getTitle: ({ row }) => row['short_id'], + getTitle: ({ row }) => row.automation.slice(0, 8), drawer: true, can: this.$hasPerm('accounts.view_checkaccountexecution') }