diff --git a/frontend/src/api/system.ts b/frontend/src/api/system.ts index f9ed3ec10..112bd4fbc 100644 --- a/frontend/src/api/system.ts +++ b/frontend/src/api/system.ts @@ -27,6 +27,7 @@ export const modelApi = { query: (id: number) => request.get(`/system/aimodel/${id}`), setDefault: (id: number) => request.put(`/system/aimodel/default/${id}`), check: (data: any) => request.fetchStream('/system/aimodel/status', data), - platform: (id: number) => request.get(`/system/platform/org/${id}`), + platform: (id: number, lazy?: number, pid?: string) => + request.get(`/system/platform/org/${id}`, { params: { lazy, pid } }), userSync: (data: any) => request.post(`/system/platform/user/sync`, data), } diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json index 3bc95e678..6fc46be93 100644 --- a/frontend/src/i18n/en.json +++ b/frontend/src/i18n/en.json @@ -38,6 +38,7 @@ "field_details": "Field Details", "integration": "Platform integration needs to be enabled.", "the_existing_user": "If the user already exists, overwrite the existing user.", + "lazy_load": "Lazy Load", "sync_users": "Sync Users", "sync_wechat_users": "Sync WeChat Users", "sync_dingtalk_users": "Sync DingTalk Users", diff --git a/frontend/src/i18n/ko-KR.json b/frontend/src/i18n/ko-KR.json index f0d3cf631..a95df5f80 100644 --- a/frontend/src/i18n/ko-KR.json +++ b/frontend/src/i18n/ko-KR.json @@ -38,6 +38,7 @@ "field_details": "필드 세부 정보", "integration": "플랫폼 통합을 활성화해야 합니다.", "the_existing_user": "해당 사용자가 이미 존재하는 경우 기존 사용자를 덮어씁니다.", + "lazy_load": "지연 로딩", "sync_users": "사용자 동기화", "sync_wechat_users": "위챗 사용자 동기화", "sync_dingtalk_users": "딩톡 사용자 동기화", diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json index fda9d25fd..e13832170 100644 --- a/frontend/src/i18n/zh-CN.json +++ b/frontend/src/i18n/zh-CN.json @@ -38,6 +38,7 @@ "field_details": "字段详情", "integration": "需开启平台对接", "the_existing_user": "若用户已存在,覆盖旧用户", + "lazy_load": "懒加载", "sync_users": "同步用户", "sync_wechat_users": "同步企业微信用户", "sync_dingtalk_users": "同步钉钉用户", diff --git a/frontend/src/i18n/zh-TW.json b/frontend/src/i18n/zh-TW.json index 87b71cd5d..bd9fe135e 100644 --- a/frontend/src/i18n/zh-TW.json +++ b/frontend/src/i18n/zh-TW.json @@ -38,6 +38,7 @@ "field_details": "欄位詳情", "integration": "需開啟平台對接", "the_existing_user": "若使用者已存在,覆蓋舊使用者", + "lazy_load": "懶加載", "sync_users": "同步使用者", "sync_wechat_users": "同步企業微信使用者", "sync_dingtalk_users": "同步釘釘使用者", diff --git a/frontend/src/views/system/user/SyncUserDing.vue b/frontend/src/views/system/user/SyncUserDing.vue index 8ad2faef3..cf0de88ce 100644 --- a/frontend/src/views/system/user/SyncUserDing.vue +++ b/frontend/src/views/system/user/SyncUserDing.vue @@ -1,13 +1,17 @@ -
+