From 3e44c14286d62c0594d8c0f6ed11d41a8eb48cad Mon Sep 17 00:00:00 2001
From: dap <15891557205@163.com>
Date: 星期五, 05 四月 2024 14:09:53 +0800
Subject: [PATCH] Merge branch 'dev' of https://gitee.com/JavaLionLi/plus-ui into dev

---
 src/api/workflow/task/index.ts |   23 +++++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/src/api/workflow/task/index.ts b/src/api/workflow/task/index.ts
index aabdd15..8260e69 100644
--- a/src/api/workflow/task/index.ts
+++ b/src/api/workflow/task/index.ts
@@ -215,3 +215,26 @@
     method: 'get'
   });
 };
+
+/**
+ * 鑾峰彇鍙┏鍥炲緱浠诲姟鑺傜偣
+ * @returns
+ */
+export const getTaskNodeList = (processInstanceId: string) => {
+  return request({
+    url: `/workflow/task/getTaskNodeList/${processInstanceId}`,
+    method: 'get'
+  });
+};
+
+/**
+ * 濮旀墭浠诲姟
+ * @returns
+ */
+export const delegateTask = (data: any) => {
+  return request({
+    url: `/workflow/task/delegateTask`,
+    method: 'post',
+    data: data
+  });
+};

--
Gitblit v1.9.3