fix: 流程配置编辑bug修改

dev_1.0.0
JINGYJ 11 months ago
parent 17bf0db4f5
commit 248515c74f

@ -128,13 +128,14 @@ const submitForm = async (formEl: FormInstance | undefined) => {
id: processForm.id,
flowName: processForm.flowName,
remark: processForm.remark,
flowType: "1",
flowType: processForm.flowType,
baseIdList: processForm.baseIdList,
nodeInfoList: processForm.link.map(item => {
return {
id: "",
userIdList: item.userIdList,
order: "",
roleId: item.roleId,
nodeName: item.nodeName
};
})
@ -142,7 +143,7 @@ const submitForm = async (formEl: FormInstance | undefined) => {
// console.log(createForm);
updateProcess(createForm).then(res => {
if (res.code === 200) {
message("新建成功", { type: "success" });
message("修改成功", { type: "success" });
props.closeDrawer();
}
});

Loading…
Cancel
Save