Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions frontend/src/api/system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ 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}`),
userSync: (data: any) => request.post(`/system/platform/user/sync`, data),
}
1 change: 1 addition & 0 deletions frontend/src/api/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const userApi = {
add: (data: any) => request.post('/user', data),
edit: (data: any) => request.put('/user', data),
clearErrorApi: (key: string) => request.get(`/user/clearErrorRecord/${key}`),
errorRecord: (key: string) => request.get(`/user/errorRecord/${key}`),
delete: (key: string) => request.delete(`/user/${key}`),
deleteBatch: (data: any) => request.delete(`/user`, { data }),
get: (key: string) => request.get(`/user/${key}`),
Expand Down
Binary file added frontend/src/assets/img/dingtalk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/img/lark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/src/assets/img/wechat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions frontend/src/assets/svg/avatar_organize.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions frontend/src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@
"AI Model Configuration": "AI Model Config",
"Details": "Details"
},
"sync": {
"the_existing_user": "If the user already exists, overwrite the existing user.",
"sync_users": "Sync Users",
"sync_wechat_users": "Sync WeChat Users",
"sync_dingtalk_users": "Sync DingTalk Users",
"sync_lark_users": "Sync Lark Users",
"sync_complete": "Sync Complete",
"synced_10_users": "Successfully synced {num} users",
"failed_3_users": "Successfully synced {success} users, sync failed {failed} users",
"download_failure_list": "Download Failure List",
"sync_failed": "Sync Failed",
"failed_10_users": "Sync failed {num} users",
"continue_syncing": "Continue Syncing",
"return_to_view": "Return to View"
},
"parameter": {
"execution_details": "Execution Details",
"overview": "Overview",
Expand Down
15 changes: 15 additions & 0 deletions frontend/src/i18n/ko-KR.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@
"AI Model Configuration": "모델 구성",
"Details": "세부"
},
"sync": {
"the_existing_user": "해당 사용자가 이미 존재하는 경우 기존 사용자를 덮어씁니다.",
"sync_users": "사용자 동기화",
"sync_wechat_users": "위챗 사용자 동기화",
"sync_dingtalk_users": "딩톡 사용자 동기화",
"sync_lark_users": "라크 사용자 동기화",
"sync_complete": "동기화 완료",
"synced_10_users": "{num}명 동기화 성공",
"failed_3_users": "{failed}명 동기화 성공, {success}명 동기화 실패",
"download_failure_list": "실패 목록 다운로드",
"sync_failed": "동기화 실패",
"failed_10_users": "{failed}명 동기화 실패",
"continue_syncing": "동기화 계속",
"return_to_view": "화면으로 돌아가기"
},
"parameter": {
"execution_details": "실행 세부 정보",
"overview": "개요",
Expand Down
17 changes: 16 additions & 1 deletion frontend/src/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@
"AI Model Configuration": "模型配置",
"Details": "详情"
},
"sync": {
"the_existing_user": "若用户已存在,覆盖旧用户",
"sync_users": "同步用户",
"sync_wechat_users": "同步企业微信用户",
"sync_dingtalk_users": "同步钉钉用户",
"sync_lark_users": "同步飞书用户",
"sync_complete": "同步完成",
"synced_10_users": "成功同步 {num} 个用户",
"failed_3_users": "成功同步 {success} 个用户,同步失败 {failed} 个用户,",
"download_failure_list": "下载失败列表",
"sync_failed": "同步失败",
"failed_10_users": "同步失败 {num} 个用户,",
"continue_syncing": "继续同步",
"return_to_view": "返回查看"
},
"parameter": {
"execution_details": "执行详情",
"overview": "概览",
Expand Down Expand Up @@ -889,4 +904,4 @@
"to_doc": "查看 API",
"trigger_limit": "最多支持创建 {0} 个 API Key"
}
}
}
3 changes: 0 additions & 3 deletions frontend/src/views/chat/chat-block/ChartBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -640,9 +640,6 @@ watch(
padding: 16px;
display: flex;
flex-direction: column;
position: relative;
z-index: 10;

border: 1px solid rgba(222, 224, 227, 1);
border-radius: 12px;

Expand Down
Loading