From e365f874bca845d902e1a734607882f013151b85 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Tue, 11 Feb 2025 14:39:17 +0800 Subject: [PATCH 1/2] perf: Platform --- src/views/assets/Platform/PlatformDetail/index.vue | 1 + src/views/assets/Platform/PlatformList.vue | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/assets/Platform/PlatformDetail/index.vue b/src/views/assets/Platform/PlatformDetail/index.vue index cda81dbd5..a1273c89f 100644 --- a/src/views/assets/Platform/PlatformDetail/index.vue +++ b/src/views/assets/Platform/PlatformDetail/index.vue @@ -25,6 +25,7 @@ export default { TaskDetail: {}, actions: {}, config: { + url: '/api/v1/assets/platforms', title: this.$t('PlatformDetail'), activeMenu: 'Detail', submenu: [ diff --git a/src/views/assets/Platform/PlatformList.vue b/src/views/assets/Platform/PlatformList.vue index ac5921987..c75132e41 100644 --- a/src/views/assets/Platform/PlatformList.vue +++ b/src/views/assets/Platform/PlatformList.vue @@ -7,7 +7,13 @@ @tab-click="changeMoreCreates" > - + @@ -26,6 +32,8 @@ export default { data() { const vm = this return { + createDrawer: () => import('@/views/assets/Platform/PlatformCreateUpdate.vue'), + detailDrawer: () => import('@/views/assets/Platform/PlatformDetail/index.vue'), loading: true, platformPageHelpMsg: this.$t('PlatformPageHelpMsg'), tab: { From c4bba7e74d6fcd9217c83277a6a63d2945940a8b Mon Sep 17 00:00:00 2001 From: zhaojisen <1301338853@qq.com> Date: Tue, 11 Feb 2025 14:46:11 +0800 Subject: [PATCH 2/2] Perf: Change AccountConnectFormatter To Common Component --- .../Apps/AccountListTable/AccountList.vue | 22 +++++++++++-------- src/views/accounts/Account/AccountList.vue | 13 +---------- src/views/pam/Account/AccountList.vue | 19 +--------------- .../Integration/components/AccountList.vue | 19 +--------------- .../AssetPermissionAccount.vue | 2 +- 5 files changed, 17 insertions(+), 58 deletions(-) diff --git a/src/components/Apps/AccountListTable/AccountList.vue b/src/components/Apps/AccountListTable/AccountList.vue index a166c89a6..e30530d30 100644 --- a/src/components/Apps/AccountListTable/AccountList.vue +++ b/src/components/Apps/AccountListTable/AccountList.vue @@ -52,7 +52,7 @@