Browse Source

[Fix][UI Next][V1.0.0-Alpha]Add zh for dag execution policy (#9363)

3.0.0/version-upgrade
Devosend 3 years ago committed by GitHub
parent
commit
ce7740b9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx

20
dolphinscheduler-ui-next/src/views/projects/workflow/components/dag/dag-save-modal.tsx

@ -95,12 +95,7 @@ export default defineComponent({
sync: false
})
const formRef = ref()
const executeTypeOptions = [
{ value: 'PARALLEL', label: 'parallel' },
{ value: 'SERIAL_WAIT', label: 'Serial wait' },
{ value: 'SERIAL_DISCARD', label: 'Serial discard' },
{ value: 'SERIAL_PRIORITY', label: 'Serial priority' }
]
const rule = {
name: {
required: true,
@ -228,7 +223,18 @@ export default defineComponent({
path='executionType'
>
<NSelect
options={executeTypeOptions}
options={[
{ value: 'PARALLEL', label: t('project.dag.parallel') },
{ value: 'SERIAL_WAIT', label: t('project.dag.serial_wait') },
{
value: 'SERIAL_DISCARD',
label: t('project.dag.serial_discard')
},
{
value: 'SERIAL_PRIORITY',
label: t('project.dag.serial_priority')
}
]}
v-model:value={formValue.value.executionType}
/>
</NFormItem>

Loading…
Cancel
Save