修改班级园历部分功能
This commit is contained in:
@ -2,52 +2,61 @@ import request from '@/utils/request'
|
||||
|
||||
// 查询园历管理(班级)列表
|
||||
export function listSchoolcalendarclass(query) {
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 不分页查询班级列表
|
||||
export function listSchoolcalendarclassAll(query) {
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass/listAll',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询园历管理(班级)详细
|
||||
export function getSchoolcalendarclass(id) {
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增园历管理(班级)
|
||||
export function addSchoolcalendarclass(data) {
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改园历管理(班级)
|
||||
export function updateSchoolcalendarclass(data) {
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除园历管理(班级)
|
||||
export function delSchoolcalendarclass(id) {
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出园历管理(班级)
|
||||
export function exportSchoolcalendarclass(query) {
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
return request({
|
||||
url: '/benyi/schoolcalendarclass/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
@ -2,70 +2,70 @@ import request from '@/utils/request'
|
||||
|
||||
// 查询教师基本信息列表
|
||||
export function listTeacher(query) {
|
||||
return request({
|
||||
url: '/system/teacher/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
return request({
|
||||
url: '/system/teacher/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
//不分页
|
||||
export function listTeacher2(query) {
|
||||
return request({
|
||||
url: '/system/teacher/list2',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
return request({
|
||||
url: '/system/teacher/list2',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询教师基本信息列表
|
||||
export function listTeacherGroupXw() {
|
||||
return request({
|
||||
url: '/system/teacher/listgroupxw',
|
||||
method: 'get',
|
||||
params: ''
|
||||
})
|
||||
return request({
|
||||
url: '/system/teacher/listgroupxw',
|
||||
method: 'get',
|
||||
params: ''
|
||||
})
|
||||
}
|
||||
|
||||
// 查询教师基本信息详细
|
||||
export function getTeacher(id) {
|
||||
return request({
|
||||
url: '/system/teacher/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
return request({
|
||||
url: '/system/teacher/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增教师基本信息
|
||||
export function addTeacher(data) {
|
||||
return request({
|
||||
url: '/system/teacher',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
return request({
|
||||
url: '/system/teacher',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改教师基本信息
|
||||
export function updateTeacher(data) {
|
||||
return request({
|
||||
url: '/system/teacher',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
return request({
|
||||
url: '/system/teacher',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除教师基本信息
|
||||
export function delTeacher(id) {
|
||||
return request({
|
||||
url: '/system/teacher/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
return request({
|
||||
url: '/system/teacher/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出教师基本信息
|
||||
export function exportTeacher(query) {
|
||||
return request({
|
||||
url: '/system/teacher/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
return request({
|
||||
url: '/system/teacher/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user