用户中心和采购计划完善

This commit is contained in:
砂糖
2025-10-13 17:51:27 +08:00
parent 8db5eb7707
commit d0520e7872
48 changed files with 4833 additions and 713 deletions

View File

@@ -0,0 +1,53 @@
import request from "@/util/oaRequest"
// 查询流程分类列表
export function listCategory(query) {
return request({
url: '/workflow/category/list',
method: 'get',
params: query
})
}
// 查询流程分类列表
export function listAllCategory(query) {
return request({
url: '/workflow/category/listAll',
method: 'get',
params: query
})
}
// 查询流程分类详细
export function getCategory(categoryId) {
return request({
url: '/workflow/category/' + categoryId,
method: 'get'
})
}
// 新增流程分类
export function addCategory(data) {
return request({
url: '/workflow/category',
method: 'post',
data: data
})
}
// 修改流程分类
export function updateCategory(data) {
return request({
url: '/workflow/category',
method: 'put',
data: data
})
}
// 删除流程分类
export function delCategory(categoryId) {
return request({
url: '/workflow/category/' + categoryId,
method: 'delete'
})
}