From 02bbf25456f3a0165313340be277cfa4a2b3b24f Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 25 十二月 2024 18:09:51 +0800 Subject: [PATCH] 调度记录查看 --- src/views/bpm/model/editor/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/bpm/model/editor/index.vue b/src/views/bpm/model/editor/index.vue index 29bca71..3e77369 100644 --- a/src/views/bpm/model/editor/index.vue +++ b/src/views/bpm/model/editor/index.vue @@ -58,17 +58,17 @@ } /** 添加/修改模型 */ -const save = async (bpmnXml) => { +const save = async (bpmnXml: string) => { const data = { ...model.value, bpmnXml: bpmnXml // bpmnXml 只是初始化流程图,后续修改无法通过它获得 } as unknown as ModelApi.ModelVO // 提交 if (data.id) { - await ModelApi.updateModel(data) + await ModelApi.updateModelBpmn(data) message.success('修改成功') } else { - await ModelApi.createModel(data) + await ModelApi.updateModelBpmn(data) message.success('新增成功') } // 跳转回去 -- Gitblit v1.9.3