From 93e31765c9193a7a01be18776eaee9481a671beb Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期五, 20 六月 2025 21:00:58 +0800
Subject: [PATCH] Merge branch 'master' of http://www.beijingsoft.cn:9090/r/mdmweb
---
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