feat:【ele】bpm form 的迁移 50% 初始化

This commit is contained in:
YunaiV
2025-10-20 22:22:56 +08:00
parent f2f1675087
commit 39508453fa
2 changed files with 119 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import { requestClient } from '#/api/request';
export namespace BpmFormApi {
/** 流程表单 */
export interface Form {
id?: number | undefined;
id?: number;
name: string;
conf: string;
fields: string[];
@@ -23,7 +23,7 @@ export async function getFormPage(params: PageParam) {
}
/** 获取表单详情 */
export async function getFormDetail(id: number) {
export async function getForm(id: number) {
return requestClient.get<BpmFormApi.Form>(`/bpm/form/get?id=${id}`);
}