表单预览和修改

This commit is contained in:
cxc
2022-12-20 16:32:39 +08:00
parent a0c3e7bd00
commit 9b33e7e846
14 changed files with 743 additions and 223 deletions

View File

@ -1,8 +1,20 @@
import request from "@/utils/request";
export const listCategory = (query) =>
export const listAllCategory = (query) =>
request({
url: "/flowable/category/list",
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 }
});