From b7c53e1caa37e8b8d22d5d346093b7bc3b3f0f8d Mon Sep 17 00:00:00 2001 From: v_yutyi Date: Mon, 13 May 2024 15:13:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8D=8F=E5=90=8C=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=AE=B0=E5=BD=95=20#1684=20#=20Reviewed,=20?= =?UTF-8?q?transaction=20id:=207721?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/src/http/settingFiles.ts | 6 + src/pages/src/http/types/settingFiles.ts | 8 ++ src/pages/src/language/en.json | 4 +- src/pages/src/language/zh.json | 2 - .../other-share/index.vue | 116 ++++++++++++------ .../views/setting/data-source/ConfigList.vue | 1 + 6 files changed, 96 insertions(+), 41 deletions(-) diff --git a/src/pages/src/http/settingFiles.ts b/src/pages/src/http/settingFiles.ts index 8a5b7e192..2dbc9731c 100644 --- a/src/pages/src/http/settingFiles.ts +++ b/src/pages/src/http/settingFiles.ts @@ -1,5 +1,6 @@ import http from './fetch'; import type { + CollaborationSyncRecordsParams, FromStrategiesConfirmParams, NewCustomFieldsParams, NewToStrategiesParams, @@ -136,3 +137,8 @@ export const putFromStrategiesConfirm = (params: FromStrategiesConfirmParams) => * 跨租户协同-编辑协同策略 */ export const putFromStrategies = (params: FromStrategiesConfirmParams) => http.put(`/api/v1/web/collaboration/from-strategies/${params.id}/`, params); + +/** + * 跨租户协同-数据更新记录 + */ +export const getCollaborationSyncRecords = (params: CollaborationSyncRecordsParams) => http.get('/api/v1/web/collaboration/sync-records/', params); diff --git a/src/pages/src/http/types/settingFiles.ts b/src/pages/src/http/types/settingFiles.ts index f07d1f2ab..694ff1e8d 100644 --- a/src/pages/src/http/types/settingFiles.ts +++ b/src/pages/src/http/types/settingFiles.ts @@ -109,3 +109,11 @@ export interface FromStrategiesConfirmParams { }[], }, } + +/** + * 跨租户协同-数据更新记录 + */ +export interface CollaborationSyncRecordsParams { + page?: number, + pageSize?: number, +} diff --git a/src/pages/src/language/en.json b/src/pages/src/language/en.json index 33a26fd51..a01e74ca8 100644 --- a/src/pages/src/language/en.json +++ b/src/pages/src/language/en.json @@ -383,7 +383,7 @@ "确认删除该组织?": "Delete this organization?", "删除该组织同时会删除其下用户与子组织,请谨慎操作": "Deleting this organization will also delete its users and sub-organizations. Please proceed with caution", "新增": "Add", - "配置数据源": "Configure data source", + "配置数据源": "Configure Data Source", "查看组织架构": "View organizational structure", "选择数据源类型": "Select data source type", "支持多种类、多平台异构数据源快速接入,助力全方位分析": "Supports fast access to heterogeneous data sources of multiple types and platforms to facilitate all-round analysis", @@ -432,7 +432,6 @@ "是否重置数据源?": "Reset the data source?", "数据源重置成功": "Data source reset successfully", "导入成功": "Import Successful", - "查看组织架构": "View organizational", "关闭": "Close", "更新": "Update", "立即同步": "Synchronize Now", @@ -443,7 +442,6 @@ "本地": "Local", "暂未配置数据源": "Data source not configured", "需要先配置数据源后才可进行登录配置,当前支持使用以下方式进行登录": "You need to configure a data source before setting up login configurations, currently supports the following methods for logging in", - "配置数据源": "Configure Data Source", "仅对本地数据源启用": "Enable only for local data source", "登录详情": "Login Details", "配置成功": "Configuration Successful", diff --git a/src/pages/src/language/zh.json b/src/pages/src/language/zh.json index 2198dc617..90c7fc034 100644 --- a/src/pages/src/language/zh.json +++ b/src/pages/src/language/zh.json @@ -432,7 +432,6 @@ "是否重置数据源?": "是否重置数据源?", "数据源重置成功": "数据源重置成功", "导入成功": "导入成功", - "查看组织架构": "查看组织架构", "关闭": "关闭", "更新": "更新", "立即同步": "立即同步", @@ -443,7 +442,6 @@ "本地": "本地", "暂未配置数据源": "暂未配置数据源", "需要先配置数据源后才可进行登录配置,当前支持使用以下方式进行登录": "需要先配置数据源后才可进行登录配置,当前支持使用以下方式进行登录", - "配置数据源": "配置数据源", "仅对本地数据源启用": "仅对本地数据源启用", "登录详情": "登录详情", "配置成功": "配置成功", diff --git a/src/pages/src/views/setting/cross-tenant-collaboration/other-share/index.vue b/src/pages/src/views/setting/cross-tenant-collaboration/other-share/index.vue index 62f0d9354..4e0fff384 100644 --- a/src/pages/src/views/setting/cross-tenant-collaboration/other-share/index.vue +++ b/src/pages/src/views/setting/cross-tenant-collaboration/other-share/index.vue @@ -2,13 +2,12 @@
- - +