From f609a4332f03508311b99db11bb88a3ccba81993 Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Tue, 27 May 2025 14:53:18 +0800 Subject: [PATCH 1/2] 1 --- src/api/process/index.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/api/process/index.ts b/src/api/process/index.ts index a1db58f..f7e1c14 100644 --- a/src/api/process/index.ts +++ b/src/api/process/index.ts @@ -19,7 +19,7 @@ export function taskHistoryListApi(config : Object) { } /*签收*/ -export function claim(config : Object) { +export function claim(config : Object) { return http({ url: '/act/task/claim', method: 'PUT', @@ -75,3 +75,11 @@ export function taskEntrust(config : Object) { //委托 data: config }) } + +export function myApplyProcessListApi(config : object) { //本人发起列表 + return http({ + url: '/act/task/myApplyProcessList', + method: 'GET', + data: config + }) +} \ No newline at end of file From 63a564a391d9b6b84b711b7783ba6e289c97b2a2 Mon Sep 17 00:00:00 2001 From: yangzhq68909 <993367776@qq.com> Date: Tue, 27 May 2025 17:03:21 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8F=96=E5=9B=9E=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/process/index.ts | 19 +++- src/pages-process/components/myTask.vue | 129 ++++++++++------------ src/pages-process/myApplyProcess.vue | 136 ++++++++++++++++++++++++ src/pages.json | 9 ++ src/pages/index/index.vue | 23 ++-- src/types/uni-pages.d.ts | 1 + 6 files changed, 225 insertions(+), 92 deletions(-) create mode 100644 src/pages-process/myApplyProcess.vue diff --git a/src/api/process/index.ts b/src/api/process/index.ts index 6dbd33a..6ae5a0a 100644 --- a/src/api/process/index.ts +++ b/src/api/process/index.ts @@ -90,4 +90,21 @@ export function processComplete(config : Object) { //流程任务完成 method: 'POST', data: config }) -} \ No newline at end of file +} + +export function myApplyProcessListApi(config : object) { // 本人发起列表 + return http({ + url: '/act/task/myApplyProcessList', + method: 'GET', + data: config + }) +} + +export function callBackProcessApi(config : object) { // 取回流程 + return http({ + url: '/act/task/callBackProcess', + method: 'PUT', + data: config + }) +} + diff --git a/src/pages-process/components/myTask.vue b/src/pages-process/components/myTask.vue index 284b8f8..3a0ee90 100644 --- a/src/pages-process/components/myTask.vue +++ b/src/pages-process/components/myTask.vue @@ -1,30 +1,30 @@