学生资助-困难认定-移动端开发
This commit is contained in:
196
api/finance/poverty.js
Normal file
196
api/finance/poverty.js
Normal file
@@ -0,0 +1,196 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获取当前用户的贫困认定申请记录
|
||||
export function listOwn(params) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/listOwn',
|
||||
method: 'get',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
// 查询困难认定详细
|
||||
export function getApply(id) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增困难认定
|
||||
export function addApply(data) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改困难认定
|
||||
export function updateApply(data) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/edit',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除困难认定
|
||||
export function delApply(id) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/delete/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取困难认定学年信息
|
||||
export function getKnrdYear(tag) {
|
||||
return request({
|
||||
url: '/system/year/by-tag',
|
||||
method: 'get',
|
||||
params: { tag }
|
||||
})
|
||||
}
|
||||
|
||||
// 提交申请
|
||||
export function vaild(data) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/valid',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 撤回申请
|
||||
export function revoke(data) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/revoke',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取当前学年
|
||||
export function getCurrentYear() {
|
||||
return request({
|
||||
url: '/knrdApply/apply/getCurrentYear',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 根据学号和学年查询
|
||||
export function findByXhAndApplyYear(data) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/findByXhAndApplyYear',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 信息检查
|
||||
export function infoCheck() {
|
||||
return request({
|
||||
url: '/knrdApply/apply/infoCheck',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 根据学号获取学生信息
|
||||
export function getStuByXh(xh) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/getStuByXh/' + xh,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 驳回申请
|
||||
export function reject(data) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/reject',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 辅导员保存
|
||||
export function fdySave(data) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/fdySave',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 辅导员下一步
|
||||
export function fdyNext(data) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/fdyNext',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取申请记录
|
||||
export function listRecord(id) {
|
||||
return request({
|
||||
url: '/knrdApply/record/list/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取当前学生学号等基本信息
|
||||
export function getxh() {
|
||||
return request({
|
||||
url: '/knrdApply/apply/xh',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取学生扩展信息
|
||||
export function extraInfo() {
|
||||
return request({
|
||||
url: '/comprehensive/extraInfo/getOwnInfo',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取学生信息视图
|
||||
export function stuInfoView() {
|
||||
return request({
|
||||
url: '/comprehensive/stuInfoView/getOwnInfo',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取家庭成员信息
|
||||
export function getOwnFamily() {
|
||||
return request({
|
||||
url: '/comprehensive/member/getOwnFamily',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 辅导员获取家庭成员信息
|
||||
export function getOwnFamilyFdy(xh) {
|
||||
return request({
|
||||
url: '/knrdApply/apply/getOwnFamilyFdy/' + xh,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取当前学年
|
||||
export function getCurrentYearFun() {
|
||||
return request({
|
||||
url: '/knrdApply/apply/getCurrentYearFun',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 根据学号和学年查询困难类别
|
||||
export function queryByStuNo(data) {
|
||||
return request({
|
||||
url: '/comprehensive/knrdtype/queryByStuNo',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user