From 8b19e5d2b8bac93fe43dd98d2cb19fc39739b083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Tue, 3 Nov 2026 12:37:57 +0800 Subject: [PATCH] update warm-flow 2.1.1 --- src/api/workflow/timer/index.ts | 8 ++++++ src/views/workflow/timer/index.vue | 41 ++++++++++++++++++++++++++++-- 2 files changed, 47 insertions(+), 2 deletions(-) diff --git a/src/api/workflow/timer/index.ts b/src/api/workflow/timer/index.ts index 27fe04ee..21a7ced8 100644 --- a/src/api/workflow/timer/index.ts +++ b/src/api/workflow/timer/index.ts @@ -38,6 +38,14 @@ export const getEventWait = (id: string | number): AxiosPromise => }); }; +/** 恢复已死的事件等待记录,定时启动任务除外 */ +export const reviveEventWait = (id: string | number): AxiosPromise => { + return request({ + url: `/workflow/eventWait/${id}/revive`, + method: 'post' + }); +}; + /** * 手动补发一次定时启动任务,返回新建实例主键;不影响该任务的下次触发时间 * @param data diff --git a/src/views/workflow/timer/index.vue b/src/views/workflow/timer/index.vue index d9ba6cff..7662648d 100644 --- a/src/views/workflow/timer/index.vue +++ b/src/views/workflow/timer/index.vue @@ -145,9 +145,26 @@ {{ scope.row.businessId || (scope.row.instanceId ? scope.row.instanceId : '定义级') }} - +