wuzhen update
This commit is contained in:
1 parent
bab7b53074
commit
a2222f63cb
284 files changed
+48629
-3473
No files matched your search
@@ -0,0 +1,171 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import {
|
||||
ScholarshipApplicationVO,
|
||||
ScholarshipApplicationForm,
|
||||
ScholarshipApplicationQuery,
|
||||
ScholarshipClassQuotaVO,
|
||||
ScholarshipAttachmentVO
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
* 查询奖学金申请记录列表
|
||||
* @param query 查询参数
|
||||
*/
|
||||
export const listScholarshipApplication = (query?: ScholarshipApplicationQuery): AxiosPromise<ScholarshipApplicationVO[]> => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询奖学金申请记录详细信息
|
||||
* @param id 申请记录ID
|
||||
*/
|
||||
export const getScholarshipApplication = (id: string | number): AxiosPromise<ScholarshipApplicationVO> => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipApplication/${id}`,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 新增奖学金申请记录
|
||||
* @param data 申请数据
|
||||
*/
|
||||
export const addScholarshipApplication = (data: ScholarshipApplicationForm) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 修改奖学金申请记录
|
||||
* @param data 申请数据
|
||||
*/
|
||||
export const updateScholarshipApplication = (data: ScholarshipApplicationForm) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 删除奖学金申请记录
|
||||
* @param id 申请记录ID
|
||||
*/
|
||||
export const delScholarshipApplication = (id: string | number | Array<string | number>) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipApplication/${id}`,
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 导出奖学金申请记录
|
||||
* @param query 查询参数
|
||||
*/
|
||||
export const exportScholarshipApplication = (query: ScholarshipApplicationQuery) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/export',
|
||||
method: 'post',
|
||||
data: query,
|
||||
responseType: 'blob'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 下载导入模板
|
||||
*/
|
||||
export const importTemplate = () => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/importTemplate',
|
||||
method: 'post',
|
||||
responseType: 'blob'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 批量导入奖学金申请记录
|
||||
* @param file 导入文件
|
||||
*/
|
||||
export const importData = (file: File) => {
|
||||
const formData = new FormData();
|
||||
formData.append('file', file);
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/import',
|
||||
method: 'post',
|
||||
data: formData,
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data'
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询班级奖学金名额
|
||||
* @param query 查询参数
|
||||
*/
|
||||
export const listScholarshipClassQuota = (query?: any): AxiosPromise<ScholarshipClassQuotaVO[]> => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipClassQuota/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询奖学金附件信息
|
||||
* @param applicationId 申请记录ID
|
||||
*/
|
||||
export const listScholarshipAttachment = (applicationId: string | number): AxiosPromise<ScholarshipAttachmentVO[]> => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipAttachment/list',
|
||||
method: 'get',
|
||||
params: { applicationId }
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 审核奖学金申请
|
||||
* @param id 申请记录ID
|
||||
* @param auditStatus 审核状态
|
||||
* @param auditRemark 审核备注
|
||||
*/
|
||||
export const auditScholarshipApplication = (id: string | number, auditStatus: string, auditRemark?: string) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipApplication/${id}/audit`,
|
||||
method: 'put',
|
||||
params: {
|
||||
auditStatus,
|
||||
auditRemark
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 提交奖学金申请
|
||||
* @param id 申请记录ID
|
||||
*/
|
||||
export const submitScholarshipApplication = (id: string | number) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipApplication/${id}/submit`,
|
||||
method: 'put'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 撤销奖学金申请
|
||||
* @param id 申请记录ID
|
||||
*/
|
||||
export const revokeScholarshipApplication = (id: string | number) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipApplication/${id}/revoke`,
|
||||
method: 'put'
|
||||
});
|
||||
};
|
||||
@@ -0,0 +1,426 @@
|
||||
import request from '@/utils/request'
|
||||
import { AxiosPromise } from 'axios'
|
||||
|
||||
/**
|
||||
* 贫困生认定申请查询对象类型
|
||||
*/
|
||||
export interface JcbtPovertyApplicationQuery extends PageQuery {
|
||||
/** 申请编号 */
|
||||
applicationNo?: string
|
||||
/** 学生姓名 */
|
||||
studentName?: string
|
||||
/** 学号 */
|
||||
studentNo?: string
|
||||
/** 班级名称 */
|
||||
className?: string
|
||||
/** 认定类型ID */
|
||||
recognitionTypeId?: number
|
||||
/** 认定类型名称 */
|
||||
recognitionTypeName?: string
|
||||
/** 学年 */
|
||||
academicYear?: string
|
||||
/** 申请状态 */
|
||||
status?: string
|
||||
/** 家庭经济情况 */
|
||||
familyEconomyStatus?: string
|
||||
/** 申请自助类型ID数组 */
|
||||
assistanceTypeIds?: string
|
||||
/** 创建时间范围 */
|
||||
createTime?: [string, string]
|
||||
/** 申请时间范围 */
|
||||
applicationTime?: [string, string]
|
||||
}
|
||||
|
||||
/**
|
||||
* 贫困生认定申请表单类型
|
||||
*/
|
||||
export interface JcbtPovertyApplicationForm {
|
||||
/** 主键 */
|
||||
id?: string | number
|
||||
/** 申请编号 */
|
||||
applicationNo?: string
|
||||
/** 学年 */
|
||||
academicYear?: string
|
||||
/** 学期 */
|
||||
term?: number
|
||||
/** 学生ID */
|
||||
studentId?: number
|
||||
/** 学号 */
|
||||
studentNo?: string
|
||||
/** 学生姓名 */
|
||||
studentName?: string
|
||||
/** 性别 */
|
||||
gender?: string
|
||||
/** 学院ID */
|
||||
collegeId?: number
|
||||
/** 学院名称 */
|
||||
collegeName?: string
|
||||
/** 专业ID */
|
||||
majorId?: number
|
||||
/** 专业名称 */
|
||||
majorName?: string
|
||||
/** 班级ID */
|
||||
classId?: number
|
||||
/** 班级名称 */
|
||||
className?: string
|
||||
/** 认定群体 */
|
||||
recognitionGroup?: string
|
||||
/** 认定类型ID */
|
||||
recognitionTypeId?: number
|
||||
/** 认定类型编码 */
|
||||
recognitionTypeCode?: string
|
||||
/** 认定类型名称 */
|
||||
recognitionTypeName?: string
|
||||
/** 申请状态 */
|
||||
status?: string
|
||||
/** 家庭经济情况 */
|
||||
familyEconomyStatus?: string
|
||||
/** 家庭经济情况摘要 */
|
||||
familyEconomySummary?: string
|
||||
/** 申请理由 */
|
||||
applicationReason?: string
|
||||
/** 申请时间 */
|
||||
applicationTime?: string
|
||||
/** 审核时间 */
|
||||
auditTime?: string
|
||||
/** 审核人ID */
|
||||
auditUserId?: number
|
||||
/** 审核人姓名 */
|
||||
auditUserName?: string
|
||||
/** 审核意见 */
|
||||
auditOpinion?: string
|
||||
/** 申请自助类型ID数组 */
|
||||
assistanceTypeIds?: string
|
||||
/** 申请自助类型名称 */
|
||||
assistanceTypeNames?: string
|
||||
/** 备注 */
|
||||
remark?: string
|
||||
}
|
||||
|
||||
/**
|
||||
* 贫困生认定申请视图对象类型
|
||||
*/
|
||||
export interface JcbtPovertyApplicationVo {
|
||||
/** 主键 */
|
||||
id: string | number
|
||||
/** 申请编号 */
|
||||
applicationNo: string
|
||||
/** 学年 */
|
||||
academicYear: string
|
||||
/** 学期 */
|
||||
term: number
|
||||
/** 学生ID */
|
||||
studentId: number
|
||||
/** 学号 */
|
||||
studentNo: string
|
||||
/** 学生姓名 */
|
||||
studentName: string
|
||||
/** 性别 */
|
||||
gender: string
|
||||
/** 学院ID */
|
||||
collegeId: number
|
||||
/** 学院名称 */
|
||||
collegeName: string
|
||||
/** 专业ID */
|
||||
majorId: number
|
||||
/** 专业名称 */
|
||||
majorName: string
|
||||
/** 班级ID */
|
||||
classId: number
|
||||
/** 班级名称 */
|
||||
className: string
|
||||
/** 认定群体 */
|
||||
recognitionGroup: string
|
||||
/** 认定类型ID */
|
||||
recognitionTypeId: number
|
||||
/** 认定类型编码 */
|
||||
recognitionTypeCode: string
|
||||
/** 认定类型名称 */
|
||||
recognitionTypeName: string
|
||||
/** 申请状态 */
|
||||
status: string
|
||||
/** 家庭经济情况 */
|
||||
familyEconomyStatus: string
|
||||
/** 申请自助类型ID数组 */
|
||||
assistanceTypeIds: string
|
||||
/** 申请自助类型名称 */
|
||||
assistanceTypeNames: string
|
||||
/** 家庭经济情况摘要 */
|
||||
familyEconomySummary: string
|
||||
/** 申请理由 */
|
||||
applicationReason: string
|
||||
/** 申请时间 */
|
||||
applicationTime: string
|
||||
/** 审核时间 */
|
||||
auditTime: string
|
||||
/** 审核人ID */
|
||||
auditUserId: number
|
||||
/** 审核人姓名 */
|
||||
auditUserName: string
|
||||
/** 审核意见 */
|
||||
auditOpinion: string
|
||||
/** 备注 */
|
||||
remark: string
|
||||
/** 创建者 */
|
||||
createBy: number
|
||||
/** 创建时间 */
|
||||
createTime: string
|
||||
/** 更新者 */
|
||||
updateBy: number
|
||||
/** 更新时间 */
|
||||
updateTime: string
|
||||
}
|
||||
|
||||
/**
|
||||
* 审核请求参数类型
|
||||
*/
|
||||
export interface AuditRequestForm {
|
||||
/** 申请ID */
|
||||
id: string | number
|
||||
/** 审核意见 */
|
||||
auditOpinion: string
|
||||
}
|
||||
|
||||
// ========== 基础管理接口(6个) ==========
|
||||
|
||||
/**
|
||||
* 查询贫困生认定申请列表
|
||||
* @param query 查询参数
|
||||
*/
|
||||
export function listPovertyApplication(query: JcbtPovertyApplicationQuery): AxiosPromise<JcbtPovertyApplicationVo[]> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取贫困生认定申请详细信息
|
||||
* @param id 申请ID
|
||||
*/
|
||||
export function getPovertyApplication(id: string | number): AxiosPromise<JcbtPovertyApplicationVo> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增贫困生认定申请
|
||||
* @param data 申请表单数据
|
||||
*/
|
||||
export function addPovertyApplication(data: JcbtPovertyApplicationForm): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改贫困生认定申请
|
||||
* @param data 申请表单数据
|
||||
*/
|
||||
export function updatePovertyApplication(data: JcbtPovertyApplicationForm): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除贫困生认定申请
|
||||
* @param ids 申请ID数组
|
||||
*/
|
||||
export function delPovertyApplication(ids: (string | number)[]): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/' + ids.join(','),
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出贫困生认定申请列表
|
||||
* @param query 查询参数
|
||||
*/
|
||||
export function exportPovertyApplication(query: JcbtPovertyApplicationQuery): AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/export',
|
||||
method: 'post',
|
||||
data: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
// ========== 业务功能接口(4个) ==========
|
||||
|
||||
/**
|
||||
* 查询我的申请列表(班主任查看自己提交的申请)
|
||||
* @param query 查询参数
|
||||
*/
|
||||
export function listMyPovertyApplication(query: JcbtPovertyApplicationQuery): AxiosPromise<JcbtPovertyApplicationVo[]> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/myList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询待审核申请列表(审核人员使用)
|
||||
* @param query 查询参数
|
||||
*/
|
||||
export function listPendingPovertyApplication(query: JcbtPovertyApplicationQuery): AxiosPromise<JcbtPovertyApplicationVo[]> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/pendingList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 提交申请
|
||||
* @param id 申请ID
|
||||
*/
|
||||
export function submitPovertyApplication(id: string | number): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/submit/' + id,
|
||||
method: 'put'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 撤销申请
|
||||
* @param id 申请ID
|
||||
*/
|
||||
export function cancelPovertyApplication(id: string | number): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/cancel/' + id,
|
||||
method: 'put'
|
||||
})
|
||||
}
|
||||
|
||||
// ========== 辅助功能接口(6个) ==========
|
||||
|
||||
/**
|
||||
* 根据申请编号获取申请信息
|
||||
* @param applicationNo 申请编号
|
||||
*/
|
||||
export function getPovertyApplicationByNo(applicationNo: string): AxiosPromise<JcbtPovertyApplicationVo> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/byApplicationNo/' + applicationNo,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存草稿
|
||||
* @param data 申请表单数据
|
||||
*/
|
||||
export function saveDraftPovertyApplication(data: JcbtPovertyApplicationForm): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/saveDraft',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 审核通过
|
||||
* @param data 审核请求参数
|
||||
*/
|
||||
export function approvePovertyApplication(data: AuditRequestForm): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/approve',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 审核驳回
|
||||
* @param data 审核请求参数
|
||||
*/
|
||||
export function rejectPovertyApplication(data: AuditRequestForm): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/reject',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成申请编号
|
||||
*/
|
||||
export function generateApplicationNo(): AxiosPromise<string> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/generateApplicationNo',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 检查学生申请是否重复
|
||||
* @param params 检查参数
|
||||
*/
|
||||
export function checkDuplicate(params: {
|
||||
studentId: number
|
||||
academicYear: string
|
||||
recognitionTypeId: number
|
||||
excludeId?: number
|
||||
}): AxiosPromise<boolean> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/checkDuplicate',
|
||||
method: 'get',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
// ========== 统计分析接口(2个) ==========
|
||||
|
||||
/**
|
||||
* 获取申请统计信息
|
||||
* @param teacherId 班主任ID(可选)
|
||||
*/
|
||||
export function getPovertyApplicationStatistics(teacherId?: number): AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/statistics',
|
||||
method: 'get',
|
||||
params: teacherId ? { teacherId } : {}
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取我的申请统计信息(班主任使用)
|
||||
*/
|
||||
export function getMyPovertyApplicationStatistics(): AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/myStatistics',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// ========== 班级和学生相关接口(2个) ==========
|
||||
|
||||
/**
|
||||
* 获取当前用户班级信息
|
||||
*/
|
||||
export function getCurrentUserClasses(): AxiosPromise<any[]> {
|
||||
return request({
|
||||
url: '/jcbt/povertyApplication/user/classes',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取班级学生列表
|
||||
* @param classId 班级ID
|
||||
*/
|
||||
export function getClassStudents(classId: number | string): AxiosPromise<any[]> {
|
||||
return request({
|
||||
url: `/jcbt/povertyApplication/class/${classId}/students`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// 重新导出奖学金审核相关的API函数
|
||||
export {
|
||||
listScholarshipReview,
|
||||
getScholarshipReview,
|
||||
addScholarshipReview,
|
||||
updateScholarshipReview,
|
||||
delScholarshipReview,
|
||||
getMyReviewTasks,
|
||||
getPendingReviews,
|
||||
getReviewHistory,
|
||||
performReviewAction,
|
||||
batchApprove as batchApproveScholarshipReview,
|
||||
checkReviewRules,
|
||||
getReviewStatistics,
|
||||
exportScholarshipReview,
|
||||
changeReviewStatus,
|
||||
getAvailableReviewers,
|
||||
// 为了与页面中的函数名保持一致,添加别名
|
||||
performReviewAction as approveScholarshipReview
|
||||
} from '../scholarshipReview'
|
||||
|
||||
// 重新导出类型定义
|
||||
export type {
|
||||
ScholarshipReviewQuery,
|
||||
ScholarshipReviewVo,
|
||||
ScholarshipReviewForm,
|
||||
ReviewActionForm,
|
||||
ReviewHistoryQuery,
|
||||
ReviewStatistics
|
||||
} from '../scholarshipReview'
|
||||
@@ -0,0 +1,221 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
export interface ScholarshipApplicationVO {
|
||||
/** 主键ID */
|
||||
id?: string | number;
|
||||
/** 批次ID */
|
||||
batchId?: string | number;
|
||||
/** 批次名称 */
|
||||
batchName?: string;
|
||||
/** 奖学金类型ID */
|
||||
scholarshipTypeId?: string | number;
|
||||
/** 奖学金类型名称 */
|
||||
scholarshipTypeName?: string;
|
||||
/** 申请编号 */
|
||||
applicationNo?: string;
|
||||
/** 学生学号 */
|
||||
studentNo?: string;
|
||||
/** 学生姓名 */
|
||||
studentName?: string;
|
||||
/** 学生ID */
|
||||
studentId?: string | number;
|
||||
/** 学院ID */
|
||||
deptId?: string | number;
|
||||
/** 学院名称 */
|
||||
deptName?: string;
|
||||
/** 专业ID */
|
||||
majorId?: string | number;
|
||||
/** 班级ID */
|
||||
classId?: string | number;
|
||||
/** 班级名称 */
|
||||
className?: string;
|
||||
/** 申请人类型 */
|
||||
applicantType?: string;
|
||||
/** 申请人ID */
|
||||
applicantId?: string | number;
|
||||
/** 申请人姓名 */
|
||||
applicantName?: string;
|
||||
/** 申请类型 */
|
||||
applicationType?: string;
|
||||
/** 申请原因 */
|
||||
applicationReason?: string;
|
||||
/** 申请说明 */
|
||||
applicationDescription?: string;
|
||||
/** 系统计算分数 */
|
||||
calculatedScore?: number;
|
||||
/** 最终评定分数 */
|
||||
finalScore?: number;
|
||||
/** 在院系的排名 */
|
||||
rankingInDept?: number;
|
||||
/** 在专业的排名 */
|
||||
rankingInMajor?: number;
|
||||
/** 状态 */
|
||||
status?: string;
|
||||
/** 提交时间 */
|
||||
submitTime?: string;
|
||||
/** 创建者 */
|
||||
createBy?: string | number;
|
||||
/** 创建时间 */
|
||||
createTime?: string;
|
||||
/** 更新者 */
|
||||
updateBy?: string | number;
|
||||
/** 更新时间 */
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
export interface ScholarshipApplicationForm {
|
||||
/** 主键ID */
|
||||
id?: string | number;
|
||||
/** 批次ID */
|
||||
batchId?: string | number;
|
||||
/** 奖学金类型ID */
|
||||
scholarshipTypeId?: string | number;
|
||||
/** 学生ID列表(班主任勾选) */
|
||||
studentIds?: number[];
|
||||
/** 申请人类型 */
|
||||
applicantType?: string;
|
||||
/** 申请人ID */
|
||||
applicantId?: string | number;
|
||||
/** 申请人姓名 */
|
||||
applicantName?: string;
|
||||
/** 申请类型 */
|
||||
applicationType?: string;
|
||||
/** 申请原因 */
|
||||
applicationReason?: string;
|
||||
/** 申请说明 */
|
||||
applicationDescription?: string;
|
||||
}
|
||||
|
||||
export interface ScholarshipApplicationQuery extends PageQuery {
|
||||
/** 批次ID */
|
||||
batchId?: string | number;
|
||||
/** 奖学金类型ID */
|
||||
scholarshipTypeId?: string | number;
|
||||
/** 学生学号 */
|
||||
studentNo?: string;
|
||||
/** 学生姓名 */
|
||||
studentName?: string;
|
||||
/** 申请人ID */
|
||||
applicantId?: string | number;
|
||||
/** 状态 */
|
||||
status?: string;
|
||||
}
|
||||
|
||||
// 查询奖学金申请记录列表
|
||||
export function listScholarshipApplication(query: ScholarshipApplicationQuery): AxiosPromise<ScholarshipApplicationVO[]> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
// 查询奖学金申请记录详细
|
||||
export function getScholarshipApplication(id: string | number): AxiosPromise<ScholarshipApplicationVO> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
// 新增奖学金申请记录
|
||||
export function addScholarshipApplication(data: ScholarshipApplicationForm) {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 修改奖学金申请记录
|
||||
export function updateScholarshipApplication(data: ScholarshipApplicationForm) {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除奖学金申请记录
|
||||
export function delScholarshipApplication(id: string | number | Array<string | number>) {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/' + id,
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
||||
|
||||
// 导出奖学金申请记录
|
||||
export function exportScholarshipApplication(query: ScholarshipApplicationQuery) {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/export',
|
||||
method: 'post',
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
// ========== 班主任申请专用接口 ==========
|
||||
|
||||
// 获取班主任所带班级信息
|
||||
export function getClassInfoByTeacher(teacherId: string | number): AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/classInfo',
|
||||
method: 'get',
|
||||
params: { teacherId }
|
||||
});
|
||||
}
|
||||
|
||||
// 获取班级学生列表(用于勾选)
|
||||
export function getClassStudents(classId: string | number): AxiosPromise<any[]> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/students',
|
||||
method: 'get',
|
||||
params: { classId }
|
||||
});
|
||||
}
|
||||
|
||||
// 根据批次获取可申请的奖学金类型
|
||||
export function getScholarshipTypesByBatch(batchId: string | number): AxiosPromise<any[]> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/scholarshipTypes',
|
||||
method: 'get',
|
||||
params: { batchId }
|
||||
});
|
||||
}
|
||||
|
||||
// 根据批次和班级获取带名额信息的奖学金类型(班主任专用)
|
||||
export function getScholarshipTypesWithQuota(batchId: string | number, classId: string | number): AxiosPromise<any[]> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/scholarshipTypesWithQuota',
|
||||
method: 'get',
|
||||
params: { batchId, classId }
|
||||
});
|
||||
}
|
||||
|
||||
// 确认选择班级(多班级时用户选择后调用)
|
||||
export function confirmClassSelection(teacherId: string | number, classId: string | number): AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/confirmClass',
|
||||
method: 'post',
|
||||
params: { teacherId, classId }
|
||||
});
|
||||
}
|
||||
|
||||
// 班主任批量申请提交
|
||||
export function batchSubmitByTeacher(
|
||||
batchId: string | number,
|
||||
scholarshipTypeId: string | number,
|
||||
classId: string | number,
|
||||
studentApplications: any[]
|
||||
) {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipApplication/batch',
|
||||
method: 'post',
|
||||
params: {
|
||||
batchId,
|
||||
scholarshipTypeId,
|
||||
classId
|
||||
},
|
||||
data: studentApplications
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,226 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
export interface ScholarshipBatchVO {
|
||||
/** 主键ID */
|
||||
id?: string | number;
|
||||
/** 批次编码 */
|
||||
batchCode?: string;
|
||||
/** 批次名称 */
|
||||
batchName?: string;
|
||||
/** 学年 */
|
||||
academicYear?: string;
|
||||
/** 学期 */
|
||||
semester?: number;
|
||||
/** 批次类型 */
|
||||
batchType?: string;
|
||||
/** 开始时间 */
|
||||
startTime?: string;
|
||||
/** 结束时间 */
|
||||
endTime?: string;
|
||||
/** 申请开始时间 */
|
||||
applyStartTime?: string;
|
||||
/** 申请结束时间 */
|
||||
applyEndTime?: string;
|
||||
/** 审核开始时间 */
|
||||
reviewStartTime?: string;
|
||||
/** 审核结束时间 */
|
||||
reviewEndTime?: string;
|
||||
/** 状态 */
|
||||
status?: string;
|
||||
/** 批次描述 */
|
||||
description?: string;
|
||||
/** 通知内容 */
|
||||
noticeContent?: string;
|
||||
/** 关联的奖学金类型ID列表 */
|
||||
scholarshipTypeIds?: Array<string | number>;
|
||||
/** 创建者 */
|
||||
createBy?: number;
|
||||
/** 创建时间 */
|
||||
createTime?: string;
|
||||
/** 更新者 */
|
||||
updateBy?: number;
|
||||
/** 更新时间 */
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
export interface ScholarshipBatchForm {
|
||||
/** 主键ID */
|
||||
id?: string | number;
|
||||
/** 批次编码 */
|
||||
batchCode?: string;
|
||||
/** 批次名称 */
|
||||
batchName?: string;
|
||||
/** 学年 */
|
||||
academicYear?: string;
|
||||
/** 学期 */
|
||||
semester?: number;
|
||||
/** 批次类型 */
|
||||
batchType?: string;
|
||||
/** 开始时间 */
|
||||
startTime?: string;
|
||||
/** 结束时间 */
|
||||
endTime?: string;
|
||||
/** 申请开始时间 */
|
||||
applyStartTime?: string;
|
||||
/** 申请结束时间 */
|
||||
applyEndTime?: string;
|
||||
/** 审核开始时间 */
|
||||
reviewStartTime?: string;
|
||||
/** 审核结束时间 */
|
||||
reviewEndTime?: string;
|
||||
/** 状态 */
|
||||
status?: string;
|
||||
/** 批次描述 */
|
||||
description?: string;
|
||||
/** 通知内容 */
|
||||
noticeContent?: string;
|
||||
/** 关联的奖学金类型ID列表 */
|
||||
scholarshipTypeIds?: Array<string | number>;
|
||||
}
|
||||
|
||||
export interface ScholarshipBatchQuery extends PageQuery {
|
||||
/** 批次编码 */
|
||||
batchCode?: string;
|
||||
/** 批次名称 */
|
||||
batchName?: string;
|
||||
/** 学年 */
|
||||
academicYear?: string;
|
||||
/** 学期 */
|
||||
semester?: number;
|
||||
/** 批次类型 */
|
||||
batchType?: string;
|
||||
/** 状态 */
|
||||
status?: string;
|
||||
/** 创建时间 */
|
||||
createTime?: string;
|
||||
}
|
||||
|
||||
// 查询奖学金评定批次列表
|
||||
export function listScholarshipBatch(query: ScholarshipBatchQuery): AxiosPromise<ScholarshipBatchVO[]> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
// 查询奖学金评定批次详细
|
||||
export function getScholarshipBatch(id: string | number): AxiosPromise<ScholarshipBatchVO> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
// 新增奖学金评定批次
|
||||
export function addScholarshipBatch(data: ScholarshipBatchForm) {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 修改奖学金评定批次
|
||||
export function updateScholarshipBatch(data: ScholarshipBatchForm) {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除奖学金评定批次
|
||||
export function delScholarshipBatch(id: string | number | Array<string | number>) {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/' + id,
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
||||
|
||||
// 导出奖学金评定批次
|
||||
export function exportScholarshipBatch(query: ScholarshipBatchQuery) {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/export',
|
||||
method: 'post',
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
// 根据批次编码查询批次信息
|
||||
export function getScholarshipBatchByCode(batchCode: string): AxiosPromise<ScholarshipBatchVO> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/getByCode/' + batchCode,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
// 根据学年和学期查询批次列表
|
||||
export function getScholarshipBatchByAcademicYear(academicYear: string, semester?: number): AxiosPromise<ScholarshipBatchVO[]> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/getByAcademicYear',
|
||||
method: 'get',
|
||||
params: {
|
||||
academicYear,
|
||||
semester
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 查询启用状态的批次列表
|
||||
export function getActiveBatches(): AxiosPromise<ScholarshipBatchVO[]> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/getActiveBatches',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
// 检查批次编码是否唯一
|
||||
export function checkBatchCodeUnique(batchCode: string, id?: string | number): AxiosPromise<boolean> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/checkBatchCodeUnique',
|
||||
method: 'get',
|
||||
params: {
|
||||
batchCode,
|
||||
id
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 更改批次状态
|
||||
export function changeScholarshipBatchStatus(id: string | number, status: string) {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/changeStatus',
|
||||
method: 'put',
|
||||
params: {
|
||||
id,
|
||||
status
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 查询当前进行中的批次
|
||||
export function getCurrentActiveBatches(): AxiosPromise<ScholarshipBatchVO[]> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/getCurrentActiveBatches',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
// 根据状态查询批次列表
|
||||
export function getScholarshipBatchByStatus(status: string): AxiosPromise<ScholarshipBatchVO[]> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/getByStatus/' + status,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
// 检查批次时间是否有冲突
|
||||
export function checkTimeConflict(data: ScholarshipBatchForm): AxiosPromise<boolean> {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipBatch/checkTimeConflict',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,217 @@
|
||||
import request from '@/utils/request';
|
||||
|
||||
// 奖学金名额分配查询参数类型
|
||||
export interface ScholarshipQuotaQuery extends PageQuery {
|
||||
batchId?: number;
|
||||
scholarshipTypeId?: number;
|
||||
allocationLevel?: string;
|
||||
targetDeptId?: number;
|
||||
status?: string;
|
||||
isLocked?: number;
|
||||
}
|
||||
|
||||
// 奖学金名额分配对象类型
|
||||
export interface ScholarshipQuotaVO {
|
||||
id?: number;
|
||||
batchId: number;
|
||||
batchName?: string;
|
||||
scholarshipTypeId: number;
|
||||
scholarshipTypeName?: string;
|
||||
allocationLevel: string;
|
||||
targetDeptId: number;
|
||||
targetDeptName?: string;
|
||||
parentQuotaId?: number;
|
||||
totalQuota: number;
|
||||
usedQuota?: number;
|
||||
availableQuota?: number;
|
||||
reservedQuota?: number;
|
||||
allocationRule?: string;
|
||||
allocationBasis?: string;
|
||||
allocationMethod?: string;
|
||||
isAdjustable?: number;
|
||||
isLocked?: number;
|
||||
status?: string;
|
||||
remark?: string;
|
||||
createBy?: number;
|
||||
createTime?: string;
|
||||
updateBy?: number;
|
||||
updateTime?: string;
|
||||
children?: ScholarshipQuotaVO[];
|
||||
}
|
||||
|
||||
// 奖学金名额分配表单类型
|
||||
export interface ScholarshipQuotaForm {
|
||||
id?: number;
|
||||
batchId: number;
|
||||
scholarshipTypeId: number;
|
||||
allocationLevel: string;
|
||||
targetDeptId: number;
|
||||
parentQuotaId?: number;
|
||||
totalQuota: number;
|
||||
usedQuota?: number;
|
||||
reservedQuota?: number;
|
||||
allocationRule?: string;
|
||||
allocationBasis?: string;
|
||||
allocationMethod?: string;
|
||||
isAdjustable?: number;
|
||||
status?: string;
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
// 名额使用统计类型
|
||||
export interface QuotaStatistics {
|
||||
totalQuota: number;
|
||||
usedQuota: number;
|
||||
availableQuota: number;
|
||||
usageRate: number;
|
||||
allocationCount: number;
|
||||
}
|
||||
|
||||
// 批量分配名额类型
|
||||
export interface BatchAllocateQuota {
|
||||
allocationLevel: string;
|
||||
targetDeptId: number;
|
||||
totalQuota: number;
|
||||
allocationBasis?: string;
|
||||
}
|
||||
|
||||
// 查询奖学金名额分配列表
|
||||
export const listScholarshipQuota = (query: ScholarshipQuotaQuery) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipQuota/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
// 按批次查询名额分配
|
||||
export const listScholarshipQuotaByBatch = (batchId: number) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipQuota/listByBatch/${batchId}`,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
// 按批次和类型查询名额分配
|
||||
export const listScholarshipQuotaByBatchAndType = (batchId: number, scholarshipTypeId: number) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipQuota/listByBatchAndType',
|
||||
method: 'get',
|
||||
params: { batchId, scholarshipTypeId }
|
||||
});
|
||||
};
|
||||
|
||||
// 查询名额分配树形结构
|
||||
export const getScholarshipQuotaTree = (batchId: number, scholarshipTypeId?: number) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipQuota/tree',
|
||||
method: 'get',
|
||||
params: { batchId, scholarshipTypeId }
|
||||
});
|
||||
};
|
||||
|
||||
// 查询名额使用统计
|
||||
export const getScholarshipQuotaStatistics = (batchId: number) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipQuota/statistics/${batchId}`,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
// 查询奖学金名额分配详细
|
||||
export const getScholarshipQuota = (id: number) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipQuota/${id}`,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
// 新增奖学金名额分配
|
||||
export const addScholarshipQuota = (data: ScholarshipQuotaForm) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipQuota',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
// 修改奖学金名额分配
|
||||
export const updateScholarshipQuota = (data: ScholarshipQuotaForm) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipQuota',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
// 删除奖学金名额分配
|
||||
export const delScholarshipQuota = (ids: string | number) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipQuota/${ids}`,
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
||||
|
||||
// 导出奖学金名额分配
|
||||
export const exportScholarshipQuota = (query: ScholarshipQuotaQuery) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipQuota/export',
|
||||
method: 'post',
|
||||
data: query
|
||||
});
|
||||
};
|
||||
|
||||
// 批量分配名额
|
||||
export const batchAllocateQuota = (batchId: number, scholarshipTypeId: number, data: BatchAllocateQuota[]) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipQuota/batchAllocate',
|
||||
method: 'post',
|
||||
params: { batchId, scholarshipTypeId },
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
// 调整名额分配
|
||||
export const adjustQuota = (fromQuotaId: number, toQuotaId: number, adjustAmount: number, reason: string) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipQuota/adjust',
|
||||
method: 'post',
|
||||
params: { fromQuotaId, toQuotaId, adjustAmount, reason }
|
||||
});
|
||||
};
|
||||
|
||||
// 锁定/解锁名额分配
|
||||
export const lockScholarshipQuota = (id: number, isLocked: number) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipQuota/lock/${id}`,
|
||||
method: 'put',
|
||||
params: { isLocked }
|
||||
});
|
||||
};
|
||||
|
||||
// 自动分配名额
|
||||
export const autoAllocateQuota = (batchId: number, scholarshipTypeId: number, allocationRule: string) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipQuota/autoAllocate',
|
||||
method: 'post',
|
||||
params: { batchId, scholarshipTypeId, allocationRule }
|
||||
});
|
||||
};
|
||||
|
||||
// 复制名额分配
|
||||
export const copyScholarshipQuota = (sourceBatchId: number, targetBatchId: number) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipQuota/copy',
|
||||
method: 'post',
|
||||
params: { sourceBatchId, targetBatchId }
|
||||
});
|
||||
};
|
||||
|
||||
// 更新名额使用
|
||||
export const updateQuotaUsage = (id: number, usedQuota: number) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipQuota/updateUsage/${id}`,
|
||||
method: 'put',
|
||||
params: { usedQuota }
|
||||
});
|
||||
};
|
||||
@@ -0,0 +1,223 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
// 审核记录查询参数
|
||||
export interface ScholarshipReviewQuery {
|
||||
pageNum?: number;
|
||||
pageSize?: number;
|
||||
orderNo?: string;
|
||||
applicantName?: string;
|
||||
scholarshipType?: string;
|
||||
auditLevel?: string;
|
||||
auditStatus?: string;
|
||||
reviewerId?: number;
|
||||
reviewerName?: string;
|
||||
reviewTimeBegin?: string;
|
||||
reviewTimeEnd?: string;
|
||||
batchId?: number;
|
||||
}
|
||||
|
||||
// 审核记录VO
|
||||
export interface ScholarshipReviewVo {
|
||||
id: number;
|
||||
reviewId: string;
|
||||
orderNo: string;
|
||||
applicationId: number;
|
||||
applicantId: number;
|
||||
applicantName: string;
|
||||
scholarshipType: string;
|
||||
auditLevel: string;
|
||||
auditStatus: string;
|
||||
reviewerId: number;
|
||||
reviewerName: string;
|
||||
reviewTime: string;
|
||||
reviewComment: string;
|
||||
attachments: string;
|
||||
nextReviewerId: number;
|
||||
nextReviewerName: string;
|
||||
isActive: number;
|
||||
createBy: number;
|
||||
createTime: string;
|
||||
updateBy: number;
|
||||
updateTime: string;
|
||||
}
|
||||
|
||||
// 审核表单
|
||||
export interface ScholarshipReviewForm {
|
||||
id?: number;
|
||||
reviewId?: string;
|
||||
orderNo?: string;
|
||||
applicationId?: number;
|
||||
applicantId?: number;
|
||||
applicantName?: string;
|
||||
scholarshipType?: string;
|
||||
auditLevel?: string;
|
||||
auditStatus?: string;
|
||||
reviewerId?: number;
|
||||
reviewerName?: string;
|
||||
reviewTime?: string;
|
||||
reviewComment?: string;
|
||||
attachments?: string;
|
||||
nextReviewerId?: number;
|
||||
nextReviewerName?: string;
|
||||
isActive?: number;
|
||||
}
|
||||
|
||||
// 审核操作表单
|
||||
export interface ReviewActionForm {
|
||||
reviewId: string;
|
||||
action: 'approve' | 'reject' | 'return';
|
||||
reviewComment?: string;
|
||||
nextReviewerId?: number;
|
||||
}
|
||||
|
||||
// 审核历史查询参数
|
||||
export interface ReviewHistoryQuery {
|
||||
pageNum?: number;
|
||||
pageSize?: number;
|
||||
orderNo?: string;
|
||||
applicantName?: string;
|
||||
reviewResult?: string;
|
||||
reviewTimeBegin?: string;
|
||||
reviewTimeEnd?: string;
|
||||
batchId?: number;
|
||||
}
|
||||
|
||||
// 审核统计响应
|
||||
export interface ReviewStatistics {
|
||||
pendingReview: number;
|
||||
approved: number;
|
||||
rejected: number;
|
||||
returned: number;
|
||||
}
|
||||
|
||||
// 查询审核记录列表
|
||||
export function listScholarshipReview(query: ScholarshipReviewQuery): AxiosPromise<ScholarshipReviewVo[]> {
|
||||
return request({
|
||||
url: '/jcbt/review/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
// 查询审核记录详细
|
||||
export function getScholarshipReview(id: string | number): AxiosPromise<ScholarshipReviewVo> {
|
||||
return request({
|
||||
url: '/jcbt/review/' + id,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
// 新增审核记录
|
||||
export function addScholarshipReview(data: ScholarshipReviewForm): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/review',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 修改审核记录
|
||||
export function updateScholarshipReview(data: ScholarshipReviewForm): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/review',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 删除审核记录
|
||||
export function delScholarshipReview(id: string | number | Array<string | number>): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/review/' + id,
|
||||
method: 'delete'
|
||||
});
|
||||
}
|
||||
|
||||
// 我的审核任务
|
||||
export function getMyReviewTasks(query: ScholarshipReviewQuery): AxiosPromise<ScholarshipReviewVo[]> {
|
||||
return request({
|
||||
url: '/jcbt/review/myTasks',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
// 待我审核的列表
|
||||
export function getPendingReviews(query: ScholarshipReviewQuery): AxiosPromise<ScholarshipReviewVo[]> {
|
||||
return request({
|
||||
url: '/jcbt/review/pending',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
// 审核历史
|
||||
export function getReviewHistory(query: ReviewHistoryQuery): AxiosPromise<ScholarshipReviewVo[]> {
|
||||
return request({
|
||||
url: '/jcbt/review/history',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
|
||||
// 执行审核操作
|
||||
export function performReviewAction(data: ReviewActionForm): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/review/action',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
}
|
||||
|
||||
// 批量审核通过
|
||||
export function batchApprove(reviewIds: string[], reviewComment?: string): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/review/batchApprove',
|
||||
method: 'post',
|
||||
data: { reviewIds, reviewComment }
|
||||
});
|
||||
}
|
||||
|
||||
// 审核规则检查
|
||||
export function checkReviewRules(applicationId: number): AxiosPromise<any> {
|
||||
return request({
|
||||
url: '/jcbt/review/checkRules/' + applicationId,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
// 获取审核统计数据
|
||||
export function getReviewStatistics(): AxiosPromise<ReviewStatistics> {
|
||||
return request({
|
||||
url: '/jcbt/review/statistics',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
// 导出审核记录
|
||||
export function exportScholarshipReview(query: ScholarshipReviewQuery): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/review/export',
|
||||
method: 'post',
|
||||
data: query
|
||||
});
|
||||
}
|
||||
|
||||
// 启用/禁用审核记录
|
||||
export function changeReviewStatus(id: number, status: number): AxiosPromise<void> {
|
||||
return request({
|
||||
url: '/jcbt/review/changeStatus',
|
||||
method: 'put',
|
||||
data: { id, status }
|
||||
});
|
||||
}
|
||||
|
||||
// 获取可分配的审核人员
|
||||
export function getAvailableReviewers(auditLevel: string): AxiosPromise<any[]> {
|
||||
return request({
|
||||
url: '/jcbt/review/reviewers/' + auditLevel,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
@@ -0,0 +1,331 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
export interface ScholarshipTypeVO {
|
||||
/** 主键ID */
|
||||
id?: string | number;
|
||||
/** 奖学金类型编码 */
|
||||
typeCode?: string;
|
||||
/** 奖学金名称 */
|
||||
typeName?: string;
|
||||
/** 奖学金类别 */
|
||||
typeCategory?: string;
|
||||
/** 奖学金等级 */
|
||||
levelType?: string;
|
||||
/** 奖励金额 */
|
||||
awardAmount?: number;
|
||||
/** 奖学金描述 */
|
||||
description?: string;
|
||||
/** 申请指南 */
|
||||
applicationGuide?: string;
|
||||
/** 兼得类型 */
|
||||
compatibilityType?: string;
|
||||
/** 排序号 */
|
||||
sortOrder?: number;
|
||||
/** 状态 */
|
||||
status?: number;
|
||||
/** 是否系统内置 */
|
||||
isSystem?: number;
|
||||
/** 创建者 */
|
||||
createBy?: number;
|
||||
/** 创建时间 */
|
||||
createTime?: string;
|
||||
/** 更新者 */
|
||||
updateBy?: number;
|
||||
/** 更新时间 */
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
export interface ScholarshipTypeForm {
|
||||
/** 主键ID */
|
||||
id?: string | number;
|
||||
/** 奖学金类型编码 */
|
||||
typeCode?: string;
|
||||
/** 奖学金名称 */
|
||||
typeName?: string;
|
||||
/** 奖学金类别 */
|
||||
typeCategory?: string;
|
||||
/** 奖学金等级 */
|
||||
levelType?: string;
|
||||
/** 奖励金额 */
|
||||
awardAmount?: number;
|
||||
/** 奖学金描述 */
|
||||
description?: string;
|
||||
/** 申请指南 */
|
||||
applicationGuide?: string;
|
||||
/** 兼得类型 */
|
||||
compatibilityType?: string;
|
||||
/** 排序号 */
|
||||
sortOrder?: number;
|
||||
/** 状态 */
|
||||
status?: number;
|
||||
/** 是否系统内置 */
|
||||
isSystem?: number;
|
||||
/** 自定义互斥类型ID列表 */
|
||||
exclusiveTypeIds?: Array<string | number>;
|
||||
}
|
||||
|
||||
export interface ScholarshipTypeQuery {
|
||||
/** 当前页码 */
|
||||
pageNum?: number;
|
||||
/** 每页显示记录数 */
|
||||
pageSize?: number;
|
||||
/** 奖学金类型编码 */
|
||||
typeCode?: string;
|
||||
/** 奖学金名称 */
|
||||
typeName?: string;
|
||||
/** 奖学金类别 */
|
||||
typeCategory?: string;
|
||||
/** 奖学金等级 */
|
||||
levelType?: string;
|
||||
/** 兼得类型 */
|
||||
compatibilityType?: string;
|
||||
/** 状态 */
|
||||
status?: number;
|
||||
/** 是否系统内置 */
|
||||
isSystem?: number;
|
||||
/** 创建时间范围 */
|
||||
params?: {
|
||||
beginCreateTime?: string;
|
||||
endCreateTime?: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ScholarshipTypeOption {
|
||||
/** 选项值 */
|
||||
value?: string | number;
|
||||
/** 选项标签 */
|
||||
label?: string;
|
||||
/** 扩展数据 */
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询奖学金类型列表
|
||||
* @param query 查询参数
|
||||
*/
|
||||
export const listScholarshipType = (query?: ScholarshipTypeQuery): AxiosPromise<ScholarshipTypeVO[]> => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipType/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询奖学金类型详细信息
|
||||
* @param id 奖学金类型ID
|
||||
*/
|
||||
export const getScholarshipType = (id: string | number): AxiosPromise<ScholarshipTypeVO> => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipType/${id}`,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 新增奖学金类型
|
||||
* @param data 奖学金类型数据
|
||||
*/
|
||||
export const addScholarshipType = (data: ScholarshipTypeForm) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipType',
|
||||
method: 'post',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 修改奖学金类型
|
||||
* @param data 奖学金类型数据
|
||||
*/
|
||||
export const updateScholarshipType = (data: ScholarshipTypeForm) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipType',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 删除奖学金类型
|
||||
* @param id 奖学金类型ID
|
||||
*/
|
||||
export const delScholarshipType = (id: string | number | Array<string | number>) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipType/${id}`,
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 导出奖学金类型数据
|
||||
* @param query 查询参数
|
||||
*/
|
||||
export const exportScholarshipType = (query?: ScholarshipTypeQuery) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipType/export',
|
||||
method: 'post',
|
||||
data: query
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 根据名称查询奖学金类型
|
||||
* @param typeName 奖学金名称
|
||||
*/
|
||||
export const getScholarshipTypeByName = (typeName: string): AxiosPromise<ScholarshipTypeVO> => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipType/getByName/${typeName}`,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 根据类别查询奖学金类型
|
||||
* @param typeCategory 奖学金类别
|
||||
*/
|
||||
export const getScholarshipTypeByCategory = (typeCategory: string): AxiosPromise<ScholarshipTypeVO[]> => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipType/getByCategory/${typeCategory}`,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 查询启用状态的奖学金类型
|
||||
*/
|
||||
export const getActiveScholarshipTypes = (): AxiosPromise<ScholarshipTypeVO[]> => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipType/getActiveTypes',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 根据兼得类型查询奖学金类型
|
||||
* @param compatibilityType 兼得类型
|
||||
*/
|
||||
export const getScholarshipTypeByCompatibilityType = (compatibilityType: string): AxiosPromise<ScholarshipTypeVO[]> => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipType/getByCompatibilityType/${compatibilityType}`,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 检查奖学金名称是否唯一
|
||||
* @param typeName 奖学金名称
|
||||
* @param id 排除的ID
|
||||
*/
|
||||
export const checkScholarshipTypeNameUnique = (typeName: string, id?: string | number) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipType/checkTypeNameUnique',
|
||||
method: 'get',
|
||||
params: { typeName, id }
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 批量更新排序号
|
||||
* @param data 排序数据
|
||||
*/
|
||||
export const batchUpdateSort = (data: Array<{ id: string | number; sortOrder: number }>) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipType/batchUpdateSort',
|
||||
method: 'put',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 启用/停用奖学金类型
|
||||
* @param id 奖学金类型ID
|
||||
* @param status 状态
|
||||
*/
|
||||
export const changeScholarshipTypeStatus = (id: string | number, status: number) => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipType/changeStatus',
|
||||
method: 'put',
|
||||
params: { id, status }
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取奖学金类型选项列表
|
||||
*/
|
||||
export const getScholarshipTypeOptions = (): AxiosPromise<ScholarshipTypeOption[]> => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipType/options',
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
// 兼得关系配置相关接口
|
||||
|
||||
export interface CompatibilityConfig {
|
||||
/** 所有可配置的奖学金类型 */
|
||||
allTypes?: ScholarshipTypeVO[];
|
||||
/** 互斥的奖学金类型ID列表 */
|
||||
exclusiveTypeIds?: number[];
|
||||
/** 兼容的奖学金类型ID列表 */
|
||||
compatibleTypeIds?: number[];
|
||||
/** 互斥的奖学金类型详细信息(包含名称) */
|
||||
exclusiveTypes?: ScholarshipTypeVO[];
|
||||
/** 兼容的奖学金类型详细信息(包含名称) */
|
||||
compatibleTypes?: ScholarshipTypeVO[];
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取奖学金类型的兼得关系配置
|
||||
* @param id 奖学金类型ID
|
||||
*/
|
||||
export const getCompatibilityConfig = (id: string | number): AxiosPromise<CompatibilityConfig> => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipType/${id}/compatibility`,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 保存奖学金类型的兼得关系配置
|
||||
* @param id 奖学金类型ID
|
||||
* @param config 配置数据
|
||||
*/
|
||||
export const saveCompatibilityConfig = (
|
||||
id: string | number,
|
||||
config: {
|
||||
exclusiveTypeIds?: number[];
|
||||
compatibleTypeIds?: number[];
|
||||
}
|
||||
) => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipType/${id}/compatibility`,
|
||||
method: 'post',
|
||||
data: config
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 检查两个奖学金类型是否兼容
|
||||
* @param typeId1 奖学金类型1
|
||||
* @param typeId2 奖学金类型2
|
||||
*/
|
||||
export const checkCompatibility = (typeId1: string | number, typeId2: string | number): AxiosPromise<boolean> => {
|
||||
return request({
|
||||
url: '/jcbt/scholarshipType/checkCompatibility',
|
||||
method: 'get',
|
||||
params: { typeId1, typeId2 }
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取可与指定奖学金兼得的奖学金类型列表
|
||||
* @param id 奖学金类型ID
|
||||
*/
|
||||
export const getCompatibleTypes = (id: string | number): AxiosPromise<ScholarshipTypeVO[]> => {
|
||||
return request({
|
||||
url: `/jcbt/scholarshipType/${id}/compatibleTypes`,
|
||||
method: 'get'
|
||||
});
|
||||
};
|
||||
@@ -0,0 +1,503 @@
|
||||
/**
|
||||
* 奖学金申请模块 - 类型定义
|
||||
*/
|
||||
|
||||
/**
|
||||
* 奖学金申请记录 VO
|
||||
*/
|
||||
export interface ScholarshipApplicationVO {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 租户编号
|
||||
*/
|
||||
tenantId: string;
|
||||
|
||||
/**
|
||||
* 学年
|
||||
*/
|
||||
academicYear: string;
|
||||
|
||||
/**
|
||||
* 学期
|
||||
*/
|
||||
semester: string;
|
||||
|
||||
/**
|
||||
* 奖学金类型
|
||||
*/
|
||||
scholarshipType: string;
|
||||
|
||||
/**
|
||||
* 奖学金等级
|
||||
*/
|
||||
scholarshipLevel: string;
|
||||
|
||||
/**
|
||||
* 奖学金金额
|
||||
*/
|
||||
amount?: number;
|
||||
|
||||
/**
|
||||
* 学生学号
|
||||
*/
|
||||
studentId: string;
|
||||
|
||||
/**
|
||||
* 学生姓名
|
||||
*/
|
||||
studentName: string;
|
||||
|
||||
/**
|
||||
* 学生性别
|
||||
*/
|
||||
studentGender?: string;
|
||||
|
||||
/**
|
||||
* 学生联系方式
|
||||
*/
|
||||
studentPhone?: string;
|
||||
|
||||
/**
|
||||
* 学生邮箱
|
||||
*/
|
||||
studentEmail?: string;
|
||||
|
||||
/**
|
||||
* 学院名称
|
||||
*/
|
||||
collegeName?: string;
|
||||
|
||||
/**
|
||||
* 专业名称
|
||||
*/
|
||||
majorName?: string;
|
||||
|
||||
/**
|
||||
* 班级名称
|
||||
*/
|
||||
className?: string;
|
||||
|
||||
/**
|
||||
* 年级
|
||||
*/
|
||||
grade?: string;
|
||||
|
||||
/**
|
||||
* 学业成绩排名
|
||||
*/
|
||||
academicRanking?: number;
|
||||
|
||||
/**
|
||||
* 综合测评排名
|
||||
*/
|
||||
comprehensiveRanking?: number;
|
||||
|
||||
/**
|
||||
* 申请理由
|
||||
*/
|
||||
applicationReason?: string;
|
||||
|
||||
/**
|
||||
* 申请状态:draft-草稿,submitted-已提交,approved-已通过,rejected-已驳回
|
||||
*/
|
||||
applicationStatus: string;
|
||||
|
||||
/**
|
||||
* 申请时间
|
||||
*/
|
||||
applicationTime?: string;
|
||||
|
||||
/**
|
||||
* 审核人ID
|
||||
*/
|
||||
auditUserId?: string | number;
|
||||
|
||||
/**
|
||||
* 审核人姓名
|
||||
*/
|
||||
auditUserName?: string;
|
||||
|
||||
/**
|
||||
* 审核时间
|
||||
*/
|
||||
auditTime?: string;
|
||||
|
||||
/**
|
||||
* 审核备注
|
||||
*/
|
||||
auditRemark?: string;
|
||||
|
||||
/**
|
||||
* 审核状态:pending-待审核,approved-已通过,rejected-已驳回
|
||||
*/
|
||||
auditStatus?: string;
|
||||
|
||||
/**
|
||||
* 是否获奖:0-否,1-是
|
||||
*/
|
||||
isAwarded?: string;
|
||||
|
||||
/**
|
||||
* 获奖时间
|
||||
*/
|
||||
awardTime?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createBy?: string | number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 更新人
|
||||
*/
|
||||
updateBy?: string | number;
|
||||
|
||||
/**
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 奖学金申请记录表单类型
|
||||
*/
|
||||
export interface ScholarshipApplicationForm {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 学年
|
||||
*/
|
||||
academicYear: string;
|
||||
|
||||
/**
|
||||
* 学期
|
||||
*/
|
||||
semester: string;
|
||||
|
||||
/**
|
||||
* 奖学金类型
|
||||
*/
|
||||
scholarshipType: string;
|
||||
|
||||
/**
|
||||
* 奖学金等级
|
||||
*/
|
||||
scholarshipLevel: string;
|
||||
|
||||
/**
|
||||
* 奖学金金额
|
||||
*/
|
||||
amount?: number;
|
||||
|
||||
/**
|
||||
* 学生学号
|
||||
*/
|
||||
studentId: string;
|
||||
|
||||
/**
|
||||
* 学生姓名
|
||||
*/
|
||||
studentName: string;
|
||||
|
||||
/**
|
||||
* 学生性别
|
||||
*/
|
||||
studentGender?: string;
|
||||
|
||||
/**
|
||||
* 学生联系方式
|
||||
*/
|
||||
studentPhone?: string;
|
||||
|
||||
/**
|
||||
* 学生邮箱
|
||||
*/
|
||||
studentEmail?: string;
|
||||
|
||||
/**
|
||||
* 学院名称
|
||||
*/
|
||||
collegeName?: string;
|
||||
|
||||
/**
|
||||
* 专业名称
|
||||
*/
|
||||
majorName?: string;
|
||||
|
||||
/**
|
||||
* 班级名称
|
||||
*/
|
||||
className?: string;
|
||||
|
||||
/**
|
||||
* 年级
|
||||
*/
|
||||
grade?: string;
|
||||
|
||||
/**
|
||||
* 学业成绩排名
|
||||
*/
|
||||
academicRanking?: number;
|
||||
|
||||
/**
|
||||
* 综合测评排名
|
||||
*/
|
||||
comprehensiveRanking?: number;
|
||||
|
||||
/**
|
||||
* 申请理由
|
||||
*/
|
||||
applicationReason?: string;
|
||||
|
||||
/**
|
||||
* 申请状态
|
||||
*/
|
||||
applicationStatus?: string;
|
||||
|
||||
/**
|
||||
* 审核备注
|
||||
*/
|
||||
auditRemark?: string;
|
||||
|
||||
/**
|
||||
* 是否获奖
|
||||
*/
|
||||
isAwarded?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 奖学金申请记录查询参数
|
||||
*/
|
||||
export interface ScholarshipApplicationQuery extends PageQuery {
|
||||
/**
|
||||
* 学年
|
||||
*/
|
||||
academicYear?: string;
|
||||
|
||||
/**
|
||||
* 学期
|
||||
*/
|
||||
semester?: string;
|
||||
|
||||
/**
|
||||
* 奖学金类型
|
||||
*/
|
||||
scholarshipType?: string;
|
||||
|
||||
/**
|
||||
* 奖学金等级
|
||||
*/
|
||||
scholarshipLevel?: string;
|
||||
|
||||
/**
|
||||
* 学生学号
|
||||
*/
|
||||
studentId?: string;
|
||||
|
||||
/**
|
||||
* 学生姓名
|
||||
*/
|
||||
studentName?: string;
|
||||
|
||||
/**
|
||||
* 学院名称
|
||||
*/
|
||||
collegeName?: string;
|
||||
|
||||
/**
|
||||
* 专业名称
|
||||
*/
|
||||
majorName?: string;
|
||||
|
||||
/**
|
||||
* 班级名称
|
||||
*/
|
||||
className?: string;
|
||||
|
||||
/**
|
||||
* 申请状态
|
||||
*/
|
||||
applicationStatus?: string;
|
||||
|
||||
/**
|
||||
* 审核状态
|
||||
*/
|
||||
auditStatus?: string;
|
||||
|
||||
/**
|
||||
* 是否获奖
|
||||
*/
|
||||
isAwarded?: string;
|
||||
|
||||
/**
|
||||
* 申请时间范围
|
||||
*/
|
||||
applicationTimeRange?: string[];
|
||||
|
||||
/**
|
||||
* 审核时间范围
|
||||
*/
|
||||
auditTimeRange?: string[];
|
||||
|
||||
/**
|
||||
* 获奖时间范围
|
||||
*/
|
||||
awardTimeRange?: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
* 班级奖学金名额 VO
|
||||
*/
|
||||
export interface ScholarshipClassQuotaVO {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 学年
|
||||
*/
|
||||
academicYear: string;
|
||||
|
||||
/**
|
||||
* 学期
|
||||
*/
|
||||
semester: string;
|
||||
|
||||
/**
|
||||
* 奖学金类型
|
||||
*/
|
||||
scholarshipType: string;
|
||||
|
||||
/**
|
||||
* 奖学金等级
|
||||
*/
|
||||
scholarshipLevel: string;
|
||||
|
||||
/**
|
||||
* 学院名称
|
||||
*/
|
||||
collegeName: string;
|
||||
|
||||
/**
|
||||
* 专业名称
|
||||
*/
|
||||
majorName: string;
|
||||
|
||||
/**
|
||||
* 班级名称
|
||||
*/
|
||||
className: string;
|
||||
|
||||
/**
|
||||
* 分配名额
|
||||
*/
|
||||
quotaCount: number;
|
||||
|
||||
/**
|
||||
* 已申请名额
|
||||
*/
|
||||
appliedCount?: number;
|
||||
|
||||
/**
|
||||
* 已获奖名额
|
||||
*/
|
||||
awardedCount?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 奖学金附件 VO
|
||||
*/
|
||||
export interface ScholarshipAttachmentVO {
|
||||
/**
|
||||
* 主键ID
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 申请记录ID
|
||||
*/
|
||||
applicationId: string | number;
|
||||
|
||||
/**
|
||||
* 附件类型
|
||||
*/
|
||||
attachmentType: string;
|
||||
|
||||
/**
|
||||
* 文件名称
|
||||
*/
|
||||
fileName: string;
|
||||
|
||||
/**
|
||||
* 文件路径
|
||||
*/
|
||||
filePath: string;
|
||||
|
||||
/**
|
||||
* 文件大小
|
||||
*/
|
||||
fileSize?: number;
|
||||
|
||||
/**
|
||||
* 上传时间
|
||||
*/
|
||||
uploadTime?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 分页查询基础接口
|
||||
*/
|
||||
export interface PageQuery {
|
||||
/**
|
||||
* 当前页码
|
||||
*/
|
||||
pageNum?: number;
|
||||
|
||||
/**
|
||||
* 每页显示记录数
|
||||
*/
|
||||
pageSize?: number;
|
||||
|
||||
/**
|
||||
* 排序字段
|
||||
*/
|
||||
orderByColumn?: string;
|
||||
|
||||
/**
|
||||
* 排序方向
|
||||
*/
|
||||
isAsc?: string;
|
||||
}
|
||||
Reference in new issue
Block a user