diff --git a/ui/package.json b/ui/package.json index de0fa11ae..6f5e4009e 100644 --- a/ui/package.json +++ b/ui/package.json @@ -28,6 +28,7 @@ "cropperjs": "^1.6.2", "dingtalk-jsapi": "^3.1.0", "echarts": "^5.6.0", + "el-table-infinite-scroll": "^3.0.8", "element-plus": "^2.11.7", "file-saver": "^2.0.5", "highlight.js": "^11.11.1", diff --git a/ui/src/components/app-table-infinite-scroll/index.vue b/ui/src/components/app-table-infinite-scroll/index.vue new file mode 100644 index 000000000..102401ee4 --- /dev/null +++ b/ui/src/components/app-table-infinite-scroll/index.vue @@ -0,0 +1,64 @@ + + + + diff --git a/ui/src/locales/lang/en-US/workflow.ts b/ui/src/locales/lang/en-US/workflow.ts index 1a6dc387f..e2d342368 100644 --- a/ui/src/locales/lang/en-US/workflow.ts +++ b/ui/src/locales/lang/en-US/workflow.ts @@ -536,5 +536,6 @@ You are a master of problem optimization, adept at accurately inferring user int SystemPromptPlaceholder: 'System Prompt, can reference variables in the system, such as', UserPromptPlaceholder: 'User Prompt, can reference variables in the system, such as', ExecutionRecord: 'Execution Record', + initiator: 'Initiator', debug: {}, } diff --git a/ui/src/locales/lang/zh-CN/workflow.ts b/ui/src/locales/lang/zh-CN/workflow.ts index 0d3d64171..ac90dc320 100644 --- a/ui/src/locales/lang/zh-CN/workflow.ts +++ b/ui/src/locales/lang/zh-CN/workflow.ts @@ -537,5 +537,6 @@ export default { SystemPromptPlaceholder: '系统提示词,可以引用系统中的变量:如', UserPromptPlaceholder: '用户提示词,可以引用系统中的变量:如', ExecutionRecord: '执行记录', + initiator: '发起人', debug: {}, } diff --git a/ui/src/locales/lang/zh-Hant/workflow.ts b/ui/src/locales/lang/zh-Hant/workflow.ts index 1c9b96d23..b538770f9 100644 --- a/ui/src/locales/lang/zh-Hant/workflow.ts +++ b/ui/src/locales/lang/zh-Hant/workflow.ts @@ -469,13 +469,13 @@ export default { loopIndex: '下標', loopItem: '循環元素', }, - loopBodyNode: {label: '循環體', text: '循環體'}, + loopBodyNode: { label: '循環體', text: '循環體' }, loopContinueNode: { label: 'Continue', text: '用於終止當前循環,執行下次循環', isContinue: 'Continue', }, - loopBreakNode: {label: 'Break', text: '終止當前循環,跳出循環體', isBreak: 'Break'}, + loopBreakNode: { label: 'Break', text: '終止當前循環,跳出循環體', isBreak: 'Break' }, variableSplittingNode: { label: '變量拆分', text: '通過配置 JSON Path 表達式,對輸入的 JSON 格式變量進行解析和拆分', @@ -520,5 +520,6 @@ export default { SystemPromptPlaceholder: '系統提示詞,可以引用系統中的變量:如', UserPromptPlaceholder: '用戶提示詞,可以引用系統中的變量:如', ExecutionRecord: '執行記錄', + initiator: '發起人', debug: {}, } diff --git a/ui/src/views/knowledge-workflow/component/execution-record/ExecutionRecordDrawer.vue b/ui/src/views/knowledge-workflow/component/execution-record/ExecutionRecordDrawer.vue new file mode 100644 index 000000000..9b5da04a9 --- /dev/null +++ b/ui/src/views/knowledge-workflow/component/execution-record/ExecutionRecordDrawer.vue @@ -0,0 +1,130 @@ + + + diff --git a/ui/src/views/knowledge-workflow/component/list-action/index.vue b/ui/src/views/knowledge-workflow/component/list-action/index.vue deleted file mode 100644 index c8c770410..000000000 --- a/ui/src/views/knowledge-workflow/component/list-action/index.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - diff --git a/ui/src/views/knowledge-workflow/index.vue b/ui/src/views/knowledge-workflow/index.vue index 0aacd8fad..9663114f2 100644 --- a/ui/src/views/knowledge-workflow/index.vue +++ b/ui/src/views/knowledge-workflow/index.vue @@ -54,7 +54,7 @@ - 执行记录 + {{ $t('workflow.ExecutionRecord') }} @@ -129,7 +129,7 @@ - + { return theme.isDefaultTheme() }) const DebugRef = ref>() -const ListActionRef = ref>() +const ListActionRef = ref>() let interval: any const workflowRef = ref() const workflowMainRef = ref()