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

dependabot/maven/org.springframework-spring-core-5.3.18
Devosend 2022-04-06 16:31:20 +08:00 committed by GitHub
parent aba257084b
commit ce7740b9fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 7 deletions

View File

@ -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>