mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化代码
This commit is contained in:
parent
089877f17e
commit
847aa0467d
@ -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);
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user