From c1c6d5921c46f7ccc6c81ef286ed5b090a53de98 Mon Sep 17 00:00:00 2001 From: Sheldon <39169452+sketchmind@users.noreply.github.com> Date: Tue, 9 Aug 2022 14:03:26 +0800 Subject: [PATCH] [Feature-9978][UI] add node dependency type feature (#11235) * add only current node only,preceding nodes,later nodes options to execute process instance Co-authored-by: sheldonliu --- dolphinscheduler-ui/src/locales/en_US/project.ts | 4 ++++ dolphinscheduler-ui/src/locales/zh_CN/project.ts | 4 ++++ .../workflow/definition/components/start-modal.tsx | 12 ++++++++++++ 3 files changed, 20 insertions(+) diff --git a/dolphinscheduler-ui/src/locales/en_US/project.ts b/dolphinscheduler-ui/src/locales/en_US/project.ts index 918b49e592..599366ff91 100644 --- a/dolphinscheduler-ui/src/locales/en_US/project.ts +++ b/dolphinscheduler-ui/src/locales/en_US/project.ts @@ -90,6 +90,10 @@ export default { next_five_execution_times: 'Next five execution times', execute_time: 'Execute time', failure_strategy: 'Failure Strategy', + node_execution: 'Node Execution', + backward_execution: 'Backward execution', + forward_execution: 'Forward execution', + current_node_execution: 'Execute only the current node', notification_strategy: 'Notification Strategy', workflow_priority: 'Workflow Priority', worker_group: 'Worker Group', diff --git a/dolphinscheduler-ui/src/locales/zh_CN/project.ts b/dolphinscheduler-ui/src/locales/zh_CN/project.ts index fd4ed8e624..5658bb827e 100644 --- a/dolphinscheduler-ui/src/locales/zh_CN/project.ts +++ b/dolphinscheduler-ui/src/locales/zh_CN/project.ts @@ -92,6 +92,10 @@ export default { next_five_execution_times: '接下来五次执行时间', execute_time: '执行时间', failure_strategy: '失败策略', + node_execution: '节点执行', + backward_execution: '向后执行', + forward_execution: '向前执行', + current_node_execution: '仅执行当前节点', notification_strategy: '通知策略', workflow_priority: '流程优先级', worker_group: 'Worker分组', diff --git a/dolphinscheduler-ui/src/views/projects/workflow/definition/components/start-modal.tsx b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/start-modal.tsx index 32e0765526..aa6bcc9e4e 100644 --- a/dolphinscheduler-ui/src/views/projects/workflow/definition/components/start-modal.tsx +++ b/dolphinscheduler-ui/src/views/projects/workflow/definition/components/start-modal.tsx @@ -255,6 +255,18 @@ export default defineComponent({ + + + + {t('project.workflow.backward_execution')} + {t('project.workflow.forward_execution')} + {t('project.workflow.current_node_execution')} + + +