20200420-zlp-2

园历创建
This commit is contained in:
paidaxing444
2020-04-20 17:28:41 +08:00
parent b54c6c8749
commit d847efd9bd
2 changed files with 471 additions and 0 deletions

View File

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询园历管理列表
export function listSchoolcalendar(query) {
return request({
url: '/benyi/schoolcalendar/list',
method: 'get',
params: query
})
}
// 查询园历管理详细
export function getSchoolcalendar(id) {
return request({
url: '/benyi/schoolcalendar/' + id,
method: 'get'
})
}
// 新增园历管理
export function addSchoolcalendar(data) {
return request({
url: '/benyi/schoolcalendar',
method: 'post',
data: data
})
}
// 修改园历管理
export function updateSchoolcalendar(data) {
return request({
url: '/benyi/schoolcalendar',
method: 'put',
data: data
})
}
// 删除园历管理
export function delSchoolcalendar(id) {
return request({
url: '/benyi/schoolcalendar/' + id,
method: 'delete'
})
}
// 导出园历管理
export function exportSchoolcalendar(query) {
return request({
url: '/benyi/schoolcalendar/export',
method: 'get',
params: query
})
}