From 30836446389d7f4bcb0df072a459d7c047442ed0 Mon Sep 17 00:00:00 2001 From: baiqi Date: Fri, 5 Jul 2024 17:23:57 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=BB=84=E7=BB=87):=20=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E9=9B=86=E6=88=90-TAPD=E9=85=8D=E7=BD=AE=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/configModal.vue | 57 ++++++++++++------- .../components/serviceList.vue | 2 - .../organization/serviceIntegration/index.vue | 3 - .../serviceIntegration/locale/en-US.ts | 1 + .../serviceIntegration/locale/zh-CN.ts | 1 + 5 files changed, 40 insertions(+), 24 deletions(-) diff --git a/frontend/src/views/setting/organization/serviceIntegration/components/configModal.vue b/frontend/src/views/setting/organization/serviceIntegration/components/configModal.vue index 55b01f6f1b..3776efc675 100644 --- a/frontend/src/views/setting/organization/serviceIntegration/components/configModal.vue +++ b/frontend/src/views/setting/organization/serviceIntegration/components/configModal.vue @@ -7,7 +7,18 @@ :cancel-text="t('organization.member.Cancel')" unmount-on-close > - +
@@ -18,28 +29,32 @@
{{ t('organization.service.Cancel') }} - {{ - t('organization.service.testLink') - }} - {{ - t('organization.service.Confirm') - }} + + {{ t('organization.service.testLink') }} + + + {{ t('organization.service.Confirm') }} +
@@ -174,7 +189,7 @@ // 测试连接是否通过 const testLink = async () => { testLoading.value = true; - fApi.value?.validate(async (valid: any, fail: any) => { + fApi.value?.validate(async (valid: any) => { if (valid === true) { try { const formValue = { @@ -189,7 +204,6 @@ testLoading.value = false; } } else { - console.log(fail); testLoading.value = false; } }); @@ -205,6 +219,11 @@ formItem.value = { ...serviceItem }; getPluginScript(pluginId.value); }; + + function openTapd() { + window.open('https://jsj.top/f/Lpk1sh'); + } + defineExpose({ addOrEdit, title, diff --git a/frontend/src/views/setting/organization/serviceIntegration/components/serviceList.vue b/frontend/src/views/setting/organization/serviceIntegration/components/serviceList.vue index 51e5748953..f9309a629d 100644 --- a/frontend/src/views/setting/organization/serviceIntegration/components/serviceList.vue +++ b/frontend/src/views/setting/organization/serviceIntegration/components/serviceList.vue @@ -131,7 +131,6 @@