From eb364873d236e6bd0aec2c7ad8ad6bdaeafe75f3 Mon Sep 17 00:00:00 2001 From: dhb52 <dhb52@126.com> Date: 星期三, 13 三月 2024 01:18:49 +0800 Subject: [PATCH] ✨ EasyRetry Server 扩展模块 --- src/views/workflow/task/myDocument.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/workflow/task/myDocument.vue b/src/views/workflow/task/myDocument.vue index 1e1d2a0..4597a2a 100644 --- a/src/views/workflow/task/myDocument.vue +++ b/src/views/workflow/task/myDocument.vue @@ -107,7 +107,7 @@ </template> <script lang="ts" setup> -import { getCurrentSubmitByPage, deleteRuntimeProcessAndHisInst, cancelProcessApply } from '@/api/workflow/processInstance'; +import { getPageByCurrent, deleteRunAndHisInstance, cancelProcessApply } from '@/api/workflow/processInstance'; import ApprovalRecord from '@/components/Process/approvalRecord.vue'; import SubmitVerify from '@/components/Process/submitVerify.vue'; import { listCategory } from '@/api/workflow/category'; @@ -218,7 +218,7 @@ //鍒嗛〉 const getList = () => { loading.value = true; - getCurrentSubmitByPage(queryParams.value).then((resp) => { + getPageByCurrent(queryParams.value).then((resp) => { processInstanceList.value = resp.rows; total.value = resp.total; loading.value = false; @@ -231,7 +231,7 @@ await proxy?.$modal.confirm('鏄惁纭鍒犻櫎id涓恒��' + id + '銆戠殑鏁版嵁椤癸紵'); loading.value = true; if ('running' === tab.value) { - await deleteRuntimeProcessAndHisInst(id).finally(() => (loading.value = false)); + await deleteRunAndHisInstance(id).finally(() => (loading.value = false)); getList(); } proxy?.$modal.msgSuccess('鍒犻櫎鎴愬姛'); -- Gitblit v1.9.3