yxk-20260421-通用发起流程组件修改
This commit is contained in:
@@ -64,7 +64,6 @@
|
||||
interface ModalPayload {
|
||||
title?: string;
|
||||
payload?: Record<string, any>;
|
||||
initialValues?: Record<string, any>;
|
||||
}
|
||||
|
||||
const emit = defineEmits(['confirm']);
|
||||
@@ -92,20 +91,6 @@
|
||||
title.value = data.title || 'Start Process';
|
||||
contextData.value = data.payload || {};
|
||||
visible.value = true;
|
||||
|
||||
const initialValues = data.initialValues || {};
|
||||
if (initialValues.triggerType === 1) {
|
||||
formData.triggerMode = 'recurring';
|
||||
}
|
||||
if (initialValues.intervalType !== undefined && initialValues.intervalType !== null && initialValues.intervalType !== '') {
|
||||
formData.intervalType = initialValues.intervalType;
|
||||
}
|
||||
if (initialValues.startCount !== undefined && initialValues.startCount !== null && initialValues.startCount !== '') {
|
||||
formData.startCount = Number(initialValues.startCount);
|
||||
}
|
||||
if (initialValues.intervalStartTime) {
|
||||
formData.intervalStartTime = initialValues.intervalStartTime;
|
||||
}
|
||||
}
|
||||
|
||||
function handleCancel() {
|
||||
|
||||
Reference in New Issue
Block a user