|
|
@ -385,10 +385,10 @@ const beforeSubmit = (params: any) => { |
|
|
@ 功能: 提交成功回调 |
|
|
@ 功能: 提交成功回调 |
|
|
*/ |
|
|
*/ |
|
|
const afterSubmit = (type: string, val?: any) => { |
|
|
const afterSubmit = (type: string, val?: any) => { |
|
|
// console.log("表单提交成功------------------>",type,val) |
|
|
console.log("表单提交成功------------------>",type,val) |
|
|
// console.log("流程------------------>",flowMap) |
|
|
console.log("流程------------------>",flowMap) |
|
|
if (type === "success") { |
|
|
if (type === "success") { |
|
|
emits("searchquery"); |
|
|
|
|
|
if (isFlowTable.value) { |
|
|
if (isFlowTable.value) { |
|
|
if (val.code == 0) { |
|
|
if (val.code == 0) { |
|
|
if (val.data) { |
|
|
if (val.data) { |
|
|
@ -399,9 +399,16 @@ const afterSubmit = (type: string, val?: any) => { |
|
|
}; |
|
|
}; |
|
|
startRunFlow(sendInfo).then((data: any) => { |
|
|
startRunFlow(sendInfo).then((data: any) => { |
|
|
console.log("流程提交成功--------1---------->",data) |
|
|
console.log("流程提交成功--------1---------->",data) |
|
|
|
|
|
emits("searchquery"); |
|
|
}); |
|
|
}); |
|
|
|
|
|
}else{ |
|
|
|
|
|
emits("searchquery"); |
|
|
} |
|
|
} |
|
|
|
|
|
}else{ |
|
|
|
|
|
emits("searchquery"); |
|
|
} |
|
|
} |
|
|
|
|
|
}else{ |
|
|
|
|
|
emits("searchquery"); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
closeAppSubmit(); |
|
|
closeAppSubmit(); |
|
|
|