|
|
@ -332,7 +332,7 @@ export default defineComponent({ |
|
|
|
onConfirm={this.handleTiming} |
|
|
|
onConfirm={this.handleTiming} |
|
|
|
confirmLoading={this.saving} |
|
|
|
confirmLoading={this.saving} |
|
|
|
> |
|
|
|
> |
|
|
|
<NForm ref='timingFormRef'> |
|
|
|
<NForm ref='timingFormRef' rules={this.rules}> |
|
|
|
<NFormItem |
|
|
|
<NFormItem |
|
|
|
label={t('project.workflow.start_and_stop_time')} |
|
|
|
label={t('project.workflow.start_and_stop_time')} |
|
|
|
path='startEndTime' |
|
|
|
path='startEndTime' |
|
|
@ -440,6 +440,21 @@ export default defineComponent({ |
|
|
|
v-model:value={this.timingForm.warningType} |
|
|
|
v-model:value={this.timingForm.warningType} |
|
|
|
/> |
|
|
|
/> |
|
|
|
</NFormItem> |
|
|
|
</NFormItem> |
|
|
|
|
|
|
|
{this.timingForm.warningType !== 'NONE' && ( |
|
|
|
|
|
|
|
<NFormItem |
|
|
|
|
|
|
|
label={t('project.workflow.alarm_group')} |
|
|
|
|
|
|
|
path='warningGroupId' |
|
|
|
|
|
|
|
required |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<NSelect |
|
|
|
|
|
|
|
options={this.alertGroups} |
|
|
|
|
|
|
|
placeholder={t('project.workflow.please_choose')} |
|
|
|
|
|
|
|
v-model:value={this.timingForm.warningGroupId} |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
filterable |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</NFormItem> |
|
|
|
|
|
|
|
)} |
|
|
|
<NFormItem |
|
|
|
<NFormItem |
|
|
|
label={t('project.workflow.workflow_priority')} |
|
|
|
label={t('project.workflow.workflow_priority')} |
|
|
|
path='processInstancePriority' |
|
|
|
path='processInstancePriority' |
|
|
@ -482,20 +497,6 @@ export default defineComponent({ |
|
|
|
filterable |
|
|
|
filterable |
|
|
|
/> |
|
|
|
/> |
|
|
|
</NFormItem> |
|
|
|
</NFormItem> |
|
|
|
{this.timingForm.warningType !== 'NONE' && ( |
|
|
|
|
|
|
|
<NFormItem |
|
|
|
|
|
|
|
label={t('project.workflow.alarm_group')} |
|
|
|
|
|
|
|
path='warningGroupId' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<NSelect |
|
|
|
|
|
|
|
options={this.alertGroups} |
|
|
|
|
|
|
|
placeholder={t('project.workflow.please_choose')} |
|
|
|
|
|
|
|
v-model:value={this.timingForm.warningGroupId} |
|
|
|
|
|
|
|
clearable |
|
|
|
|
|
|
|
filterable |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</NFormItem> |
|
|
|
|
|
|
|
)} |
|
|
|
|
|
|
|
</NForm> |
|
|
|
</NForm> |
|
|
|
</Modal> |
|
|
|
</Modal> |
|
|
|
) |
|
|
|
) |
|
|
|