From ebebfcd03e9962abd81954cea00eb0cf8104ba9e Mon Sep 17 00:00:00 2001
From: zhaojisen <1301338853@qq.com>
Date: Thu, 27 Feb 2025 18:48:40 +0800
Subject: [PATCH 1/5] Fixed: Task Click
---
.../pam/RiskDetect/AccountCheckTaskList.vue | 33 +++++++++----------
1 file changed, 16 insertions(+), 17 deletions(-)
diff --git a/src/views/pam/RiskDetect/AccountCheckTaskList.vue b/src/views/pam/RiskDetect/AccountCheckTaskList.vue
index 7448249e1..94da20f6f 100644
--- a/src/views/pam/RiskDetect/AccountCheckTaskList.vue
+++ b/src/views/pam/RiskDetect/AccountCheckTaskList.vue
@@ -33,35 +33,34 @@ export default {
name: {
formatter: DetailFormatter,
formatterArgs: {
- route: 'AccountCheckDetail'
+ getRoute: ({ row }) => ({
+ name: 'AccountCheckDetail',
+ params: { id: row.id }
+ })
}
},
assets: {
formatter: AmountFormatter,
formatterArgs: {
async: false,
- getRoute({ row }) {
- return {
- name: 'AssetDetail',
- params: {
- id: row.id
- }
- }
- }
+ drawer: true,
+ getTitle: ({ row }) => row.assets[0].name,
+ getRoute: ({ row }) => ({
+ name: 'AssetDetail',
+ params: { id: row.assets[0].id }
+ })
}
},
nodes: {
formatter: AmountFormatter,
formatterArgs: {
async: false,
- getRoute({ row }) {
- return {
- name: 'AssetDetail',
- params: {
- id: row.id
- }
- }
- }
+ drawer: true,
+ getRoute: ({ row }) => ({
+ name: 'AssetDetail',
+ query: { tab: 'Basic' },
+ params: { id: row.assets[0].id }
+ })
}
},
secret_strategy: {
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 2/5] 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')
}
From f0b332a2692cb36920fc25d65d072263aa4e02a4 Mon Sep 17 00:00:00 2001
From: w940853815 <940853815@qq.com>
Date: Fri, 28 Feb 2025 10:48:57 +0800
Subject: [PATCH 3/5] perf: update title for ExecutionRecord and add
ActionsFormatter to ApplicationList
---
src/views/pam/Integration/ApplicationList.vue | 8 +++++++-
src/views/pam/Integration/index.vue | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/views/pam/Integration/ApplicationList.vue b/src/views/pam/Integration/ApplicationList.vue
index 7c7d23b0e..1c60b28be 100644
--- a/src/views/pam/Integration/ApplicationList.vue
+++ b/src/views/pam/Integration/ApplicationList.vue
@@ -7,7 +7,7 @@
-
-
diff --git a/src/views/pam/RiskDetect/AccountCheckDetail/Detail.vue b/src/views/pam/RiskDetect/AccountCheckDetail/Detail.vue
new file mode 100644
index 000000000..a44ef87e8
--- /dev/null
+++ b/src/views/pam/RiskDetect/AccountCheckDetail/Detail.vue
@@ -0,0 +1,65 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/pam/RiskDetect/AccountCheckDetail/index.vue b/src/views/pam/RiskDetect/AccountCheckDetail/index.vue
index 208c0683f..1e6629853 100644
--- a/src/views/pam/RiskDetect/AccountCheckDetail/index.vue
+++ b/src/views/pam/RiskDetect/AccountCheckDetail/index.vue
@@ -8,25 +8,24 @@