20200720-zlp-1

幼儿管理
This commit is contained in:
paidaxing444
2020-07-20 18:20:13 +08:00
parent ccffb12833
commit ca727677d2
8 changed files with 1531 additions and 0 deletions

View File

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询幼儿信息列表
export function listChild(query) {
return request({
url: '/benyi/child/list',
method: 'get',
params: query
})
}
// 查询幼儿信息详细
export function getChild(id) {
return request({
url: '/benyi/child/' + id,
method: 'get'
})
}
// 新增幼儿信息
export function addChild(data) {
return request({
url: '/benyi/child',
method: 'post',
data: data
})
}
// 修改幼儿信息
export function updateChild(data) {
return request({
url: '/benyi/child',
method: 'put',
data: data
})
}
// 删除幼儿信息
export function delChild(id) {
return request({
url: '/benyi/child/' + id,
method: 'delete'
})
}
// 导出幼儿信息
export function exportChild(query) {
return request({
url: '/benyi/child/export',
method: 'get',
params: query
})
}