|
|
@@ -711,13 +711,13 @@ var bootstrap = function ($, learun) { |
|
|
|
signUrl: signUrl, |
|
|
|
stamp: stamp |
|
|
|
}; |
|
|
|
learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/AuditFlow', postData, function (_data) { |
|
|
|
learun.loading(false); |
|
|
|
if (_data) { |
|
|
|
learun.frameTab.parentIframe().refreshGirdData && learun.frameTab.parentIframe().refreshGirdData(); |
|
|
|
learun.frameTab.close(tabIframeId); |
|
|
|
} |
|
|
|
}); |
|
|
|
learun.httpAsync('Post', top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/AuditFlow', postData, function (_data) { |
|
|
|
learun.loading(false); |
|
|
|
if (_data) { |
|
|
|
learun.frameTab.parentIframe().refreshGirdData && learun.frameTab.parentIframe().refreshGirdData(); |
|
|
|
learun.frameTab.close(tabIframeId); |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
@@ -1721,14 +1721,18 @@ var bootstrap = function ($, learun) { |
|
|
|
formData[_item.field] = processId; |
|
|
|
point.formData = JSON.stringify(formData); |
|
|
|
formDataList.push(point); |
|
|
|
|
|
|
|
_item.isUpdate = true; |
|
|
|
//liangkun 修复第一次保存失败报错后第二次直接会update |
|
|
|
//_item.isUpdate = true; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
if (formDataList.length > 0) { |
|
|
|
$.lrSaveForm(top.$.rootUrl + '/LR_FormModule/Custmerform/SaveInstanceForms', { data: JSON.stringify(formDataList) }, function (res) { |
|
|
|
if (res.code == 200) { |
|
|
|
//liangkun 修复第一次保存失败报错后第二次直接会update |
|
|
|
$.each(nwfForms, function (_index, _item) { |
|
|
|
_item.isUpdate = true; |
|
|
|
}); |
|
|
|
monitorSave(); |
|
|
|
} |
|
|
|
else { |
|
|
|