|
|
@ -282,56 +282,59 @@ export default defineComponent({ |
|
|
|
> |
|
|
|
> |
|
|
|
<NCheckbox |
|
|
|
<NCheckbox |
|
|
|
checkedValue={'COMPLEMENT_DATA'} |
|
|
|
checkedValue={'COMPLEMENT_DATA'} |
|
|
|
uncheckedValue={undefined} |
|
|
|
uncheckedValue={'START_PROCESS'} |
|
|
|
v-model:checked={this.startForm.execType} |
|
|
|
v-model:checked={this.startForm.execType} |
|
|
|
> |
|
|
|
> |
|
|
|
{t('project.workflow.whether_complement_data')} |
|
|
|
{t('project.workflow.whether_complement_data')} |
|
|
|
</NCheckbox> |
|
|
|
</NCheckbox> |
|
|
|
</NFormItem> |
|
|
|
</NFormItem> |
|
|
|
{this.startForm.execType && ( |
|
|
|
{this.startForm.execType && |
|
|
|
<NSpace> |
|
|
|
this.startForm.execType !== 'START_PROCESS' && ( |
|
|
|
<NFormItem |
|
|
|
<NSpace> |
|
|
|
label={t('project.workflow.mode_of_execution')} |
|
|
|
<NFormItem |
|
|
|
path='runMode' |
|
|
|
label={t('project.workflow.mode_of_execution')} |
|
|
|
> |
|
|
|
path='runMode' |
|
|
|
<NRadioGroup v-model:value={this.startForm.runMode}> |
|
|
|
> |
|
|
|
<NSpace> |
|
|
|
<NRadioGroup v-model:value={this.startForm.runMode}> |
|
|
|
<NRadio value={'RUN_MODE_SERIAL'}> |
|
|
|
<NSpace> |
|
|
|
{t('project.workflow.serial_execution')} |
|
|
|
<NRadio value={'RUN_MODE_SERIAL'}> |
|
|
|
</NRadio> |
|
|
|
{t('project.workflow.serial_execution')} |
|
|
|
<NRadio value={'RUN_MODE_PARALLEL'}> |
|
|
|
</NRadio> |
|
|
|
{t('project.workflow.parallel_execution')} |
|
|
|
<NRadio value={'RUN_MODE_PARALLEL'}> |
|
|
|
</NRadio> |
|
|
|
{t('project.workflow.parallel_execution')} |
|
|
|
</NSpace> |
|
|
|
</NRadio> |
|
|
|
</NRadioGroup> |
|
|
|
</NSpace> |
|
|
|
</NFormItem> |
|
|
|
</NRadioGroup> |
|
|
|
{this.startForm.runMode === 'RUN_MODE_PARALLEL' && ( |
|
|
|
</NFormItem> |
|
|
|
|
|
|
|
{this.startForm.runMode === 'RUN_MODE_PARALLEL' && ( |
|
|
|
|
|
|
|
<NFormItem |
|
|
|
|
|
|
|
label={t('project.workflow.parallelism')} |
|
|
|
|
|
|
|
path='expectedParallelismNumber' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<NCheckbox v-model:checked={this.parallelismRef}> |
|
|
|
|
|
|
|
{t('project.workflow.custom_parallelism')} |
|
|
|
|
|
|
|
</NCheckbox> |
|
|
|
|
|
|
|
<NInput |
|
|
|
|
|
|
|
disabled={!this.parallelismRef} |
|
|
|
|
|
|
|
placeholder={t( |
|
|
|
|
|
|
|
'project.workflow.please_enter_parallelism' |
|
|
|
|
|
|
|
)} |
|
|
|
|
|
|
|
v-model:value={this.startForm.expectedParallelismNumber} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</NFormItem> |
|
|
|
|
|
|
|
)} |
|
|
|
<NFormItem |
|
|
|
<NFormItem |
|
|
|
label={t('project.workflow.parallelism')} |
|
|
|
label={t('project.workflow.schedule_date')} |
|
|
|
path='expectedParallelismNumber' |
|
|
|
path='startEndTime' |
|
|
|
> |
|
|
|
> |
|
|
|
<NCheckbox v-model:checked={this.parallelismRef}> |
|
|
|
<NDatePicker |
|
|
|
{t('project.workflow.custom_parallelism')} |
|
|
|
type='datetimerange' |
|
|
|
</NCheckbox> |
|
|
|
clearable |
|
|
|
<NInput |
|
|
|
v-model:value={this.startForm.startEndTime} |
|
|
|
disabled={!this.parallelismRef} |
|
|
|
|
|
|
|
placeholder={t('project.workflow.please_enter_parallelism')} |
|
|
|
|
|
|
|
v-model:value={this.startForm.expectedParallelismNumber} |
|
|
|
|
|
|
|
/> |
|
|
|
/> |
|
|
|
</NFormItem> |
|
|
|
</NFormItem> |
|
|
|
)} |
|
|
|
</NSpace> |
|
|
|
<NFormItem |
|
|
|
)} |
|
|
|
label={t('project.workflow.schedule_date')} |
|
|
|
|
|
|
|
path='startEndTime' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<NDatePicker |
|
|
|
|
|
|
|
type='datetimerange' |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
v-model:value={this.startForm.startEndTime} |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</NFormItem> |
|
|
|
|
|
|
|
</NSpace> |
|
|
|
|
|
|
|
)} |
|
|
|
|
|
|
|
<NFormItem |
|
|
|
<NFormItem |
|
|
|
label={t('project.workflow.startup_parameter')} |
|
|
|
label={t('project.workflow.startup_parameter')} |
|
|
|
path='startup_parameter' |
|
|
|
path='startup_parameter' |
|
|
|