From d088628a4b421e7e0a8363b8b75529d8b2ecfe89 Mon Sep 17 00:00:00 2001 From: lyh <liuyuanheng@xalxzn.com> Date: 星期一, 24 二月 2025 10:07:14 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- 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