外宿申请和入伍保留学籍申请移动端审批(同意的流程)完成
This commit is contained in:
71
api/routine/enlistmentReserve/enlistmentReserve.js
Normal file
71
api/routine/enlistmentReserve/enlistmentReserve.js
Normal file
@@ -0,0 +1,71 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询应征入伍保留学籍申请列表
|
||||
export function listEnlistmentReserve(query) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserve/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询应征入伍保留学籍申请详细
|
||||
export function getEnlistmentReserve(id) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserve/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 查询应征入伍保留学籍申请详细
|
||||
export function getEnlistmentReserveByProcessInstanceId(processInstanceId) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserve/process/' + processInstanceId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增应征入伍保留学籍申请
|
||||
export function addEnlistmentReserve(data) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserve/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改应征入伍保留学籍申请
|
||||
export function updateEnlistmentReserve(data) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserve/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除应征入伍保留学籍申请
|
||||
export function delEnlistmentReserve(id) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserve/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取学生信息
|
||||
export function getOwnInfo(){
|
||||
return request({
|
||||
url:'/comprehensive/stuInfoView/getOwnInfo',
|
||||
method:'GET'
|
||||
})
|
||||
}
|
||||
|
||||
// 修改学生信息
|
||||
export function updateStudent(data) {
|
||||
return request({
|
||||
url: '/system/student/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
54
api/routine/enlistmentReserve/enlistmentReserveApproval.js
Normal file
54
api/routine/enlistmentReserve/enlistmentReserveApproval.js
Normal file
@@ -0,0 +1,54 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询保留学籍审批记录列表
|
||||
export function listEnlistmentReserveApproval(query) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveApproval/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询保留学籍审批记录详细
|
||||
export function getEnlistmentReserveApproval(id) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveApproval/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增保留学籍审批记录
|
||||
export function addEnlistmentReserveApproval(data) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveApproval/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改保留学籍审批记录
|
||||
export function updateEnlistmentReserveApproval(data) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveApproval/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除保留学籍审批记录
|
||||
export function delEnlistmentReserveApproval(id) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveApproval/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 新增保留学籍审批记录
|
||||
export function insertOrUpdateByStuAndApprover(data) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveApproval/insertOrUpdateByStuAndApprover',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
62
api/routine/enlistmentReserve/enlistmentReserveAttach.js
Normal file
62
api/routine/enlistmentReserve/enlistmentReserveAttach.js
Normal file
@@ -0,0 +1,62 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询保留学籍申请附件(入伍通知书等)列表
|
||||
export function listEnlistmentReserveAttach(query) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveAttach/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询保留学籍申请附件(入伍通知书等)详细
|
||||
export function getEnlistmentReserveAttach(id) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveAttach/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增保留学籍申请附件(入伍通知书等)
|
||||
export function addEnlistmentReserveAttach(data) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveAttach/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 批量新增保留学籍申请附件(入伍通知书等)
|
||||
export function batchAddEnlistmentReserveAttach(data) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveAttach/batchAdd',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改保留学籍申请附件(入伍通知书等)
|
||||
export function updateEnlistmentReserveAttach(data) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveAttach/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除保留学籍申请附件(入伍通知书等)
|
||||
export function delEnlistmentReserveAttach(id) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveAttach/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 删除保留学籍申请附件(入伍通知书等)
|
||||
export function deleteRtEnlistmentReserveAttachByFileNameAndStuName(query) {
|
||||
return request({
|
||||
url: '/routine/enlistmentReserveAttach/deleteRtEnlistmentReserve',
|
||||
method: 'post',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user