From de33d4aaee80c1333564f54ad7ed63cabbbf9412 Mon Sep 17 00:00:00 2001
From: LiuHao <liuhaoai545@gmail.com>
Date: 星期五, 08 三月 2024 14:16:27 +0800
Subject: [PATCH] update 保存增加loading、增加预编译

---
 src/api/workflow/task/index.ts |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/src/api/workflow/task/index.ts b/src/api/workflow/task/index.ts
index fbeca0e..7b496c0 100644
--- a/src/api/workflow/task/index.ts
+++ b/src/api/workflow/task/index.ts
@@ -130,13 +130,13 @@
 };
 
 /**
- * 鑾峰彇娴佺▼鐘舵��
+ * 鑾峰彇褰撳墠浠诲姟
  * @param taskId
  * @returns
  */
-export const getBusinessStatus = (taskId: string) => {
+export const getTaskById = (taskId: string) => {
   return request({
-    url: '/workflow/task/getBusinessStatus/' + taskId,
+    url: '/workflow/task/getTaskById/' + taskId,
     method: 'get'
   });
 };
@@ -179,3 +179,17 @@
     method: 'put'
   });
 };
+
+/**
+ * 杞姙浠诲姟
+ * @param taskIds
+ * @param userId
+ * @returns
+ */
+export const transferTask = (data: object) => {
+  return request({
+    url: `/workflow/task/transferTask`,
+    method: 'post',
+    data: data
+  });
+};

--
Gitblit v1.9.3