From 5a98e5f9ce50bb5de56a54cae14e5ea49fbe2c07 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 17 三月 2025 16:19:29 +0800
Subject: [PATCH] 更新流程实现

---
 src/api/flowable/definition.js |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/api/flowable/definition.js b/src/api/flowable/definition.js
index b280346..03fb263 100644
--- a/src/api/flowable/definition.js
+++ b/src/api/flowable/definition.js
@@ -95,7 +95,7 @@
   })
 }
 
-// 璇诲彇xml鏂囦欢
+// 淇濆瓨xml鏂囦欢
 export function saveXml(data) {
   return request({
     url: '/flowable/definition/save',
@@ -104,6 +104,15 @@
   })
 }
 
+// 鏇存柊xml鏂囦欢
+export function updateXml(data) {
+  return request({
+    url: '/flowable/definition/update',
+    method: 'post',
+    data: data
+  })
+}
+
 // 鏂板娴佺▼瀹氫箟
 export function addDeployment(data) {
   return request({

--
Gitblit v1.8.0