Browse Source

[Fix-9015][UI Next][V1.0.0-Alpha] Worked out this issue about failing to assign another project to an existing task group. (#9017)

3.0.0/version-upgrade
calvin 3 years ago committed by GitHub
parent
commit
48dc0a059c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 19
      dolphinscheduler-ui-next/src/views/resource/task-group/option/components/form-modal.tsx

19
dolphinscheduler-ui-next/src/views/resource/task-group/option/components/form-modal.tsx

@ -115,18 +115,21 @@ const FormModal = defineComponent({
placeholder={t('resource.task_group_option.please_enter_name')}
/>
</NFormItem>
<NFormItem
label={t('resource.task_group_option.project_name')}
path='projectCode'
>
<NSelect
{ this.status === 0 && (
<NFormItem
label={t('resource.task_group_option.project_name')}
path='projectCode'
>
<NSelect
options={projectOptions}
v-model:value={this.formData.projectCode}
placeholder={t(
'resource.task_group_option.please_select_project'
'resource.task_group_option.please_select_project'
)}
/>
</NFormItem>
/>
</NFormItem>
)
}
<NFormItem
label={t('resource.task_group_option.resource_pool_size')}
path='groupSize'

Loading…
Cancel
Save