流程部署

This commit is contained in:
cxc
2022-12-21 14:50:22 +08:00
parent 750f66aaf4
commit 0e9013c8c8
14 changed files with 1083 additions and 871 deletions

View File

@ -6,15 +6,30 @@ export const listAllCategory = (query) =>
method: "get",
params: query,
});
export const addCategory = (data) =>
request({
url: "/flowable/category",
method: "post",
data
});
export const delCategory = (ids) =>
request({
url: "/flowable/category",
method: "delete",
data: { ids }
});
export const getCategory = (categoryId) =>
request({
url: `/flowable/category/${categoryId}`,
method: "get",
});
export const updateCategory = (data) =>
request({
url: `/flowable/category`,
method: "put",
data
});