diff --git a/com.actionsoft.apps.coe.pal/src/views/subprocess/SubProcess.vue b/com.actionsoft.apps.coe.pal/src/views/subprocess/SubProcess.vue index f286e01..aeccc8a 100644 --- a/com.actionsoft.apps.coe.pal/src/views/subprocess/SubProcess.vue +++ b/com.actionsoft.apps.coe.pal/src/views/subprocess/SubProcess.vue @@ -169,6 +169,29 @@ // 生成端到端总图 generateSubProcessModel(){ console.log('执行参数',this.subProcessForm); + const param = { + url: 'jd', + data: { + cmd: 'com.actionsoft.apps.coe.method.process.subprocess.generator_end_to_end_model', + processIdJsonArr: JSON.stringify(this.subProcessForm.processList), + locationId: this.subProcessForm.position.locationId, + direction: this.subProcessForm.direction, + modelName: this.subProcessForm.modelName + } + } + awsuiAxios.post(param) + .then(ro => { + console.log(ro); + if (ro.result == 'ok'){ + this.close(); + this.$message({type: 'success', message: '第一个阶段图形节点分布测试成功'}); + }else if (ro.result === 'error'){ + this.$message({type: 'error', message: '发生了什么'}); + } + }) + .catch(err => { + console.log(err); + }); }, // 加载子流程节点树 loadModelTreeNode(node, resolve){