From cfc79a06577c0e4977dee4c5bce5b8058e75eae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=8C=AF=E8=8A=B3?= Date: Thu, 4 Dec 2025 15:11:01 +0800 Subject: [PATCH] feat: add workflow status list function --- automation/web/src/api/workFlow.ts | 7 +++++++ .../web/src/views/workflow/form/workFlowList.vue | 11 ++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/automation/web/src/api/workFlow.ts b/automation/web/src/api/workFlow.ts index 9f1d8cb0..92375d86 100644 --- a/automation/web/src/api/workFlow.ts +++ b/automation/web/src/api/workFlow.ts @@ -11,6 +11,13 @@ export const getWorkflowList = (data: any) => { params: processedData, }); }; +// 获取发布状态 +export const workflowStatus = () => { + return request({ + url: `/enum/workflowStatus`, + method: 'get', + }); +}; // 删除编排 export const deleteWorkflow = (data: any) => { diff --git a/automation/web/src/views/workflow/form/workFlowList.vue b/automation/web/src/views/workflow/form/workFlowList.vue index 4aaa723d..0234ef64 100644 --- a/automation/web/src/views/workflow/form/workFlowList.vue +++ b/automation/web/src/views/workflow/form/workFlowList.vue @@ -104,7 +104,7 @@ -- Gitee