From 84e71df65752b135264f6550d72af9c3e0a62520 Mon Sep 17 00:00:00 2001 From: qinoy Date: Fri, 12 May 2023 17:36:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=AF=E5=88=B0=E7=AB=AF=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=20=E6=80=BB=E5=9B=BE=E7=94=9F=E6=88=90=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/subprocess/SubProcess.vue | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) 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){