From d7affe1034f8dbd81270601170ae21b0274298fd Mon Sep 17 00:00:00 2001
From: w940853815 <940853815@qq.com>
Date: Thu, 6 Feb 2025 19:06:48 +0800
Subject: [PATCH] perf: integrations application detail add account tab page
---
.../Integration/ApplicationDetail/index.vue | 11 +-
.../Integration/components/AccountList.vue | 114 ++++++++++++++++++
src/views/pam/Integration/index.vue | 2 +-
3 files changed, 124 insertions(+), 3 deletions(-)
create mode 100644 src/views/pam/Integration/components/AccountList.vue
diff --git a/src/views/pam/Integration/ApplicationDetail/index.vue b/src/views/pam/Integration/ApplicationDetail/index.vue
index 741613027..f088be256 100644
--- a/src/views/pam/Integration/ApplicationDetail/index.vue
+++ b/src/views/pam/Integration/ApplicationDetail/index.vue
@@ -10,12 +10,14 @@
import { GenericDetailPage } from '@/layout/components'
import IntegrationApplicationInfo from './ServiceInfo.vue'
import ServiceCallRecords from '../components/CallRecords.vue'
+import IntegrationApplicationAccount from '../components/AccountList.vue'
export default {
components: {
GenericDetailPage,
ServiceCallRecords,
- IntegrationApplicationInfo
+ IntegrationApplicationInfo,
+ IntegrationApplicationAccount
},
data() {
return {
@@ -30,10 +32,15 @@ export default {
name: 'IntegrationApplicationInfo',
hidden: () => !this.$hasPerm('accounts.view_integrationapplication')
},
+ {
+ title: this.$t('Account'),
+ name: 'IntegrationApplicationAccount',
+ hidden: () => !this.$hasPerm('accounts.view_integrationapplication')
+ },
{
name: 'ServiceCallRecords',
title: this.$t('CallRecords'),
- hidden: () => !this.$hasPerm('audits.view_serviceaccesslog')
+ hidden: () => !this.$hasPerm('audits.view_integrationapplicationlog')
}
]
}
diff --git a/src/views/pam/Integration/components/AccountList.vue b/src/views/pam/Integration/components/AccountList.vue
new file mode 100644
index 000000000..e2b07b694
--- /dev/null
+++ b/src/views/pam/Integration/components/AccountList.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
diff --git a/src/views/pam/Integration/index.vue b/src/views/pam/Integration/index.vue
index 34e378b1e..62512bf99 100644
--- a/src/views/pam/Integration/index.vue
+++ b/src/views/pam/Integration/index.vue
@@ -27,7 +27,7 @@ export default {
{
name: 'records',
title: this.$t('Records'),
- hidden: !this.$hasPerm('audits.view_serviceaccesslog'),
+ hidden: !this.$hasPerm('audits.view_integrationapplicationlog'),
component: () => import('@/views/pam/Integration/components/CallRecords.vue')
},
{