From 7aab11b98499ed1bc02a2f38ca02fdc8ca88da1d Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 29 Nov 2025 16:06:23 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90system=E3=80=91=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=AE=9D=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web-antd/src/api/system/social/client/index.ts | 1 + apps/web-antd/src/views/system/social/client/data.ts | 12 ++++++++++++ apps/web-ele/src/api/system/social/client/index.ts | 1 + apps/web-ele/src/views/system/social/client/data.ts | 12 ++++++++++++ apps/web-naive/src/api/system/social/client/index.ts | 1 + .../web-naive/src/views/system/social/client/data.ts | 12 ++++++++++++ .../src/api/system/social/client/index.ts | 1 + .../src/views/system/social/client/data.ts | 12 ++++++++++++ 8 files changed, 52 insertions(+) diff --git a/apps/web-antd/src/api/system/social/client/index.ts b/apps/web-antd/src/api/system/social/client/index.ts index 181cdf86b..55978dd14 100644 --- a/apps/web-antd/src/api/system/social/client/index.ts +++ b/apps/web-antd/src/api/system/social/client/index.ts @@ -12,6 +12,7 @@ export namespace SystemSocialClientApi { clientId: string; clientSecret: string; agentId?: string; + publicKey?: string; status: number; createTime?: Date; } diff --git a/apps/web-antd/src/views/system/social/client/data.ts b/apps/web-antd/src/views/system/social/client/data.ts index 15402d12a..c9638ff37 100644 --- a/apps/web-antd/src/views/system/social/client/data.ts +++ b/apps/web-antd/src/views/system/social/client/data.ts @@ -82,6 +82,18 @@ export function useFormSchema(): VbenFormSchema[] { values.socialType === SystemUserSocialTypeEnum.WECHAT_ENTERPRISE.type, }, }, + { + fieldName: 'publicKey', + label: 'publicKey', + component: 'Input', + componentProps: { + placeholder: '请输入 publicKey 公钥', + }, + dependencies: { + triggerFields: ['socialType'], + show: (values) => values.socialType === 40, + }, + }, { fieldName: 'status', label: '状态', diff --git a/apps/web-ele/src/api/system/social/client/index.ts b/apps/web-ele/src/api/system/social/client/index.ts index 181cdf86b..55978dd14 100644 --- a/apps/web-ele/src/api/system/social/client/index.ts +++ b/apps/web-ele/src/api/system/social/client/index.ts @@ -12,6 +12,7 @@ export namespace SystemSocialClientApi { clientId: string; clientSecret: string; agentId?: string; + publicKey?: string; status: number; createTime?: Date; } diff --git a/apps/web-ele/src/views/system/social/client/data.ts b/apps/web-ele/src/views/system/social/client/data.ts index f7f15d6b3..1fcf77a28 100644 --- a/apps/web-ele/src/views/system/social/client/data.ts +++ b/apps/web-ele/src/views/system/social/client/data.ts @@ -80,6 +80,18 @@ export function useFormSchema(): VbenFormSchema[] { values.socialType === SystemUserSocialTypeEnum.WECHAT_ENTERPRISE.type, }, }, + { + fieldName: 'publicKey', + label: 'publicKey', + component: 'Input', + componentProps: { + placeholder: '请输入 publicKey 公钥', + }, + dependencies: { + triggerFields: ['socialType'], + show: (values) => values.socialType === 40, + }, + }, { fieldName: 'status', label: '状态', diff --git a/apps/web-naive/src/api/system/social/client/index.ts b/apps/web-naive/src/api/system/social/client/index.ts index 181cdf86b..55978dd14 100644 --- a/apps/web-naive/src/api/system/social/client/index.ts +++ b/apps/web-naive/src/api/system/social/client/index.ts @@ -12,6 +12,7 @@ export namespace SystemSocialClientApi { clientId: string; clientSecret: string; agentId?: string; + publicKey?: string; status: number; createTime?: Date; } diff --git a/apps/web-naive/src/views/system/social/client/data.ts b/apps/web-naive/src/views/system/social/client/data.ts index fbd3b8bd7..54ae3c7bf 100644 --- a/apps/web-naive/src/views/system/social/client/data.ts +++ b/apps/web-naive/src/views/system/social/client/data.ts @@ -79,6 +79,18 @@ export function useFormSchema(): VbenFormSchema[] { values.socialType === SystemUserSocialTypeEnum.WECHAT_ENTERPRISE.type, }, }, + { + fieldName: 'publicKey', + label: 'publicKey', + component: 'Input', + componentProps: { + placeholder: '请输入 publicKey 公钥', + }, + dependencies: { + triggerFields: ['socialType'], + show: (values) => values.socialType === 40, + }, + }, { fieldName: 'status', label: '状态', diff --git a/apps/web-tdesign/src/api/system/social/client/index.ts b/apps/web-tdesign/src/api/system/social/client/index.ts index 181cdf86b..55978dd14 100644 --- a/apps/web-tdesign/src/api/system/social/client/index.ts +++ b/apps/web-tdesign/src/api/system/social/client/index.ts @@ -12,6 +12,7 @@ export namespace SystemSocialClientApi { clientId: string; clientSecret: string; agentId?: string; + publicKey?: string; status: number; createTime?: Date; } diff --git a/apps/web-tdesign/src/views/system/social/client/data.ts b/apps/web-tdesign/src/views/system/social/client/data.ts index bbcd3c18b..7075b7bd7 100644 --- a/apps/web-tdesign/src/views/system/social/client/data.ts +++ b/apps/web-tdesign/src/views/system/social/client/data.ts @@ -81,6 +81,18 @@ export function useFormSchema(): VbenFormSchema[] { values.socialType === SystemUserSocialTypeEnum.WECHAT_ENTERPRISE.type, }, }, + { + fieldName: 'publicKey', + label: 'publicKey', + component: 'Input', + componentProps: { + placeholder: '请输入 publicKey 公钥', + }, + dependencies: { + triggerFields: ['socialType'], + show: (values) => values.socialType === 40, + }, + }, { fieldName: 'status', label: '状态',