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