From ea082c732bd7178cdc723a1e6c91e2cbc3595498 Mon Sep 17 00:00:00 2001
From: 李喆(开发组) <lzhe@yxqiche.com>
Date: 星期二, 24 六月 2025 13:53:11 +0800
Subject: [PATCH] 1

---
 src/api/flow/todolist.js |   36 ++++++++++++++++++++++--------------
 1 files changed, 22 insertions(+), 14 deletions(-)

diff --git a/src/api/flow/todolist.js b/src/api/flow/todolist.js
index c4591ae..9b8a7d3 100644
--- a/src/api/flow/todolist.js
+++ b/src/api/flow/todolist.js
@@ -1,5 +1,11 @@
+/*
+ * @Date: 2025-06-12 22:38:05
+ * @LastEditors: gaoshp
+ * @LastEditTime: 2025-06-17 21:22:59
+ * @FilePath: /mdmweb/src/api/flow/todolist.js
+ */
 import request from '@/axios';
-export const getLazyList = (current, size, params) => {
+export const getList = (current, size, params) => {
   return request({
     url: '/blade-mdm/flow/todo-list',
     method: 'get',
@@ -8,17 +14,19 @@
       current,
       size,
     },
+  })
+};
+export const approve = (params) => {
+  return request({
+    url: `/blade-mdm/flow/dispatch/completeTask?taskId=${params.taskId}&processInstanceId=${params.processInstanceId}&comment=${params.comment}`,
+    method: 'post',
+    data: params,
   });
-};
-export const add = (parentId, params) => {
-  
-};
-export const remove = (parentId, params) => {
-  
-};
-export const update = (parentId, params) => {
-  
-};
-export const getMenu = (parentId, params) => {
-  
-};
\ No newline at end of file
+}
+export const getAssignee = (params) => {
+  return request({
+    url: `/blade-mdm/flow/flow-user-list?deptId=0`,
+    method: 'get',
+    params,
+  });
+}
\ No newline at end of file

--
Gitblit v1.9.3