20200407-lc-1

This commit is contained in:
sk1551
2020-04-08 15:31:16 +08:00
parent 96cc622cfd
commit 7e3b4fba6c
2 changed files with 581 additions and 0 deletions

View File

@ -0,0 +1,53 @@
import request from '@/utils/request'
// 查询幼儿园机构列表
export function listSchool(query) {
return request({
url: '/system/school/list',
method: 'get',
params: query
})
}
// 查询幼儿园机构详细
export function getSchool(id) {
return request({
url: '/system/school/' + id,
method: 'get'
})
}
// 新增幼儿园机构
export function addSchool(data) {
return request({
url: '/system/school',
method: 'post',
data: data
})
}
// 修改幼儿园机构
export function updateSchool(data) {
return request({
url: '/system/school',
method: 'put',
data: data
})
}
// 删除幼儿园机构
export function delSchool(id) {
return request({
url: '/system/school/' + id,
method: 'delete'
})
}
// 导出幼儿园机构
export function exportSchool(query) {
return request({
url: '/system/school/export',
method: 'get',
params: query
})
}