家长信息功能,学生信息功能
This commit is contained in:
parent
924f35d7cf
commit
1271da2a25
51
src/api/system/studentInfo.js
Normal file
51
src/api/system/studentInfo.js
Normal 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'
|
||||
})
|
||||
}
|
||||
1379
src/views/system/studentInfo/index.vue
Normal file
1379
src/views/system/studentInfo/index.vue
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user