学生资助-国家助学金-移动端开发

This commit is contained in:
2026-01-21 10:45:13 +08:00
parent f071dcf40d
commit dc1970a4a6
4 changed files with 2566 additions and 1 deletions

137
api/finance/financialaid.js Normal file
View File

@@ -0,0 +1,137 @@
import request from '@/utils/request'
// 获取当前用户的助学金申请记录
export function listOwn(params) {
return request({
url: '/comprehensive/zxj/apply/listOwn',
method: 'get',
params
})
}
// 查询助学金申请详细
export function getApply(id) {
return request({
url: '/comprehensive/zxj/apply/' + id,
method: 'get'
})
}
// 新增助学金申请
export function addApply(data) {
return request({
url: '/comprehensive/zxj/apply/add',
method: 'post',
data: data
})
}
// 修改助学金申请
export function updateApply(data) {
return request({
url: '/comprehensive/zxj/apply/update',
method: 'post',
data: data
})
}
// 删除助学金申请
export function delApply(id) {
return request({
url: '/comprehensive/zxj/apply/' + id,
method: 'post'
})
}
// 撤回助学金申请
export function revoke(data) {
return request({
url: '/comprehensive/zxj/apply/revoke',
method: 'post',
data: data
})
}
// 获取助学金学年信息
export function getYearByTag(tag) {
return request({
url: '/system/year/by-tag',
method: 'get',
params: { tag }
})
}
// 检查是否为贫困生
export function isPoor(data) {
return request({
url: '/comprehensive/zxj/apply/isPoor',
method: 'post',
data
})
}
// 获取学生基本信息
export function getStuInfo() {
return request({
url: '/comprehensive/stuInfoView/getOwnInfo',
method: 'get'
})
}
// 获取学生扩展信息
export function getExtraInfo() {
return request({
url: '/comprehensive/extraInfo/getOwnInfo',
method: 'get'
})
}
// 获取家庭成员信息
export function getFamilyInfo() {
return request({
url: '/comprehensive/member/getOwnFamily',
method: 'get'
})
}
// 获取当前学年信息
export function getCurrentYear() {
return request({
url: '/system/year/current',
method: 'get'
})
}
// 获取助学金等级选项
export function getAidLevels() {
return request({
url: '/comprehensive/zxj/apply/aidLevels',
method: 'get'
})
}
// 获取助学金学生信息
export function getZxjStudentInfo(data = {}) {
return request({
url: '/comprehensive/zxj/apply/getStudentInfo',
method: 'post',
data: data
})
}
// 获取学生个人信息
export function getOwnStudentInfo() {
return request({
url: '/system/student/getOwnInfo',
method: 'get'
})
}
// 根据学号和学年查询贫困申请
export function findByXhAndApplyYear(data) {
return request({
url: '/knrdApply/apply/findByXhAndApplyYear',
method: 'post',
data: data
})
}