From dd926ea42b9239ec68421b3b05a1fbf4dcf7a760 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 23 Apr 2024 20:33:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(X-Pack):=20=E9=82=AE=E4=BB=B6=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/zh-CN.ts | 10 +++++++ .../src/views/system/common/InfoTemplate.vue | 5 ++++ .../src/views/system/parameter/index.vue | 18 ++++++++++-- de-xpack | 2 +- .../java/io/dataease/api/email/EmailApi.java | 28 +++++++++++++++++++ 5 files changed, 59 insertions(+), 4 deletions(-) create mode 100644 sdk/api/api-base/src/main/java/io/dataease/api/email/EmailApi.java diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index ebcba86ffe..32fb51656f 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -2163,6 +2163,16 @@ export default { platformOid: '第三方平台用户组织', platformRid: '第三方平台用户角色' }, + setting_email: { + title: '邮件设置', + host: 'SMTP主机', + port: 'SMTP端口', + account: 'SMTP账号', + pwd: 'SMTP密码', + reci: '测试收件人', + ssl: 'SSL', + tsl: 'TSL' + }, template_manage: { name_already_exists_type: '分类名称已存在', the_same_category: '同一分类下,该模板名称已存在' diff --git a/core/core-frontend/src/views/system/common/InfoTemplate.vue b/core/core-frontend/src/views/system/common/InfoTemplate.vue index c75313e8cc..b93f84d32e 100644 --- a/core/core-frontend/src/views/system/common/InfoTemplate.vue +++ b/core/core-frontend/src/views/system/common/InfoTemplate.vue @@ -5,6 +5,7 @@ {{ curTitle }}
+ {{ testConnectText }} {{ t('commons.edit') }} {{ t('datasource.validate') @@ -109,6 +110,10 @@ const props = defineProps({ type: Boolean, default: false }, + testConnectText: { + type: String, + default: null + }, copyList: { type: Array as PropType, default: () => [] diff --git a/core/core-frontend/src/views/system/parameter/index.vue b/core/core-frontend/src/views/system/parameter/index.vue index ecf9142f6e..67ba9162db 100644 --- a/core/core-frontend/src/views/system/parameter/index.vue +++ b/core/core-frontend/src/views/system/parameter/index.vue @@ -8,8 +8,13 @@ +
+