From 7f13ef35a783c3d2c981fb8803a077be6a24feef Mon Sep 17 00:00:00 2001 From: ibuler Date: Thu, 5 Dec 2024 16:07:58 +0800 Subject: [PATCH] perf: update appliations --- .../CardTable/DataCardTable/CardPanel.vue | 1 - .../CardTable/DataCardTable/InfoPanel.vue | 4 +- .../TableFormatters/CopyableFormatter.vue | 56 +++++++++++++++ src/router/pam/integrations.js | 2 +- src/views/pam/Integration/ApplicationList.vue | 69 ++++++++++++------- 5 files changed, 103 insertions(+), 29 deletions(-) create mode 100644 src/components/Table/TableFormatters/CopyableFormatter.vue diff --git a/src/components/Table/CardTable/DataCardTable/CardPanel.vue b/src/components/Table/CardTable/DataCardTable/CardPanel.vue index 661a9cd74..c57a340c0 100644 --- a/src/components/Table/CardTable/DataCardTable/CardPanel.vue +++ b/src/components/Table/CardTable/DataCardTable/CardPanel.vue @@ -24,7 +24,6 @@ - diff --git a/src/components/Table/CardTable/DataCardTable/InfoPanel.vue b/src/components/Table/CardTable/DataCardTable/InfoPanel.vue index d0e4f337d..e751df40a 100644 --- a/src/components/Table/CardTable/DataCardTable/InfoPanel.vue +++ b/src/components/Table/CardTable/DataCardTable/InfoPanel.vue @@ -1,7 +1,7 @@ diff --git a/src/components/Table/TableFormatters/CopyableFormatter.vue b/src/components/Table/TableFormatters/CopyableFormatter.vue new file mode 100644 index 000000000..ddedc1d0c --- /dev/null +++ b/src/components/Table/TableFormatters/CopyableFormatter.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/src/router/pam/integrations.js b/src/router/pam/integrations.js index 125bca366..49c780e3c 100644 --- a/src/router/pam/integrations.js +++ b/src/router/pam/integrations.js @@ -48,7 +48,7 @@ export default [ { path: ':id', component: () => import('@/views/pam/Integration/ApplicationDetail/index.vue'), - name: 'ApplicationDetail', + name: 'IntegrationApplicationDetail', hidden: true, meta: { title: i18n.t('ApplicationDetail'), diff --git a/src/views/pam/Integration/ApplicationList.vue b/src/views/pam/Integration/ApplicationList.vue index 30f279b18..aadba5cab 100644 --- a/src/views/pam/Integration/ApplicationList.vue +++ b/src/views/pam/Integration/ApplicationList.vue @@ -1,48 +1,67 @@