From aa5392529bb8d2ba7b4b73a9527adf713f8884c8 Mon Sep 17 00:00:00 2001 From: Devosend Date: Mon, 7 Mar 2022 18:05:58 +0800 Subject: [PATCH] [Feature-8497][UI Next][V1.0.0-Alpha] Support dependent task re-run automatically (#8739) --- .../src/locales/modules/en_US.ts | 4 +++- .../src/locales/modules/zh_CN.ts | 4 +++- .../definition/components/start-modal.tsx | 15 +++++++++++++++ .../workflow/definition/components/use-form.ts | 1 + 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-ui-next/src/locales/modules/en_US.ts b/dolphinscheduler-ui-next/src/locales/modules/en_US.ts index e0e68a4c32..4b400abfbe 100644 --- a/dolphinscheduler-ui-next/src/locales/modules/en_US.ts +++ b/dolphinscheduler-ui-next/src/locales/modules/en_US.ts @@ -503,7 +503,9 @@ const project = { refresh_log: 'Refresh Log', enter_full_screen: 'Enter full screen', cancel_full_screen: 'Cancel full screen', - task_state: 'Task status' + task_state: 'Task status', + mode_of_dependent: 'Mode of dependent', + open: 'Open' }, task: { task_name: 'Task Name', diff --git a/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts b/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts index 08a31f9f7b..1b8c3b5470 100644 --- a/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts +++ b/dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts @@ -500,7 +500,9 @@ const project = { refresh_log: '刷新日志', enter_full_screen: '进入全屏', cancel_full_screen: '取消全屏', - task_state: '任务状态' + task_state: '任务状态', + mode_of_dependent: '依赖模式', + open: '打开' }, task: { task_name: '任务名称', diff --git a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx index 766aa807d5..178a5db482 100644 --- a/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx +++ b/dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx @@ -291,6 +291,21 @@ export default defineComponent({ {this.startForm.execType && this.startForm.execType !== 'START_PROCESS' && ( + + + + + {t('project.workflow.close')} + + + {t('project.workflow.open')} + + + + { execType: 'START_PROCESS', startNodeList: '', taskDependType: 'TASK_POST', + dependentMode: 'OFF_MODE', runMode: 'RUN_MODE_SERIAL', processInstancePriority: 'MEDIUM', workerGroup: 'default',