feat-wip(projects): 对接流程定义功能ing

This commit is contained in:
AN
2025-06-11 23:32:59 +08:00
parent 4f6c14f358
commit 7b2c857f6d
4 changed files with 170 additions and 79 deletions

View File

@ -54,3 +54,11 @@ export function fetchActiveDefinition(id: CommonType.IdType, active: boolean) {
}
});
}
/** 发布流程定义 */
export function fetchPublishDefinition(id: CommonType.IdType) {
return request<boolean>({
url: `/workflow/definition/publish/${id}`,
method: 'put'
});
}