From d3a8a1c95fc8d7c63f041b0602666f86c23d7fee Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 22 Dec 2024 08:45:19 +0800 Subject: [PATCH] =?UTF-8?q?feat(openiddict):=20=E5=A2=9E=E5=8A=A0=E6=8E=88?= =?UTF-8?q?=E6=9D=83=E8=B7=AF=E7=94=B1.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app-antd/src/locales/langs/en-US/abp.json | 3 ++- .../app-antd/src/locales/langs/zh-CN/abp.json | 3 ++- .../app-antd/src/router/routes/modules/abp.ts | 10 ++++++++++ .../src/views/openiddict/authorizations/index.vue | 15 +++++++++++++++ .../@abp/openiddict/src/components/index.ts | 1 + 5 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 apps/vben5/apps/app-antd/src/views/openiddict/authorizations/index.vue diff --git a/apps/vben5/apps/app-antd/src/locales/langs/en-US/abp.json b/apps/vben5/apps/app-antd/src/locales/langs/en-US/abp.json index 841a8d0ab..84e4c6eb2 100644 --- a/apps/vben5/apps/app-antd/src/locales/langs/en-US/abp.json +++ b/apps/vben5/apps/app-antd/src/locales/langs/en-US/abp.json @@ -14,6 +14,7 @@ }, "openiddict": { "title": "OpenIddict", - "applications": "Applications" + "applications": "Applications", + "authorizations": "Authorizations" } } diff --git a/apps/vben5/apps/app-antd/src/locales/langs/zh-CN/abp.json b/apps/vben5/apps/app-antd/src/locales/langs/zh-CN/abp.json index cb55b88b7..f888d040a 100644 --- a/apps/vben5/apps/app-antd/src/locales/langs/zh-CN/abp.json +++ b/apps/vben5/apps/app-antd/src/locales/langs/zh-CN/abp.json @@ -14,6 +14,7 @@ }, "openiddict": { "title": "OpenIddict", - "applications": "应用管理" + "applications": "应用管理", + "authorizations": "授权管理" } } diff --git a/apps/vben5/apps/app-antd/src/router/routes/modules/abp.ts b/apps/vben5/apps/app-antd/src/router/routes/modules/abp.ts index cbb011642..414096bbc 100644 --- a/apps/vben5/apps/app-antd/src/router/routes/modules/abp.ts +++ b/apps/vben5/apps/app-antd/src/router/routes/modules/abp.ts @@ -110,6 +110,16 @@ const routes: RouteRecordRaw[] = [ component: () => import('#/views/openiddict/applications/index.vue'), }, + { + meta: { + title: $t('abp.openiddict.authorizations'), + icon: 'arcticons:ente-authenticator', + }, + name: 'OpenIddictAuthorizations', + path: '/openiddict/authorizations', + component: () => + import('#/views/openiddict/authorizations/index.vue'), + }, ], }, ], diff --git a/apps/vben5/apps/app-antd/src/views/openiddict/authorizations/index.vue b/apps/vben5/apps/app-antd/src/views/openiddict/authorizations/index.vue new file mode 100644 index 000000000..cb96f15fd --- /dev/null +++ b/apps/vben5/apps/app-antd/src/views/openiddict/authorizations/index.vue @@ -0,0 +1,15 @@ + + + diff --git a/apps/vben5/packages/@abp/openiddict/src/components/index.ts b/apps/vben5/packages/@abp/openiddict/src/components/index.ts index 018e0abbc..3cfe46c08 100644 --- a/apps/vben5/packages/@abp/openiddict/src/components/index.ts +++ b/apps/vben5/packages/@abp/openiddict/src/components/index.ts @@ -1 +1,2 @@ export { default as ApplicationTable } from './applications/ApplicationTable.vue'; +export { default as AuthorizationTable } from './authorizations/AuthorizationTable.vue';