From 65ce2e4b82f2400493fc55b1a8685bbbc1ba30dd Mon Sep 17 00:00:00 2001
From: cuijian <cuijian@xalxzn.com>
Date: 星期二, 24 六月 2025 09:04:44 +0800
Subject: [PATCH] 流程页面样式

---
 src/views/flowable/api/todo.js |   65 ++++++++++++++++++++++++++++++++
 1 files changed, 65 insertions(+), 0 deletions(-)

diff --git a/src/views/flowable/api/todo.js b/src/views/flowable/api/todo.js
new file mode 100644
index 0000000..107bb4a
--- /dev/null
+++ b/src/views/flowable/api/todo.js
@@ -0,0 +1,65 @@
+import {axios as request} from '@/utils/request'
+
+// 鏌ヨ寰呭姙浠诲姟鍒楄〃
+export function todoList(query) {
+  return request({
+    url: '/flowable/task/todoList',
+    method: 'get',
+    params: query
+  })
+}
+
+// 瀹屾垚浠诲姟
+export function completeTask(data) {
+  return request({
+    url: '/flowable/task/completeByDateId',
+    method: 'post',
+    data: data
+  })
+}
+
+// 濮旀淳浠诲姟
+export function delegate(data) {
+  return request({
+    url: '/flowable/task/delegate',
+    method: 'post',
+    data: data
+  })
+}
+
+// 閫�鍥炰换鍔�
+export function returnTask(data) {
+  return request({
+    url: '/flowable/task/taskReturnByDataId',
+    method: 'post',
+    data: data
+  })
+}
+
+// 椹冲洖浠诲姟
+export function rejectTask(data) {
+  return request({
+    url: '/flowable/task/taskRejectByDataId',
+    method: 'post',
+    data: data
+  })
+}
+
+// 鍙��鍥炰换鍔″垪琛�
+export function returnList(data) {
+  return request({
+    url: '/flowable/task/findReturnTaskListByDataId',
+    method: 'post',
+    data: data
+  })
+}
+
+// 涓嬩竴鑺傜偣 todo 鐩墠鐩存帴鑷姩鍒嗛厤鍒板�欓�変汉锛屼笉鐢ㄤ富鍔ㄩ�変汉锛屽鏈夐渶瑕佸啀寮�鍙�
+export function getNextFlowNode(data) {
+  return request({
+    url: '/flowable/task/nextFlowNode',
+    method: 'post',
+    data: data
+  })
+}
+

--
Gitblit v1.9.3