59 lines
1.1 KiB
JavaScript
59 lines
1.1 KiB
JavaScript
import request from '@/utils/request';
|
|
|
|
export function getStuInfo(stuNo){
|
|
return request({
|
|
url:"/comprehensive/stuInfoView/getStuInfo/"+stuNo,
|
|
method:"GET"
|
|
});
|
|
}
|
|
|
|
export function getOwnInfo(){
|
|
return request({
|
|
url:"/comprehensive/stuInfoView/getOwnInfo",
|
|
method:"GET"
|
|
});
|
|
}
|
|
|
|
// 查询学生信息视图列表
|
|
export function listStuInfoView(query) {
|
|
return request({
|
|
url: '/comprehensive/stuInfoView/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询学生信息视图详细
|
|
export function getStuInfoView(stuId) {
|
|
return request({
|
|
url: '/comprehensive/stuInfoView/' + stuId,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增学生信息视图
|
|
export function addStuInfoView(data) {
|
|
return request({
|
|
url: '/comprehensive/stuInfoView/add',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改学生信息视图
|
|
export function updateStuInfoView(data) {
|
|
return request({
|
|
url: '/comprehensive/stuInfoView/update',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除学生信息视图
|
|
export function delStuInfoView(stuId) {
|
|
return request({
|
|
url: '/comprehensive/stuInfoView/' + stuId,
|
|
method: 'post'
|
|
})
|
|
}
|