[Fix][UI Next][V1.0.0-Alpha]Add zh for dag execution policy (#9363)
parent
aba257084b
commit
ce7740b9fc
|
|
@ -95,12 +95,7 @@ export default defineComponent({
|
||||||
sync: false
|
sync: false
|
||||||
})
|
})
|
||||||
const formRef = ref()
|
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 = {
|
const rule = {
|
||||||
name: {
|
name: {
|
||||||
required: true,
|
required: true,
|
||||||
|
|
@ -228,7 +223,18 @@ export default defineComponent({
|
||||||
path='executionType'
|
path='executionType'
|
||||||
>
|
>
|
||||||
<NSelect
|
<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}
|
v-model:value={formValue.value.executionType}
|
||||||
/>
|
/>
|
||||||
</NFormItem>
|
</NFormItem>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue