初始化仓库

This commit is contained in:
tao
2025-12-18 14:11:48 +08:00
parent e96f277a68
commit 54ec472bd4
1107 changed files with 158756 additions and 0 deletions

44
api/basic/department.js Normal file
View File

@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询部门管理列表
export function listDepartment(query) {
return request({
url: '/basic/department/list',
method: 'get',
params: query
})
}
// 查询部门管理详细
export function getDepartment(id) {
return request({
url: '/basic/department/' + id,
method: 'get'
})
}
// 新增部门管理
export function addDepartment(data) {
return request({
url: '/basic/department',
method: 'post',
data: data
})
}
// 修改部门管理
export function updateDepartment(data) {
return request({
url: '/basic/department',
method: 'put',
data: data
})
}
// 删除部门管理
export function delDepartment(id) {
return request({
url: '/basic/department/' + id,
method: 'delete'
})
}