This commit is contained in:
zt
2025-03-18 11:02:11 +08:00
parent 69c3106e2d
commit 00a99f8ccd
8 changed files with 669 additions and 3 deletions

View File

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询APP包工头列表
export function listUser(query) {
return request({
url: '/bgt/user/list',
method: 'get',
params: query
})
}
// 查询APP包工头详细
export function getUser(id) {
return request({
url: '/bgt/user/' + id,
method: 'get'
})
}
// 新增APP包工头
export function addUser(data) {
return request({
url: '/bgt/user',
method: 'post',
data: data
})
}
// 修改APP包工头
export function updateUser(data) {
return request({
url: '/bgt/user',
method: 'put',
data: data
})
}
// 删除APP包工头
export function delUser(id) {
return request({
url: '/bgt/user/' + id,
method: 'delete'
})
}
// 导出APP包工头
export function exportUser(query) {
return request({
url: '/bgt/user/export',
method: 'get',
params: query
})
}