diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 298b5106..1abf829a 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -756,6 +756,13 @@ "setting_successfully": "Setting Successfully", "customize_theme_color": "Customize theme color" }, + "platform": { + "title": "Platform Integration", + "status_open": "Enabled", + "status_close": "Disabled", + "access_in": "Access", + "can_enable_it": "Can be enabled after successful test connection" + }, "authentication": { "invalid": "Invalid", "valid": "Valid", diff --git a/frontend/src/i18n/ko-KR.json b/frontend/src/i18n/ko-KR.json index a2d03dfc..81df893a 100644 --- a/frontend/src/i18n/ko-KR.json +++ b/frontend/src/i18n/ko-KR.json @@ -756,6 +756,13 @@ "setting_successfully": "설정 성공", "customize_theme_color": "사용자 정의 테마 색상" }, + "platform": { + "title": "플랫폼 연동", + "status_open": "활성화됨", + "status_close": "비활성화됨", + "access_in": "접속", + "can_enable_it": "연결 테스트 성공 후 활성화 가능" + }, "authentication": { "invalid": "유효하지 않음", "valid": "유효함", diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index 1c97722b..48f0567b 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -215,7 +215,6 @@ "chart_selected": "已选{0}" }, "qa": { - "recommended_repetitive_tips": "Duplicate questions exist", "retrieve_error": "暂无内容", "retrieve_again": "重新获取", "recently": "最近", @@ -757,6 +756,13 @@ "setting_successfully": "设置成功", "customize_theme_color": "自定义主题色" }, + "platform": { + "title": "平台对接", + "status_open": "已开启", + "status_close": "已关闭", + "access_in": "接入", + "can_enable_it": "测试连接有效后,可开启" + }, "authentication": { "invalid": "无效", "valid": "有效", diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index 02dc86fb..598c74fd 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -21,6 +21,7 @@ import Audit from '@/views/system/audit/index.vue' import Appearance from '@/views/system/appearance/index.vue' import Parameter from '@/views/system/parameter/index.vue' import Authentication from '@/views/system/authentication/index.vue' +import Platform from '@/views/system/platform/index.vue' import Permission from '@/views/system/permission/index.vue' import User from '@/views/system/user/User.vue' import Workspace from '@/views/system/workspace/index.vue' @@ -212,6 +213,12 @@ export const routes = [ component: Authentication, meta: { title: t('system.authentication_settings') }, }, + { + path: 'platform', + name: 'platform', + component: Platform, + meta: { title: t('platform.title') }, + }, ], }, { diff --git a/frontend/src/views/system/platform/common/InfoTemplate.vue b/frontend/src/views/system/platform/common/InfoTemplate.vue new file mode 100644 index 00000000..df31c94e --- /dev/null +++ b/frontend/src/views/system/platform/common/InfoTemplate.vue @@ -0,0 +1,318 @@ + + + + diff --git a/frontend/src/views/system/platform/common/SettingTemplate.ts b/frontend/src/views/system/platform/common/SettingTemplate.ts new file mode 100644 index 00000000..00eae0f7 --- /dev/null +++ b/frontend/src/views/system/platform/common/SettingTemplate.ts @@ -0,0 +1,11 @@ +export interface SettingRecord { + pkey: string + pval: string + type: string + sort: number +} + +export interface ToolTipRecord { + key: string + val: string +} diff --git a/frontend/src/views/system/platform/dingtalk/DingtalkEdit.vue b/frontend/src/views/system/platform/dingtalk/DingtalkEdit.vue new file mode 100644 index 00000000..2507265e --- /dev/null +++ b/frontend/src/views/system/platform/dingtalk/DingtalkEdit.vue @@ -0,0 +1,280 @@ + + + + + + diff --git a/frontend/src/views/system/platform/dingtalk/DingtalkInfo.vue b/frontend/src/views/system/platform/dingtalk/DingtalkInfo.vue new file mode 100644 index 00000000..8fde4eb7 --- /dev/null +++ b/frontend/src/views/system/platform/dingtalk/DingtalkInfo.vue @@ -0,0 +1,246 @@ + + + + + diff --git a/frontend/src/views/system/platform/index.vue b/frontend/src/views/system/platform/index.vue new file mode 100644 index 00000000..66262576 --- /dev/null +++ b/frontend/src/views/system/platform/index.vue @@ -0,0 +1,59 @@ + + + + diff --git a/frontend/src/views/system/platform/lark/LarkEdit.vue b/frontend/src/views/system/platform/lark/LarkEdit.vue new file mode 100644 index 00000000..33708167 --- /dev/null +++ b/frontend/src/views/system/platform/lark/LarkEdit.vue @@ -0,0 +1,262 @@ + + + + + + diff --git a/frontend/src/views/system/platform/lark/LarkInfo.vue b/frontend/src/views/system/platform/lark/LarkInfo.vue new file mode 100644 index 00000000..76d8974a --- /dev/null +++ b/frontend/src/views/system/platform/lark/LarkInfo.vue @@ -0,0 +1,240 @@ + + + + + diff --git a/frontend/src/views/system/platform/larksuite/LarksuiteEdit.vue b/frontend/src/views/system/platform/larksuite/LarksuiteEdit.vue new file mode 100644 index 00000000..043b92e4 --- /dev/null +++ b/frontend/src/views/system/platform/larksuite/LarksuiteEdit.vue @@ -0,0 +1,262 @@ + + + + + + diff --git a/frontend/src/views/system/platform/larksuite/LarksuiteInfo.vue b/frontend/src/views/system/platform/larksuite/LarksuiteInfo.vue new file mode 100644 index 00000000..4e95763a --- /dev/null +++ b/frontend/src/views/system/platform/larksuite/LarksuiteInfo.vue @@ -0,0 +1,241 @@ + + + + + diff --git a/frontend/src/views/system/platform/wecom/WecomEdit.vue b/frontend/src/views/system/platform/wecom/WecomEdit.vue new file mode 100644 index 00000000..b93488ee --- /dev/null +++ b/frontend/src/views/system/platform/wecom/WecomEdit.vue @@ -0,0 +1,258 @@ + + + + + + diff --git a/frontend/src/views/system/platform/wecom/WecomInfo.vue b/frontend/src/views/system/platform/wecom/WecomInfo.vue new file mode 100644 index 00000000..f53ed258 --- /dev/null +++ b/frontend/src/views/system/platform/wecom/WecomInfo.vue @@ -0,0 +1,247 @@ + + + + +