diff --git a/src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue b/src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue index 18a3ba72..6bdad332 100644 --- a/src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue +++ b/src/views/bpm/processInstance/create/ProcessDefinitionDetail.vue @@ -162,7 +162,7 @@ const getApprovalDetail = async (row: any) => { } } /** 提交按钮 */ -const submitForm = async (formData: any) => { +const submitForm = async () => { if (!fApi.value || !props.selectProcessDefinition) { return } @@ -182,7 +182,7 @@ const submitForm = async (formData: any) => { try { await ProcessInstanceApi.createProcessInstance({ processDefinitionId: props.selectProcessDefinition.id, - variables: formData || detailForm.value.value, + variables: detailForm.value.value, startUserSelectAssignees: startUserSelectAssignees.value }) // 提示 diff --git a/src/views/bpm/processInstance/index.vue b/src/views/bpm/processInstance/index.vue index 4b72e395..f3b7439b 100644 --- a/src/views/bpm/processInstance/index.vue +++ b/src/views/bpm/processInstance/index.vue @@ -222,7 +222,6 @@ const handleCreate = async (row?: ProcessInstanceVO) => { const processDefinitionDetail = await DefinitionApi.getProcessDefinition( row.processDefinitionId ) - debugger if (processDefinitionDetail.formType === 20) { message.error('重新发起流程失败,原因:该流程使用业务表单,不支持重新发起') return