File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/views/bpm/processInstance Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ const getApprovalDetail = async (row: any) => {
162
162
}
163
163
}
164
164
/** 提交按钮 */
165
- const submitForm = async (formData : any ) => {
165
+ const submitForm = async () => {
166
166
if (! fApi .value || ! props .selectProcessDefinition ) {
167
167
return
168
168
}
@@ -182,7 +182,7 @@ const submitForm = async (formData: any) => {
182
182
try {
183
183
await ProcessInstanceApi .createProcessInstance ({
184
184
processDefinitionId: props .selectProcessDefinition .id ,
185
- variables: formData || detailForm .value .value ,
185
+ variables: detailForm .value .value ,
186
186
startUserSelectAssignees: startUserSelectAssignees .value
187
187
})
188
188
// 提示
Original file line number Diff line number Diff line change @@ -222,7 +222,6 @@ const handleCreate = async (row?: ProcessInstanceVO) => {
222
222
const processDefinitionDetail = await DefinitionApi .getProcessDefinition (
223
223
row .processDefinitionId
224
224
)
225
- debugger
226
225
if (processDefinitionDetail .formType === 20 ) {
227
226
message .error (' 重新发起流程失败,原因:该流程使用业务表单,不支持重新发起' )
228
227
return
You can’t perform that action at this time.
0 commit comments