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 : '定义级') }} - +