家长信息功能,学生信息功能

This commit is contained in:
曹辉 2022-08-03 10:29:33 +08:00
parent 924f35d7cf
commit 1271da2a25
2 changed files with 1430 additions and 0 deletions

View File

@ -0,0 +1,51 @@
import request from '@/utils/request'
// 查询学生信息列表
export function listStudentInfo(query) {
return request({
url: '/system/studentInfo/list',
method: 'get',
params: query
})
}
// 查询学生信息详细
export function getStudentInfo(id) {
return request({
url: '/system/studentInfo/' + id,
method: 'get'
})
}
// 新增家长信息
export function addparentInfo(data) {
return request({
url: '/system/parentInfo/add',
method: 'post',
data: data
})
}
// 新增学生信息
export function addStudentInfo(data) {
return request({
url: '/system/studentInfo/add',
method: 'post',
data: data
})
}
// 修改学生信息
export function updateStudentInfo(data) {
return request({
url: '/system/studentInfo/edit',
method: 'post',
data: data
})
}
// 删除学生信息
export function delStudentInfo(id) {
return request({
url: '/system/studentInfo/' + id,
method: 'delete'
})
}

File diff suppressed because it is too large Load Diff