From 693b76ee186df6edfc0a7c6fa5ef8980459a9d59 Mon Sep 17 00:00:00 2001
From: Liujian <824010343@qq.com>
Date: Thu, 15 Aug 2024 18:28:46 +0800
Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=BB=A3=E7=A0=81=E6=9B=B4?=
=?UTF-8?q?=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/packages/businessEntry/tsconfig.json | 2 +-
.../src/components/aoplatform/BasicLayout.tsx | 4 +-
.../aoplatform/DrawerWithFooter.tsx | 5 +-
.../src/components/aoplatform/InsidePage.tsx | 45 +++++-----
.../aoplatform/InsidePageForHub.tsx | 54 ------------
.../components/aoplatform/PageList.module.css | 1 -
.../src/components/aoplatform/PageList.tsx | 10 +--
.../PublishApprovalModalContent.tsx | 8 +-
.../src/components/aoplatform/UserAvatar.tsx | 2 +-
.../components/aoplatform/WithPermission.tsx | 10 +--
.../IntelligentPluginConfig.tsx | 5 +-
.../IntelligentPluginList.tsx | 10 +--
.../common/src/const/approval/const.tsx | 19 -----
frontend/packages/common/tailwind.config.js | 4 +
.../packages/core/src/const/member/const.tsx | 4 -
.../core/src/const/partitions/const.tsx | 18 ++--
.../packages/core/src/const/role/const.tsx | 1 -
.../packages/core/src/const/system/const.tsx | 29 +------
.../packages/core/src/const/system/type.ts | 3 +-
.../packages/core/src/const/team/const.tsx | 8 --
.../packages/core/src/const/user/const.tsx | 2 -
frontend/packages/core/src/index.css | 19 +++--
.../core/src/pages/auditLog/AuditLog.tsx | 1 -
.../core/src/pages/member/MemberList.tsx | 33 ++------
.../core/src/pages/member/MemberPage.tsx | 68 ++++++---------
.../pages/partitions/PartitionInsideCert.tsx | 13 +--
.../partitions/PartitionInsideCluster.tsx | 62 +++++++-------
.../core/src/pages/role/RoleConfig.tsx | 2 -
.../packages/core/src/pages/role/RoleList.tsx | 84 ++++++++++---------
.../pages/serviceCategory/ServiceCategory.tsx | 18 ++--
.../core/src/pages/system/SystemConfig.tsx | 25 ++----
.../src/pages/system/SystemInsidePage.tsx | 4 +-
.../pages/system/SystemInsideSubscriber.tsx | 17 ++--
.../core/src/pages/system/SystemList.tsx | 2 +-
.../core/src/pages/system/SystemTopology.tsx | 2 +-
.../pages/system/api/SystemInsideApiList.tsx | 2 +-
.../approval/SystemInsideApprovalList.tsx | 2 +-
.../system/publish/SystemInsidePublish.tsx | 2 +-
.../publish/SystemInsidePublishList.tsx | 3 +-
.../upstream/SystemInsideUpstreamContent.tsx | 4 +-
.../core/src/pages/team/TeamInsidePage.tsx | 5 +-
.../packages/core/src/pages/team/TeamList.tsx | 13 +--
frontend/packages/core/tsconfig.json | 2 +-
.../packages/dashboard/src/const/const.tsx | 18 ----
.../market/src/const/serviceHub/const.tsx | 5 --
.../market/src/const/serviceHub/type.ts | 4 -
.../src/pages/serviceHub/ServiceHubGroup.tsx | 11 +--
.../src/pages/serviceHub/ServiceHubList.tsx | 8 +-
.../src/pages/SystemRunningInstruction.tsx | 4 +-
go.mod | 5 +-
middleware/permit/identity/identity.go | 5 +-
middleware/permit/permit.go | 2 +
resources/access/access.yaml | 20 +++++
resources/access/role.yaml | 28 ++++++-
54 files changed, 304 insertions(+), 433 deletions(-)
delete mode 100644 frontend/packages/common/src/components/aoplatform/InsidePageForHub.tsx
diff --git a/frontend/packages/businessEntry/tsconfig.json b/frontend/packages/businessEntry/tsconfig.json
index 4bc7c38f..bfb0e8fa 100644
--- a/frontend/packages/businessEntry/tsconfig.json
+++ b/frontend/packages/businessEntry/tsconfig.json
@@ -28,6 +28,6 @@
"@businessEntry/*": ["./src/*"],
},
},
- "include": ["src", "public/iconpark_eolink.js", "public/iconpark_apinto.js", "../common/src/component/aoplatform/EditableTableWithModal.tsx", "../common/src/components/aoplatform/TransferTable.tsx", "../common/src/components/aoplatform/TreeWithMore.tsx", "../common/src/components/aoplatform/DatePicker.tsx", "../common/src/components/aoplatform/TimeRangeSelector.tsx", "../common/src/components/aoplatform/TimePicker.tsx", "../common/src/components/aoplatform/MemberTransfer.tsx", "../common/src/components/aoplatform/Navigation.tsx", "../common/src/components/aoplatform/PageList.tsx", "../common/src/components/aoplatform/GroupTree.tsx", "../common/src/components/aoplatform/ErrorBoundary.tsx", "../common/src/components/aoplatform/ScrollableSection.tsx", "../common/src/utils/postcat.tsx", "../common/src/utils/curl.ts", "../common/src/components/aoplatform/ResetPsw.tsx", "../common/src/components/aoplatform/SubscribeApprovalModalContent.tsx", "../common/src/components/aoplatform/InsidePageForHub.tsx", "src/components/aoplatform/RenderRoutes.tsx", "../common/src/components/aoplatform/PublishApprovalModalContent.tsx", "../common/src/components/aoplatform/InsidePage.tsx", "../common/src/const/type.ts", "../common/src/components/aoplatform/intelligent-plugin", "../common/src/const/domain"],
+ "include": ["src", "public/iconpark_eolink.js", "public/iconpark_apinto.js", "../common/src/component/aoplatform/EditableTableWithModal.tsx", "../common/src/components/aoplatform/TransferTable.tsx", "../common/src/components/aoplatform/TreeWithMore.tsx", "../common/src/components/aoplatform/DatePicker.tsx", "../common/src/components/aoplatform/TimeRangeSelector.tsx", "../common/src/components/aoplatform/TimePicker.tsx", "../common/src/components/aoplatform/MemberTransfer.tsx", "../common/src/components/aoplatform/Navigation.tsx", "../common/src/components/aoplatform/PageList.tsx", "../common/src/components/aoplatform/GroupTree.tsx", "../common/src/components/aoplatform/ErrorBoundary.tsx", "../common/src/components/aoplatform/ScrollableSection.tsx", "../common/src/utils/postcat.tsx", "../common/src/utils/curl.ts", "../common/src/components/aoplatform/ResetPsw.tsx", "../common/src/components/aoplatform/SubscribeApprovalModalContent.tsx", "src/components/aoplatform/RenderRoutes.tsx", "../common/src/components/aoplatform/PublishApprovalModalContent.tsx", "../common/src/components/aoplatform/InsidePage.tsx", "../common/src/const/type.ts", "../common/src/components/aoplatform/intelligent-plugin", "../common/src/const/domain"],
"references": [{ "path": "./tsconfig.node.json" }]
}
diff --git a/frontend/packages/common/src/components/aoplatform/BasicLayout.tsx b/frontend/packages/common/src/components/aoplatform/BasicLayout.tsx
index 256f4eaa..0e4002fa 100644
--- a/frontend/packages/common/src/components/aoplatform/BasicLayout.tsx
+++ b/frontend/packages/common/src/components/aoplatform/BasicLayout.tsx
@@ -125,7 +125,7 @@ const themeToken = {
{
key: '3',
label: (
-
+
退出登录
),
@@ -259,7 +259,7 @@ const themeToken = {
collapsed={false}
collapsedButtonRender={false}
>
-
+
diff --git a/frontend/packages/common/src/components/aoplatform/DrawerWithFooter.tsx b/frontend/packages/common/src/components/aoplatform/DrawerWithFooter.tsx
index 87531dac..3016cd09 100644
--- a/frontend/packages/common/src/components/aoplatform/DrawerWithFooter.tsx
+++ b/frontend/packages/common/src/components/aoplatform/DrawerWithFooter.tsx
@@ -34,8 +34,11 @@ export function DrawerWithFooter(props:DrawerWithFooterProps){
width="60%"
destroyOnClose={true}
maskClosable={false}
+ classNames={
+ {footer:'text-right'}
+ }
footer={
-
+
{showOkBtn &&