wuzhen update
This commit is contained in:
1 parent
e06d8fca2c
commit
9b7a6e2103
138 files changed
+29581
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,192 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
export interface ScholarshipApplicationVO {
|
||||
/** 主键ID */
|
||||
id?: string | number;
|
||||
/** 批次ID */
|
||||
batchId?: string | number;
|
||||
/** 奖学金类型ID */
|
||||
scholarshipTypeId?: string | number;
|
||||
/** 学生学号 */
|
||||
studentCode?: string;
|
||||
/** 学生姓名 */
|
||||
studentName?: string;
|
||||
/** 学生ID */
|
||||
studentId?: string | number;
|
||||
/** 学院ID */
|
||||
deptId?: string | number;
|
||||
/** 学院名称 */
|
||||
deptName?: string;
|
||||
/** 班级ID */
|
||||
classId?: string | number;
|
||||
/** 班级名称 */
|
||||
className?: string;
|
||||
/** 申请人类型 */
|
||||
applicantType?: string;
|
||||
/** 申请人ID */
|
||||
applicantId?: string | number;
|
||||
/** 申请人姓名 */
|
||||
applicantName?: string;
|
||||
/** 申请类型 */
|
||||
applicationType?: string;
|
||||
/** 申请原因 */
|
||||
applicationReason?: string;
|
||||
/** 申请说明 */
|
||||
applicationDescription?: string;
|
||||
/** 状态 */
|
||||
status?: string;
|
||||
/** 创建时间 */
|
||||
createTime?: 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;
|
||||
/** 学生学号 */
|
||||
studentCode?: 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,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