diff --git a/apps/web-antd/src/api/core/workflow.ts b/apps/web-antd/src/api/core/workflow.ts index 5e6f750..3992ff7 100644 --- a/apps/web-antd/src/api/core/workflow.ts +++ b/apps/web-antd/src/api/core/workflow.ts @@ -57,3 +57,7 @@ export function getWorkflowList(params: WorkflowApi.WorkflowLogParams) { export function linkWorkflow(data: WorkflowApi.WorkflowLinkParams) { return requestClient.post(`/v1/server/link`, data); } + +export function linkDetail(workflowId: string) { + return requestClient.get(`/v1/server/link/${workflowId}`); +} diff --git a/apps/web-antd/src/views/workflow/list.vue b/apps/web-antd/src/views/workflow/list.vue index 2462a60..a049023 100644 --- a/apps/web-antd/src/views/workflow/list.vue +++ b/apps/web-antd/src/views/workflow/list.vue @@ -44,7 +44,7 @@ function onActionClick({ code, row }: OnActionClickParams) { } } -const [Grid] = useVbenVxeGrid({ +const [Grid, gridApi] = useVbenVxeGrid({ formOptions: { schema: useGridFormSchema(), }, @@ -82,14 +82,14 @@ const [Grid] = useVbenVxeGrid({ } as VxeTableGridOptions, }); -// function onRefresh() { -// gridApi.query(); -// } +function onRefresh() { + gridApi.query(); +}