优化代码

This commit is contained in:
java110 2021-08-19 01:08:31 +08:00
parent 089877f17e
commit 847aa0467d
2 changed files with 4 additions and 3 deletions

View File

@ -5,8 +5,9 @@
let _doSaveDiagram = function (_xml) {
//发送get请求
vc.http.apiPost('/a/n',
_xml,
let _modelId = vc.getParam('modelId');
vc.http.apiPost('/activiti/model/' + _modelId + '/save',
{ 'xml': _xml },
function (json, res) {
var listRoomData = JSON.parse(json);

View File

@ -78,7 +78,7 @@
}
},
_openWorkflowEditorApp:function(_oaWorkflow){
window.open('/bpmnjs/index.html?flowId='+_oaWorkflow.flowId);
window.open('/bpmnjs/index.html?flowId='+_oaWorkflow.flowId+"&modelId="+_oaWorkflow.modelId);
}
}
});