Browse Source

[Feature-8497][UI Next][V1.0.0-Alpha] Support dependent task re-run automatically (#8739)

3.0.0/version-upgrade
Devosend 3 years ago committed by GitHub
parent
commit
aa5392529b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-ui-next/src/locales/modules/en_US.ts
  2. 4
      dolphinscheduler-ui-next/src/locales/modules/zh_CN.ts
  3. 15
      dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/start-modal.tsx
  4. 1
      dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-form.ts

4
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',

4
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: '任务名称',

15
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' && (
<NSpace>
<NFormItem
label={t('project.workflow.mode_of_dependent')}
path='dependentMode'
>
<NRadioGroup v-model:value={this.startForm.dependentMode}>
<NSpace>
<NRadio value={'OFF_MODE'}>
{t('project.workflow.close')}
</NRadio>
<NRadio value={'ALL_DEPENDENT'}>
{t('project.workflow.open')}
</NRadio>
</NSpace>
</NRadioGroup>
</NFormItem>
<NFormItem
label={t('project.workflow.mode_of_execution')}
path='runMode'

1
dolphinscheduler-ui-next/src/views/projects/workflow/definition/components/use-form.ts

@ -57,6 +57,7 @@ export const useForm = () => {
execType: 'START_PROCESS',
startNodeList: '',
taskDependType: 'TASK_POST',
dependentMode: 'OFF_MODE',
runMode: 'RUN_MODE_SERIAL',
processInstancePriority: 'MEDIUM',
workerGroup: 'default',

Loading…
Cancel
Save