This commit is contained in:
weizhong committed 2025-08-22 14:58:23 +08:00
commit 0c0bf72f46
208 files changed
+33841 -2031

No files matched your search

+8 -8
View File
@@ -3,7 +3,7 @@ import { AxiosPromise } from 'axios';
export interface ScholarshipBatchVO {
/** 主键ID */
id?: string | number;
id?: string;
/** 批次编码 */
batchCode?: string;
/** 批次名称 */
@@ -33,7 +33,7 @@ export interface ScholarshipBatchVO {
/** 通知内容 */
noticeContent?: string;
/** 关联的奖学金类型ID列表 */
scholarshipTypeIds?: Array<string | number>;
scholarshipTypeIds?: Array<string>;
/** 创建者 */
createBy?: number;
/** 创建时间 */
@@ -46,7 +46,7 @@ export interface ScholarshipBatchVO {
export interface ScholarshipBatchForm {
/** 主键ID */
id?: string | number;
id?: string;
/** 批次编码 */
batchCode?: string;
/** 批次名称 */
@@ -76,7 +76,7 @@ export interface ScholarshipBatchForm {
/** 通知内容 */
noticeContent?: string;
/** 关联的奖学金类型ID列表 */
scholarshipTypeIds?: Array<string | number>;
scholarshipTypeIds?: Array<string>;
}
export interface ScholarshipBatchQuery extends PageQuery {
@@ -106,7 +106,7 @@ export function listScholarshipBatch(query: ScholarshipBatchQuery): AxiosPromise
}
// 查询奖学金评定批次详细
export function getScholarshipBatch(id: string | number): AxiosPromise<ScholarshipBatchVO> {
export function getScholarshipBatch(id: string): AxiosPromise<ScholarshipBatchVO> {
return request({
url: '/jcbt/scholarshipBatch/' + id,
method: 'get'
@@ -132,7 +132,7 @@ export function updateScholarshipBatch(data: ScholarshipBatchForm) {
}
// 删除奖学金评定批次
export function delScholarshipBatch(id: string | number | Array<string | number>) {
export function delScholarshipBatch(id: string | Array<string>) {
return request({
url: '/jcbt/scholarshipBatch/' + id,
method: 'delete'
@@ -177,7 +177,7 @@ export function getActiveBatches(): AxiosPromise<ScholarshipBatchVO[]> {
}
// 检查批次编码是否唯一
export function checkBatchCodeUnique(batchCode: string, id?: string | number): AxiosPromise<boolean> {
export function checkBatchCodeUnique(batchCode: string, id?: string): AxiosPromise<boolean> {
return request({
url: '/jcbt/scholarshipBatch/checkBatchCodeUnique',
method: 'get',
@@ -189,7 +189,7 @@ export function checkBatchCodeUnique(batchCode: string, id?: string | number): A
}
// 更改批次状态
export function changeScholarshipBatchStatus(id: string | number, status: string) {
export function changeScholarshipBatchStatus(id: string, status: string) {
return request({
url: '/jcbt/scholarshipBatch/changeStatus',
method: 'put',
+8
View File
@@ -114,3 +114,11 @@ export function getApplicationStatistics(positionId) {
method: 'get'
});
}
// 获取学生申请状态列表
export function getStudentApplicationStatusList() {
return request({
url: '/jcbt/workStudyApplication/student/applicationStatus',
method: 'get'
});
}
+10 -4
View File
@@ -27,8 +27,6 @@ export interface WorkStudyApplicationQuery extends PageQuery {
positionName?: string;
/** 岗位类型 */
positionType?: string;
/** 工作地点 */
workLocation?: string;
/** 申请状态 */
status?: string;
/** 学院审核状态 */
@@ -76,8 +74,6 @@ export interface WorkStudyApplicationForm {
positionName: string;
/** 岗位类型 */
positionType: string;
/** 工作地点 */
workLocation: string;
/** 计划工作时长 */
plannedWorkHours?: number;
/** 家庭经济情况 */
@@ -451,3 +447,13 @@ export function getCurrentStudentInfo(): AxiosPromise<any> {
method: 'get'
});
}
/**
* 获取学生已申请岗位状态列表
*/
export function getStudentApplicationStatusList(): AxiosPromise<any[]> {
return request({
url: '/jcbt/workStudyApplication/student/applicationStatus',
method: 'get'
});
}
+10
View File
@@ -244,6 +244,16 @@ export function resumePosition(id: string | number) {
});
}
/**
* 开启岗位招录
*/
export function startRecruiting(id: string | number) {
return request({
url: `/jcbt/workStudyPosition/startRecruiting/${id}`,
method: 'put'
});
}
/**
* 取消岗位
*/
@@ -113,7 +113,6 @@ export interface DormHygieneCheckVO {
* 检查备注
*/
checkRemarks: string;
}
export interface DormHygieneCheckForm extends BaseEntity {
@@ -231,11 +230,9 @@ export interface DormHygieneCheckForm extends BaseEntity {
* 检查备注
*/
checkRemarks?: string;
}
export interface DormHygieneCheckQuery extends PageQuery {
/**
* 删除标志(0代表存在 1代表删除)
*/
@@ -346,10 +343,10 @@ export interface DormHygieneCheckQuery extends PageQuery {
*/
checkRemarks?: string;
/**
* 日期范围参数
*/
params?: any;
/**
* 日期范围参数
*/
params?: any;
}
// 宿舍级联选择相关类型
@@ -643,6 +640,3 @@ export interface DormHygieneCheckCompleteForm extends DormHygieneCheckForm {
*/
studentScores?: DormHygieneStudentScoreForm[];
}
@@ -98,7 +98,6 @@ export interface DormHygieneStudentScoreVO {
* 改进意见
*/
improvementNotes: string;
}
export interface DormHygieneStudentScoreForm extends BaseEntity {
@@ -201,11 +200,9 @@ export interface DormHygieneStudentScoreForm extends BaseEntity {
* 改进意见
*/
improvementNotes?: string;
}
export interface DormHygieneStudentScoreQuery extends PageQuery {
/**
* 删除标志(0代表存在 1代表删除)
*/
@@ -301,11 +298,8 @@ export interface DormHygieneStudentScoreQuery extends PageQuery {
*/
improvementNotes?: string;
/**
* 日期范围参数
*/
params?: any;
/**
* 日期范围参数
*/
params?: any;
}
@@ -138,7 +138,6 @@ export interface DormViolationVO {
* 备注
*/
remark: string;
}
export interface DormViolationForm extends BaseEntity {
@@ -281,11 +280,9 @@ export interface DormViolationForm extends BaseEntity {
* 备注
*/
remark?: string;
}
export interface DormViolationQuery extends PageQuery {
/**
* 学生ID
*/
@@ -416,10 +413,10 @@ export interface DormViolationQuery extends PageQuery {
*/
deleted?: string;
/**
* 日期范围参数
*/
params?: any;
/**
* 日期范围参数
*/
params?: any;
}
// 学生选择相关类型
@@ -478,6 +475,3 @@ export interface BedOptionVO {
id: string | number;
bedName: string;
}
@@ -67,7 +67,9 @@ export const delHolidayStay = (id: string | number | Array<string | number>) =>
* @param query 查询参数
* @returns 学生选项列表
*/
export const getStudentOptions = (query?: StudentOptionQuery): AxiosPromise<{
export const getStudentOptions = (
query?: StudentOptionQuery
): AxiosPromise<{
total: number;
rows: StudentOptionVO[];
}> => {
@@ -173,7 +173,6 @@ export interface HolidayStayVO {
* 备注信息
*/
remark: string;
}
export interface HolidayStayForm extends BaseEntity {
@@ -351,11 +350,9 @@ export interface HolidayStayForm extends BaseEntity {
* 备注信息
*/
remark?: string;
}
export interface HolidayStayQuery extends PageQuery {
/**
* 删除标志(0代表存在 1代表删除)
*/
@@ -526,10 +523,10 @@ export interface HolidayStayQuery extends PageQuery {
*/
status?: string;
/**
* 日期范围参数
*/
params?: any;
/**
* 日期范围参数
*/
params?: any;
}
/**
@@ -752,6 +749,3 @@ export interface BedOptionVO {
*/
bedStatus?: string;
}
@@ -0,0 +1,94 @@
import request from '@/utils/request';
import { XskhAssessmentApplicationApprovalQuery, XskhAssessmentApplicationApprovalBo, XskhAssessmentApplicationApprovalVo, AvailableScheduleOption } from './types';
// 查询学生考核申请列表
export function listAssessmentApplication(query: XskhAssessmentApplicationApprovalQuery) {
return request({
url: '/assessment/application/list',
method: 'get',
params: query
});
}
// 查询学生考核申请详细
export function getAssessmentApplication(id: string | number) {
return request({
url: '/assessment/application/' + id,
method: 'get'
});
}
// 新增学生考核申请
export function addAssessmentApplication(data: XskhAssessmentApplicationApprovalBo) {
return request({
url: '/assessment/application',
method: 'post',
data: data
});
}
// 修改学生考核申请
export function updateAssessmentApplication(data: XskhAssessmentApplicationApprovalBo) {
return request({
url: '/assessment/application',
method: 'put',
data: data
});
}
// 删除学生考核申请
export function delAssessmentApplication(id: string | number | Array<string | number>) {
return request({
url: '/assessment/application/' + id,
method: 'delete'
});
}
// 保存考核申请(草稿状态)
export function saveAssessmentApplication(data: XskhAssessmentApplicationApprovalBo) {
return request({
url: '/assessment/application/save',
method: 'post',
data: data
});
}
// 提交考核申请
export function submitAssessmentApplication(id: string | number) {
return request({
url: '/assessment/application/submit/' + id,
method: 'put'
});
}
// 删除考核申请
export function deleteAssessmentApplication(id: string | number) {
return request({
url: '/assessment/application/delete/' + id,
method: 'delete'
});
}
// 获取可申请的考核计划列表
export function getAvailableAssessmentSchedules() {
return request<AvailableScheduleOption[]>({
url: '/assessment/application/available',
method: 'get'
});
}
// 根据学生ID和考核计划ID查询申请
export function getApplicationByStudentAndSchedule(studentId: string | number, scheduleId: string | number) {
return request({
url: `/assessment/application/student/${studentId}/schedule/${scheduleId}`,
method: 'get'
});
}
// 根据考核计划ID获取关联的指标数据
export function getIndicatorsByScheduleId(scheduleId: string | number) {
return request({
url: `/assessment/application/indicators/${scheduleId}`,
method: 'get'
});
}
@@ -0,0 +1,433 @@
import { BaseEntity } from '@/api/types';
/**
* 学生考核申请查询对象
*/
export interface XskhAssessmentApplicationApprovalQuery extends BaseEntity {
/** 考核计划名称 */
scheduleName?: string;
/** 状态(1-草稿 2-已提交 3-班主任审核 6-已完成) */
status?: string;
}
/**
* 学生考核申请业务对象
*/
export interface XskhAssessmentApplicationApprovalBo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 学生ID */
studentId?: string | number;
/** 学生姓名 */
studentName?: string;
/** 学号 */
studentNo?: string;
/** 学院名称 */
collegeName?: string;
/** 专业名称 */
majorName?: string;
/** 班级名称 */
className?: string;
/** 考核计划ID */
scheduleId?: string | number;
/** 考核计划名称 */
scheduleName?: string;
/** 自评得分 */
selfScore?: number;
/** 自评备注 */
selfRemark?: string;
/** 班主任评分 */
teacherScore?: number;
/** 总得分 */
totalScore?: number;
/** 状态(1-草稿 2-已提交 3-班主任审核 6-已完成) */
status?: string;
/** 班主任审核备注 */
teacherApprovalRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 删除标志(0-未删除 1-已删除) */
deleted?: string;
/** 租户ID */
tenantId?: string | number;
/** 自评得分列表 */
selfScoreList?: XskhAssessmentSelfScoreBo[];
/** 附加分申请列表 */
bonusApprovalList?: XskhAssessmentBonusApprovalBo[];
}
/**
* 学生考核申请视图对象
*/
export interface XskhAssessmentApplicationApprovalVo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 学生ID */
studentId?: string | number;
/** 学生姓名 */
studentName?: string;
/** 学号 */
studentNo?: string;
/** 学院名称 */
collegeName?: string;
/** 专业名称 */
majorName?: string;
/** 班级名称 */
className?: string;
/** 考核计划ID */
scheduleId?: string | number;
/** 考核计划名称 */
scheduleName?: string;
/** 考核开始时间 */
startTime?: string;
/** 考核结束时间 */
endTime?: string;
/** 数据统计开始时间 */
dataStartTime?: string;
/** 数据统计结束时间 */
dataEndTime?: string;
/** 自评得分 */
selfScore?: number;
/** 自评备注 */
selfRemark?: string;
/** 班主任评分 */
teacherScore?: number;
/** 总得分 */
totalScore?: number;
/** 状态(1-草稿 2-已提交 3-班主任审核 6-已完成) */
status?: string;
/** 状态名称 */
statusName?: string;
/** 班主任审核备注 */
teacherApprovalRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 自评得分列表 */
selfScoreList?: XskhAssessmentSelfScoreVo[];
/** 附加分申请列表 */
bonusApprovalList?: XskhAssessmentBonusApprovalVo[];
}
/**
* 学生考核申请表单对象
*/
export interface XskhAssessmentApplicationApprovalForm extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 学生ID */
studentId?: string | number;
/** 学生姓名 */
studentName?: string;
/** 学号 */
studentNo?: string;
/** 学院名称 */
collegeName?: string;
/** 专业名称 */
majorName?: string;
/** 班级名称 */
className?: string;
/** 考核计划ID */
scheduleId?: string | number;
/** 考核计划名称 */
scheduleName?: string;
/** 自评得分 */
selfScore?: number;
/** 自评备注 */
selfRemark?: string;
/** 班主任评分 */
teacherScore?: number;
/** 总得分 */
totalScore?: number;
/** 状态(1-草稿 2-已提交 3-班主任审核 6-已完成) */
status?: string;
/** 班主任审核备注 */
teacherApprovalRemark?: string;
/** 自评得分列表 */
selfScoreList?: XskhAssessmentSelfScoreForm[];
/** 附加分申请列表 */
bonusApprovalList?: XskhAssessmentBonusApprovalForm[];
}
/**
* 学生考核自评得分业务对象
*/
export interface XskhAssessmentSelfScoreBo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 考核指标ID */
indicatorId?: string | number;
/** 指标名称 */
indicatorName?: string;
/** 指标编码 */
indicatorCode?: string;
/** 指标说明 */
indicatorDescription?: string;
/** 指标类型 */
indicatorType?: string;
/** 最高分值 */
maxScore?: number;
/** 指标默认最高分值 */
indicatorMaxScore?: number;
/** 方案中该指标最高分值 */
planMaxScore?: number;
/** 排序号 */
sortOrder?: number;
/** 自评得分 */
selfScore?: number;
/** 自评备注 */
selfRemark?: string;
/** 班主任评分 */
teacherScore?: number;
/** 班主任备注 */
teacherRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 删除标志(0-未删除 1-已删除) */
deleted?: string;
/** 租户ID */
tenantId?: string | number;
}
/**
* 学生考核自评得分视图对象
*/
export interface XskhAssessmentSelfScoreVo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 考核指标ID */
indicatorId?: string | number;
/** 指标名称 */
indicatorName?: string;
/** 指标编码 */
indicatorCode?: string;
/** 指标说明 */
indicatorDescription?: string;
/** 指标类型 */
indicatorType?: string;
/** 最高分值 */
maxScore?: number;
/** 指标默认最高分值 */
indicatorMaxScore?: number;
/** 方案中该指标最高分值 */
planMaxScore?: number;
/** 排序号 */
sortOrder?: number;
/** 自评得分 */
selfScore?: number;
/** 自评备注 */
selfRemark?: string;
/** 班主任评分 */
teacherScore?: number;
/** 班主任备注 */
teacherRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
}
/**
* 学生考核自评得分表单对象
*/
export interface XskhAssessmentSelfScoreForm extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 考核指标ID */
indicatorId?: string | number;
/** 指标名称 */
indicatorName?: string;
/** 指标编码 */
indicatorCode?: string;
/** 指标说明 */
indicatorDescription?: string;
/** 指标类型 */
indicatorType?: string;
/** 最高分值 */
maxScore?: number;
/** 指标默认最高分值 */
indicatorMaxScore?: number;
/** 方案中该指标最高分值 */
planMaxScore?: number;
/** 排序号 */
sortOrder?: number;
/** 自评得分 */
selfScore?: number;
/** 自评备注 */
selfRemark?: string;
/** 班主任评分 */
teacherScore?: number;
/** 班主任备注 */
teacherRemark?: string;
}
/**
* 学生附加分申请业务对象
*/
export interface XskhAssessmentBonusApprovalBo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 附加分项目名称 */
bonusItemName?: string;
/** 附加分内容 */
bonusContent?: string;
/** 附加分值 */
bonusScore?: number;
/** 附件 */
attachment?: string;
/** 审核状态(0-待审核 1-已审核) */
approvalStatus?: string;
/** 审核得分 */
approvalScore?: number;
/** 审核人 */
approvalBy?: string | number;
/** 审核时间 */
approvalTime?: string;
/** 审核备注 */
approvalRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 删除标志(0-未删除 1-已删除) */
deleted?: string;
/** 租户ID */
tenantId?: string | number;
}
/**
* 学生附加分申请视图对象
*/
export interface XskhAssessmentBonusApprovalVo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 附加分项目名称 */
bonusItemName?: string;
/** 附加分内容 */
bonusContent?: string;
/** 附加分值 */
bonusScore?: number;
/** 附件 */
attachment?: string;
/** 审核状态(0-待审核 1-已审核) */
approvalStatus?: string;
/** 审核状态名称 */
approvalStatusName?: string;
/** 审核得分 */
approvalScore?: number;
/** 审核人 */
approvalBy?: string | number;
/** 审核时间 */
approvalTime?: string;
/** 审核备注 */
approvalRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
}
/**
* 学生附加分申请表单对象
*/
export interface XskhAssessmentBonusApprovalForm extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 附加分项目名称 */
bonusItemName?: string;
/** 附加分内容 */
bonusContent?: string;
/** 附加分值 */
bonusScore?: number;
/** 附件 */
attachment?: string;
/** 审核状态(0-待审核 1-已审核) */
approvalStatus?: string;
/** 审核得分 */
approvalScore?: number;
/** 审核人 */
approvalBy?: string | number;
/** 审核时间 */
approvalTime?: string;
/** 审核备注 */
approvalRemark?: string;
}
/**
* 考核计划选项
*/
export interface AssessmentScheduleOption {
/** 主键ID */
id: string | number;
/** 考核计划名称 */
scheduleName: string;
/** 考核计划说明 */
scheduleDescription: string;
/** 开始时间 */
startTime: string;
/** 结束时间 */
endTime: string;
/** 数据统计开始时间 */
dataStartTime: string;
/** 数据统计结束时间 */
dataEndTime: string;
/** 状态 */
status: string;
/** 状态名称 */
statusName: string;
}
/**
* 可申请的考核计划选项(后端返回格式)
*/
export interface AvailableScheduleOption {
/** 考核计划ID */
scheduleId: string | number;
/** 考核计划名称 */
scheduleName: string;
/** 状态 */
status: string;
/** 时间信息(临时存储在teacherApprovalRemark字段) */
teacherApprovalRemark?: string;
}
@@ -0,0 +1,74 @@
import request from '@/utils/request';
import { XskhAssessmentApprovalQuery, XskhAssessmentApprovalBo, XskhAssessmentApprovalVo } from './types';
// 查询学生考核审核列表
export function listAssessmentApproval(query: XskhAssessmentApprovalQuery) {
return request({
url: '/assessment/approval/list',
method: 'get',
params: query
});
}
// 查询学生考核审核详细
export function getAssessmentApproval(id: string | number) {
return request({
url: '/assessment/approval/' + id,
method: 'get'
});
}
// 新增学生考核审核
export function addAssessmentApproval(data: XskhAssessmentApprovalBo) {
return request({
url: '/assessment/approval',
method: 'post',
data: data
});
}
// 修改学生考核审核
export function updateAssessmentApproval(data: XskhAssessmentApprovalBo) {
return request({
url: '/assessment/approval',
method: 'put',
data: data
});
}
// 删除学生考核审核
export function delAssessmentApproval(id: string | number | Array<string | number>) {
return request({
url: '/assessment/approval/' + id,
method: 'delete'
});
}
// 审核考核申请
export function approveAssessmentApplication(data: XskhAssessmentApprovalBo) {
return request({
url: '/assessment/approval/approve',
method: 'put',
data: data
});
}
// 获取班主任班级下的考核申请列表
export function getTeacherClassApplications(scheduleId: string | number, query: XskhAssessmentApprovalQuery) {
return request({
url: '/assessment/approval/teacherClass',
method: 'get',
params: {
...query,
scheduleId: scheduleId
}
});
}
// 获取考核计划列表(进行中和已结束)
export function getAvailableAssessmentSchedules() {
return request({
url: '/assessment/approval/available',
method: 'get'
});
}
@@ -0,0 +1,415 @@
import { BaseEntity } from '@/api/types';
/**
* 学生考核审核查询对象
*/
export interface XskhAssessmentApprovalQuery extends BaseEntity {
/** 考核计划名称 */
scheduleName?: string;
/** 状态(2-已提交 3-班主任审核 6-已完成) */
status?: string;
/** 学号 */
studentNo?: string;
/** 学生姓名 */
studentName?: string;
}
/**
* 学生考核审核业务对象
*/
export interface XskhAssessmentApprovalBo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 学生ID */
studentId?: string | number;
/** 学生姓名 */
studentName?: string;
/** 学号 */
studentNo?: string;
/** 学院名称 */
collegeName?: string;
/** 专业名称 */
majorName?: string;
/** 班级名称 */
className?: string;
/** 考核计划ID */
scheduleId?: string | number;
/** 考核计划名称 */
scheduleName?: string;
/** 自评得分 */
selfScore?: number;
/** 班主任评分 */
teacherScore?: number;
/** 总得分 */
totalScore?: number;
/** 状态(2-已提交 3-班主任审核 6-已完成) */
status?: string;
/** 自评备注 */
selfRemark?: string;
/** 班主任审核备注 */
teacherApprovalRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 删除标志(0-未删除 1-已删除) */
deleted?: string;
/** 租户ID */
tenantId?: string | number;
/** 自评得分列表 */
selfScoreList?: XskhAssessmentSelfScoreBo[];
/** 附加分申请列表 */
bonusApprovalList?: XskhAssessmentBonusApprovalBo[];
}
/**
* 学生考核审核视图对象
*/
export interface XskhAssessmentApprovalVo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 学生ID */
studentId?: string | number;
/** 学生姓名 */
studentName?: string;
/** 学号 */
studentNo?: string;
/** 学院名称 */
collegeName?: string;
/** 专业名称 */
majorName?: string;
/** 班级名称 */
className?: string;
/** 考核计划ID */
scheduleId?: string | number;
/** 考核计划名称 */
scheduleName?: string;
/** 自评得分 */
selfScore?: number;
/** 班主任评分 */
teacherScore?: number;
/** 总得分 */
totalScore?: number;
/** 状态(2-已提交 3-班主任审核 6-已完成) */
status?: string;
/** 状态名称 */
statusName?: string;
/** 自评备注 */
selfRemark?: string;
/** 班主任审核备注 */
teacherApprovalRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 自评得分列表 */
selfScoreList?: XskhAssessmentSelfScoreVo[];
/** 附加分申请列表 */
bonusApprovalList?: XskhAssessmentBonusApprovalVo[];
}
/**
* 学生考核申请表单对象
*/
export interface XskhAssessmentApprovalForm extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 学生ID */
studentId?: string | number;
/** 学生姓名 */
studentName?: string;
/** 学号 */
studentNo?: string;
/** 学院名称 */
collegeName?: string;
/** 专业名称 */
majorName?: string;
/** 班级名称 */
className?: string;
/** 考核计划ID */
scheduleId?: string | number;
/** 考核计划名称 */
scheduleName?: string;
/** 开始时间 */
startTime?: string;
/** 结束时间 */
endTime?: string;
/** 数据统计开始时间 */
dataStartTime?: string;
/** 数据统计结束时间 */
dataEndTime?: string;
/** 自评得分 */
selfScore?: number;
/** 班主任评分 */
teacherScore?: number;
/** 总得分 */
totalScore?: number;
/** 状态(1-草稿 2-已提交 3-班主任审核 4-学院审核 5-学校审核 6-已完成) */
status?: string;
/** 自评备注 */
selfRemark?: string;
/** 班主任审核备注 */
teacherApprovalRemark?: string;
/** 自评得分列表 */
selfScoreList?: XskhAssessmentSelfScoreForm[];
/** 附加分申请列表 */
bonusApprovalList?: XskhAssessmentBonusApprovalForm[];
}
/**
* 学生考核自评得分业务对象
*/
export interface XskhAssessmentSelfScoreBo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 考核指标ID */
indicatorId?: string | number;
/** 指标名称 */
indicatorName?: string;
/** 指标编码 */
indicatorCode?: string;
/** 指标说明 */
description?: string;
/** 指标默认最高分值 */
indicatorMaxScore?: number;
/** 方案中该指标最高分值 */
maxScore?: number;
/** 排序号 */
sortOrder?: number;
/** 自评得分 */
selfScore?: number;
/** 自评备注 */
selfRemark?: string;
/** 班主任评分 */
teacherScore?: number;
/** 班主任备注 */
teacherRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 删除标志(0-未删除 1-已删除) */
deleted?: string;
/** 租户ID */
tenantId?: string | number;
}
/**
* 学生考核自评得分视图对象
*/
export interface XskhAssessmentSelfScoreVo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 考核指标ID */
indicatorId?: string | number;
/** 指标名称 */
indicatorName?: string;
/** 指标编码 */
indicatorCode?: string;
/** 指标说明 */
description?: string;
/** 指标默认最高分值 */
indicatorMaxScore?: number;
/** 方案中该指标最高分值 */
maxScore?: number;
/** 排序号 */
sortOrder?: number;
/** 自评得分 */
selfScore?: number;
/** 自评备注 */
selfRemark?: string;
/** 班主任评分 */
teacherScore?: number;
/** 班主任备注 */
teacherRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
}
/**
* 学生考核自评得分表单对象
*/
export interface XskhAssessmentSelfScoreForm extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 考核指标ID */
indicatorId?: string | number;
/** 指标名称 */
indicatorName?: string;
/** 指标编码 */
indicatorCode?: string;
/** 指标说明 */
description?: string;
/** 指标默认最高分值 */
indicatorMaxScore?: number;
/** 方案中该指标最高分值 */
maxScore?: number;
/** 排序号 */
sortOrder?: number;
/** 自评得分 */
selfScore?: number;
/** 自评备注 */
selfRemark?: string;
/** 班主任评分 */
teacherScore?: number;
/** 班主任备注 */
teacherRemark?: string;
}
/**
* 学生附加分申请业务对象
*/
export interface XskhAssessmentBonusApprovalBo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 附加分项目名称 */
bonusName?: string;
/** 附加分内容 */
bonusContent?: string;
/** 附加分值 */
bonusScore?: number;
/** 附件 */
evidenceFile?: string;
/** 审核状态(0-待审核 1-已审核) */
status?: string;
/** 审核得分 */
approvalScore?: number;
/** 审核人 */
approvalBy?: string | number;
/** 审核人姓名 */
approvalByName?: string;
/** 审核时间 */
approvalTime?: string;
/** 审核备注 */
approvalRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 删除标志(0-未删除 1-已删除) */
deleted?: string;
/** 租户ID */
tenantId?: string | number;
}
/**
* 学生附加分申请视图对象
*/
export interface XskhAssessmentBonusApprovalVo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 附加分项目名称 */
bonusName?: string;
/** 附加分内容 */
bonusContent?: string;
/** 附加分值 */
bonusScore?: number;
/** 附件 */
evidenceFile?: string;
/** 审核状态(0-待审核 1-已审核) */
status?: string;
/** 审核状态名称 */
statusName?: string;
/** 审核得分 */
approvalScore?: number;
/** 审核人 */
approvalBy?: string | number;
/** 审核人姓名 */
approvalByName?: string;
/** 审核时间 */
approvalTime?: string;
/** 审核备注 */
approvalRemark?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
}
/**
* 学生附加分申请表单对象
*/
export interface XskhAssessmentBonusApprovalForm extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核申请ID */
applicationId?: string | number;
/** 附加分项目名称 */
bonusName?: string;
/** 附加分内容 */
bonusContent?: string;
/** 附加分值 */
bonusScore?: number;
/** 附件 */
evidenceFile?: string;
/** 审核状态(0-待审核 1-已审核) */
status?: string;
/** 审核得分 */
approvalScore?: number;
/** 审核人 */
approvalBy?: string | number;
/** 审核人姓名 */
approvalByName?: string;
/** 审核时间 */
approvalTime?: string;
/** 审核备注 */
approvalRemark?: string;
/** 文件列表(前端使用) */
fileList?: any[];
}
/**
* 考核计划选项
*/
export interface AssessmentScheduleOption {
/** 主键ID */
id: string | number;
/** 考核计划名称 */
scheduleName: string;
/** 考核计划说明 */
scheduleDescription: string;
/** 开始时间 */
startTime: string;
/** 结束时间 */
endTime: string;
/** 状态 */
status: string;
/** 状态名称 */
statusName: string;
}
@@ -0,0 +1,78 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { TableDataInfo, R } from '@/api/types';
import { XskhAssessmentIndicatorVo, XskhAssessmentIndicatorBo, XskhAssessmentIndicatorQuery, XskhAssessmentIndicatorForm } from './types';
/**
* 查询学生考核指标体系列表
* @param query
* @returns
*/
export function listAssessmentIndicator(query: XskhAssessmentIndicatorQuery): AxiosPromise<TableDataInfo<XskhAssessmentIndicatorVo>> {
return request({
url: '/assessment/indicator/list',
method: 'get',
params: query
});
}
/**
* 查询学生考核指标体系详细
* @param id
* @returns
*/
export function getAssessmentIndicator(id: string | number): AxiosPromise<R<XskhAssessmentIndicatorVo>> {
return request({
url: '/assessment/indicator/' + id,
method: 'get'
});
}
/**
* 新增学生考核指标体系
* @param data
* @returns
*/
export function addAssessmentIndicator(data: XskhAssessmentIndicatorForm): AxiosPromise<R<any>> {
return request({
url: '/assessment/indicator',
method: 'post',
data: data
});
}
/**
* 修改学生考核指标体系
* @param data
* @returns
*/
export function updateAssessmentIndicator(data: XskhAssessmentIndicatorForm): AxiosPromise<R<any>> {
return request({
url: '/assessment/indicator',
method: 'put',
data: data
});
}
/**
* 删除学生考核指标体系
* @param ids
* @returns
*/
export function delAssessmentIndicator(ids: string | string[] | number | number[]): AxiosPromise<R<any>> {
return request({
url: '/assessment/indicator/' + ids,
method: 'delete'
});
}
/**
* 获取启用的学生考核指标体系列表(用于下拉框)
* @returns
*/
export function getEnabledAssessmentIndicators(): AxiosPromise<R<XskhAssessmentIndicatorVo[]>> {
return request({
url: '/assessment/indicator/enabled',
method: 'get'
});
}
@@ -0,0 +1,141 @@
import { BaseEntity } from '@/api/types';
/**
* 学生考核指标体系查询对象
*/
export interface XskhAssessmentIndicatorQuery extends BaseEntity {
/** 指标编码 */
indicatorCode?: string;
/** 指标名称 */
indicatorName?: string;
/** 状态(0-启用 1-禁用) */
status?: string;
}
/**
* 学生考核指标体系业务对象
*/
export interface XskhAssessmentIndicatorBo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 指标编码 */
indicatorCode?: string;
/** 指标名称 */
indicatorName?: string;
/** 指标说明 */
description?: string;
/** 指标类型ID */
indicatorTypeId?: string | number;
/** 指标类型名称 */
indicatorTypeName?: string;
/** 最高分值 */
maxScore?: number;
/** 状态(0-启用 1-禁用) */
status?: string;
/** 排序号 */
sortOrder?: number;
/** 关联的违纪处分类型ID列表 */
disciplineTypeIds?: string[];
/** 关联的奖励类型ID列表 */
rewardTypeIds?: string[];
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 删除标志(0-未删除 1-已删除) */
deleted?: string;
/** 租户ID */
tenantId?: string | number;
}
/**
* 学生考核指标体系视图对象
*/
export interface XskhAssessmentIndicatorVo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 指标编码 */
indicatorCode?: string;
/** 指标名称 */
indicatorName?: string;
/** 指标说明 */
description?: string;
/** 指标类型ID */
indicatorTypeId?: string | number;
/** 指标类型名称 */
indicatorTypeName?: string;
/** 最高分值 */
maxScore?: number;
/** 状态(0-启用 1-禁用) */
status?: string;
/** 状态名称 */
statusName?: string;
/** 排序号 */
sortOrder?: number;
/** 关联的违纪处分类型ID列表 */
disciplineTypeIds?: string[];
/** 关联的奖励类型ID列表 */
rewardTypeIds?: string[];
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
}
/**
* 学生考核指标体系表单对象
*/
export interface XskhAssessmentIndicatorForm extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 指标编码 */
indicatorCode?: string;
/** 指标名称 */
indicatorName?: string;
/** 指标说明 */
description?: string;
/** 指标类型ID */
indicatorTypeId?: string | number;
/** 最高分值 */
maxScore?: number;
/** 状态(0-启用 1-禁用) */
status?: string;
/** 排序号 */
sortOrder?: number;
/** 关联的违纪处分类型ID列表 */
disciplineTypeIds?: string[];
/** 关联的奖励类型ID列表 */
rewardTypeIds?: string[];
}
/**
* 违纪处分类型选项
*/
export interface DisciplineTypeOption {
/** 主键ID */
id: string | number;
/** 类型编码 */
typeCode: string;
/** 类型名称 */
typeName: string;
}
/**
* 奖励类型选项
*/
export interface RewardTypeOption {
/** 主键ID */
id: string | number;
/** 类型编码 */
typeCode: string;
/** 类型名称 */
typeName: string;
}
@@ -0,0 +1,78 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { TableDataInfo, R } from '@/api/types';
import { XskhAssessmentIndicatorTypeVo, XskhAssessmentIndicatorTypeBo, XskhAssessmentIndicatorTypeQuery, XskhAssessmentIndicatorTypeForm } from './types';
/**
* 查询学生考核指标类型列表
* @param query
* @returns
*/
export function listAssessmentIndicatorType(query: XskhAssessmentIndicatorTypeQuery): AxiosPromise<TableDataInfo<XskhAssessmentIndicatorTypeVo>> {
return request({
url: '/assessment/indicatorType/list',
method: 'get',
params: query
});
}
/**
* 查询学生考核指标类型详细
* @param id
* @returns
*/
export function getAssessmentIndicatorType(id: string | number): AxiosPromise<R<XskhAssessmentIndicatorTypeVo>> {
return request({
url: '/assessment/indicatorType/' + id,
method: 'get'
});
}
/**
* 新增学生考核指标类型
* @param data
* @returns
*/
export function addAssessmentIndicatorType(data: XskhAssessmentIndicatorTypeForm): AxiosPromise<R<any>> {
return request({
url: '/assessment/indicatorType',
method: 'post',
data: data
});
}
/**
* 修改学生考核指标类型
* @param data
* @returns
*/
export function updateAssessmentIndicatorType(data: XskhAssessmentIndicatorTypeForm): AxiosPromise<R<any>> {
return request({
url: '/assessment/indicatorType',
method: 'put',
data: data
});
}
/**
* 删除学生考核指标类型
* @param ids
* @returns
*/
export function delAssessmentIndicatorType(ids: string | string[] | number | number[]): AxiosPromise<R<any>> {
return request({
url: '/assessment/indicatorType/' + ids,
method: 'delete'
});
}
/**
* 获取启用的学生考核指标类型列表(用于下拉框)
* @returns
*/
export function getEnabledAssessmentIndicatorTypes(): AxiosPromise<R<XskhAssessmentIndicatorTypeVo[]>> {
return request({
url: '/assessment/indicatorType/enabled',
method: 'get'
});
}
@@ -0,0 +1,89 @@
import { BaseEntity } from '@/api/types';
/**
* 学生考核指标类型查询对象
*/
export interface XskhAssessmentIndicatorTypeQuery extends BaseEntity {
/** 类型编码 */
typeCode?: string;
/** 类型名称 */
typeName?: string;
/** 状态(0-启用 1-禁用) */
status?: string;
}
/**
* 学生考核指标类型业务对象
*/
export interface XskhAssessmentIndicatorTypeBo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 类型编码 */
typeCode?: string;
/** 类型名称 */
typeName?: string;
/** 类型说明 */
description?: string;
/** 状态(0-启用 1-禁用) */
status?: string;
/** 排序号 */
sortOrder?: number;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 删除标志(0-未删除 1-已删除) */
deleted?: string;
/** 租户ID */
tenantId?: string | number;
}
/**
* 学生考核指标类型视图对象
*/
export interface XskhAssessmentIndicatorTypeVo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 类型编码 */
typeCode?: string;
/** 类型名称 */
typeName?: string;
/** 类型说明 */
description?: string;
/** 状态(0-启用 1-禁用) */
status?: string;
/** 状态名称 */
statusName?: string;
/** 排序号 */
sortOrder?: number;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
}
/**
* 学生考核指标类型表单对象
*/
export interface XskhAssessmentIndicatorTypeForm extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 类型编码 */
typeCode?: string;
/** 类型名称 */
typeName?: string;
/** 类型说明 */
description?: string;
/** 状态(0-启用 1-禁用) */
status?: string;
/** 排序号 */
sortOrder?: number;
}
@@ -0,0 +1,78 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { TableDataInfo, R } from '@/api/types';
import { XskhAssessmentPlanVo, XskhAssessmentPlanBo, XskhAssessmentPlanQuery, XskhAssessmentPlanForm } from './types';
/**
* 查询学生考核方案列表
* @param query
* @returns
*/
export function listAssessmentPlan(query: XskhAssessmentPlanQuery): AxiosPromise<TableDataInfo<XskhAssessmentPlanVo>> {
return request({
url: '/assessment/plan/list',
method: 'get',
params: query
});
}
/**
* 查询学生考核方案详细
* @param id
* @returns
*/
export function getAssessmentPlan(id: string | number): AxiosPromise<R<XskhAssessmentPlanVo>> {
return request({
url: '/assessment/plan/' + id,
method: 'get'
});
}
/**
* 新增学生考核方案
* @param data
* @returns
*/
export function addAssessmentPlan(data: XskhAssessmentPlanForm): AxiosPromise<R<any>> {
return request({
url: '/assessment/plan',
method: 'post',
data: data
});
}
/**
* 修改学生考核方案
* @param data
* @returns
*/
export function updateAssessmentPlan(data: XskhAssessmentPlanForm): AxiosPromise<R<any>> {
return request({
url: '/assessment/plan',
method: 'put',
data: data
});
}
/**
* 删除学生考核方案
* @param ids
* @returns
*/
export function delAssessmentPlan(ids: string | string[] | number | number[]): AxiosPromise<R<any>> {
return request({
url: '/assessment/plan/' + ids,
method: 'delete'
});
}
/**
* 获取启用的学生考核方案列表(用于下拉框)
* @returns
*/
export function getEnabledAssessmentPlans(): AxiosPromise<R<XskhAssessmentPlanVo[]>> {
return request({
url: '/assessment/plan/enabled',
method: 'get'
});
}
+143
View File
@@ -0,0 +1,143 @@
import { BaseEntity } from '@/api/types';
/**
* 学生考核方案查询对象
*/
export interface XskhAssessmentPlanQuery extends BaseEntity {
/** 方案编号 */
planCode?: string;
/** 方案名称 */
planName?: string;
/** 状态(0-启用 1-禁用) */
status?: string;
}
/**
* 学生考核方案业务对象
*/
export interface XskhAssessmentPlanBo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 方案编号 */
planCode?: string;
/** 方案名称 */
planName?: string;
/** 方案说明 */
description?: string;
/** 状态(0-启用 1-禁用) */
status?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 删除标志(0-未删除 1-已删除) */
deleted?: string;
/** 租户ID */
tenantId?: string | number;
}
/**
* 学生考核方案视图对象
*/
export interface XskhAssessmentPlanVo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 方案编号 */
planCode?: string;
/** 方案名称 */
planName?: string;
/** 方案说明 */
description?: string;
/** 状态(0-启用 1-禁用) */
status?: string;
/** 状态名称 */
statusName?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 关联的指标列表 */
indicatorList?: XskhAssessmentPlanIndicatorVo[];
}
/**
* 学生考核方案表单对象
*/
export interface XskhAssessmentPlanForm extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 方案编号 */
planCode?: string;
/** 方案名称 */
planName?: string;
/** 方案说明 */
description?: string;
/** 状态(0-启用 1-禁用) */
status?: string;
/** 关联的指标列表 */
indicatorList?: XskhAssessmentPlanIndicatorVo[];
}
/**
* 考核方案关联指标对象
*/
export interface XskhAssessmentPlanIndicatorVo {
/** 主键ID */
id?: string | number;
/** 考核方案ID */
planId?: string | number;
/** 考核指标ID */
indicatorId?: string | number;
/** 指标名称 */
indicatorName?: string;
/** 指标编码 */
indicatorCode?: string;
/** 指标说明 */
indicatorDescription?: string;
/** 指标默认最高分值 */
indicatorMaxScore?: number;
/** 该方案中该指标最高分值 */
maxScore?: number;
/** 排序号 */
sortOrder?: number;
}
/**
* 考核方案关联指标表单对象
*/
export interface XskhAssessmentPlanIndicatorForm {
/** 主键ID */
id?: string | number;
/** 考核方案ID */
planId?: string | number;
/** 考核指标ID */
indicatorId?: string | number;
/** 该方案中该指标最高分值 */
planMaxScore?: number;
/** 排序号 */
sortOrder?: number;
}
/**
* 考核指标选项
*/
export interface AssessmentIndicatorOption {
/** 主键ID */
id: string | number;
/** 指标编码 */
indicatorCode: string;
/** 指标名称 */
indicatorName: string;
/** 指标说明 */
indicatorDescription: string;
/** 最高分值 */
maxScore: number;
}
@@ -0,0 +1,127 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { TableDataInfo, R } from '@/api/types';
import { XskhAssessmentScheduleVo, XskhAssessmentScheduleBo, XskhAssessmentScheduleQuery, XskhAssessmentScheduleForm } from './types';
/**
* 查询学生考核计划列表
* @param query
* @returns
*/
export function listAssessmentSchedule(query: XskhAssessmentScheduleQuery): AxiosPromise<TableDataInfo<XskhAssessmentScheduleVo>> {
return request({
url: '/assessment/schedule/list',
method: 'get',
params: query
});
}
/**
* 根据状态列表查询学生考核计划列表
* @param query
* @returns
*/
export function listAssessmentScheduleByStatus(query: XskhAssessmentScheduleQuery): AxiosPromise<TableDataInfo<XskhAssessmentScheduleVo>> {
return request({
url: '/assessment/schedule/listByStatus',
method: 'get',
params: query
});
}
/**
* 查询学生考核计划详细
* @param id
* @returns
*/
export function getAssessmentSchedule(id: string | number): AxiosPromise<R<XskhAssessmentScheduleVo>> {
return request({
url: '/assessment/schedule/' + id,
method: 'get'
});
}
/**
* 新增学生考核计划
* @param data
* @returns
*/
export function addAssessmentSchedule(data: XskhAssessmentScheduleForm): AxiosPromise<R<any>> {
return request({
url: '/assessment/schedule',
method: 'post',
data: data
});
}
/**
* 修改学生考核计划
* @param data
* @returns
*/
export function updateAssessmentSchedule(data: XskhAssessmentScheduleForm): AxiosPromise<R<any>> {
return request({
url: '/assessment/schedule',
method: 'put',
data: data
});
}
/**
* 删除学生考核计划
* @param ids
* @returns
*/
export function delAssessmentSchedule(ids: string | string[] | number | number[]): AxiosPromise<R<any>> {
return request({
url: '/assessment/schedule/' + ids,
method: 'delete'
});
}
/**
* 上线考核计划
* @param id
* @returns
*/
export function onlineAssessmentSchedule(id: string | number): AxiosPromise<R<any>> {
return request({
url: '/assessment/schedule/online/' + id,
method: 'put'
});
}
/**
* 下线考核计划
* @param id
* @returns
*/
export function offlineAssessmentSchedule(id: string | number): AxiosPromise<R<any>> {
return request({
url: '/assessment/schedule/offline/' + id,
method: 'put'
});
}
/**
* 完成考核计划
* @param id
* @returns
*/
export function completeAssessmentSchedule(id: string | number): AxiosPromise<R<any>> {
return request({
url: '/assessment/schedule/complete/' + id,
method: 'put'
});
}
/**
* 获取启用的学生考核方案列表(用于下拉框)
* @returns
*/
export function getEnabledAssessmentPlans(): AxiosPromise<R<any[]>> {
return request({
url: '/assessment/plan/enabled',
method: 'get'
});
}
@@ -0,0 +1,145 @@
import { BaseEntity } from '@/api/types';
/**
* 学生考核计划查询对象
*/
export interface XskhAssessmentScheduleQuery extends BaseEntity {
/** 考核计划名称 */
scheduleName?: string;
/** 学年 */
academicYear?: string;
/** 学期 */
semester?: string;
/** 状态(1-未开始 2-进行中 3-已结束) */
status?: string;
/** 状态列表(1-未开始 2-进行中 3-已结束) */
statusList?: string[];
}
/**
* 学生考核计划业务对象
*/
export interface XskhAssessmentScheduleBo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核计划名称 */
scheduleName?: string;
/** 考核计划说明 */
description?: string;
/** 考核方案ID */
planId?: string | number;
/** 考核方案名称 */
planName?: string;
/** 学年 */
academicYear?: string;
/** 学期(1-第一学期 2-第二学期) */
semester?: string;
/** 开始时间 */
startTime?: string;
/** 结束时间 */
endTime?: string;
/** 数据统计开始时间 */
dataStartTime?: string;
/** 数据统计结束时间 */
dataEndTime?: string;
/** 状态(1-未开始 2-进行中 3-已结束) */
status?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
/** 删除标志(0-未删除 1-已删除) */
deleted?: string;
/** 租户ID */
tenantId?: string | number;
}
/**
* 学生考核计划视图对象
*/
export interface XskhAssessmentScheduleVo extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核计划名称 */
scheduleName?: string;
/** 考核计划说明 */
description?: string;
/** 考核方案ID */
planId?: string | number;
/** 考核方案名称 */
planName?: string;
/** 学年 */
academicYear?: string;
/** 学期(1-第一学期 2-第二学期) */
semester?: string;
/** 学期名称 */
semesterName?: string;
/** 开始时间 */
startTime?: string;
/** 结束时间 */
endTime?: string;
/** 数据统计开始时间 */
dataStartTime?: string;
/** 数据统计结束时间 */
dataEndTime?: string;
/** 状态(1-未开始 2-进行中 3-已结束) */
status?: string;
/** 状态名称 */
statusName?: string;
/** 创建者 */
createBy?: string | number;
/** 创建时间 */
createTime?: string;
/** 更新者 */
updateBy?: string | number;
/** 更新时间 */
updateTime?: string;
}
/**
* 学生考核计划表单对象
*/
export interface XskhAssessmentScheduleForm extends BaseEntity {
/** 主键ID */
id?: string | number;
/** 考核计划名称 */
scheduleName?: string;
/** 考核计划说明 */
description?: string;
/** 考核方案ID */
planId?: string | number;
/** 考核方案名称 */
planName?: string;
/** 学年 */
academicYear?: string;
/** 学期(1-第一学期 2-第二学期) */
semester?: string;
/** 开始时间 */
startTime?: string;
/** 结束时间 */
endTime?: string;
/** 数据统计开始时间 */
dataStartTime?: string;
/** 数据统计结束时间 */
dataEndTime?: string;
/** 状态(1-未开始 2-进行中 3-已结束) */
status?: string;
}
/**
* 考核方案选项
*/
export interface AssessmentPlanOption {
/** 主键ID */
id: string | number;
/** 方案编号 */
planCode: string;
/** 方案名称 */
planName: string;
/** 方案说明 */
planDescription: string;
}
@@ -86,26 +86,6 @@ export interface DisciplineRecordVO {
*/
status: string;
/**
* 审批状态(1-已审批 2-审批中)
*/
approvalStatus: string;
/**
* 审批人ID
*/
approvalBy: string | number;
/**
* 审批时间
*/
approvalTime: string;
/**
* 审批备注
*/
approvalRemark: string;
/**
* 附件OSS ID列表,逗号分隔
*/
@@ -218,26 +198,6 @@ export interface DisciplineRecordForm {
*/
status?: string;
/**
* 审批状态(1-已审批 2-审批中)
*/
approvalStatus?: string;
/**
* 审批人ID
*/
approvalBy?: string | number;
/**
* 审批时间
*/
approvalTime?: string;
/**
* 审批备注
*/
approvalRemark?: string;
/**
* 附件OSS ID列表,逗号分隔
*/
@@ -245,7 +205,6 @@ export interface DisciplineRecordForm {
}
export interface DisciplineRecordQuery extends PageQuery {
/**
* 学生ID
*/
@@ -327,29 +286,9 @@ export interface DisciplineRecordQuery extends PageQuery {
status?: string;
/**
* 审批状态(1-已审批 2-审批中)
* 日期范围参数
*/
approvalStatus?: string;
/**
* 审批人ID
*/
approvalBy?: string | number;
/**
* 审批时间
*/
approvalTime?: string;
/**
* 审批备注
*/
approvalRemark?: string;
/**
* 日期范围参数
*/
params?: any;
dateRange?: string[];
}
/**
@@ -38,7 +38,6 @@ export interface DisciplineTypeVO {
* 删除标志(0-未删除 1-已删除)
*/
deleted: number;
}
export interface DisciplineTypeForm extends BaseEntity {
@@ -81,11 +80,9 @@ export interface DisciplineTypeForm extends BaseEntity {
* 删除标志(0-未删除 1-已删除)
*/
deleted?: number;
}
export interface DisciplineTypeQuery extends PageQuery {
/**
* 类型编码
*/
@@ -116,11 +113,8 @@ export interface DisciplineTypeQuery extends PageQuery {
*/
deleted?: number;
/**
* 日期范围参数
*/
params?: any;
/**
* 日期范围参数
*/
params?: any;
}
@@ -1,5 +1,6 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { TableDataInfo, R } from '@/api/types';
import { XskhRewardTypeVo, XskhRewardTypeBo, XskhRewardTypeQuery } from './types';
/**
@@ -33,7 +33,6 @@ export interface RewardTypeVO {
* 删除标志(0-未删除 1-已删除)
*/
deleted: number;
}
export interface RewardTypeForm extends BaseEntity {
@@ -71,11 +70,9 @@ export interface RewardTypeForm extends BaseEntity {
* 删除标志(0-未删除 1-已删除)
*/
deleted?: number;
}
export interface RewardTypeQuery extends PageQuery {
/**
* 类型编码
*/
@@ -106,11 +103,8 @@ export interface RewardTypeQuery extends PageQuery {
*/
deleted?: number;
/**
* 日期范围参数
*/
params?: any;
/**
* 日期范围参数
*/
params?: any;
}
@@ -86,26 +86,6 @@ export interface DisciplineRecordVO {
*/
status: string;
/**
* 审批状态(1-已审批 2-审批中)
*/
approvalStatus: string;
/**
* 审批人ID
*/
approvalBy: string | number;
/**
* 审批时间
*/
approvalTime: string;
/**
* 审批备注
*/
approvalRemark: string;
/**
* 附件OSS ID列表,逗号分隔
*/
@@ -218,26 +198,6 @@ export interface DisciplineRecordForm {
*/
status?: string;
/**
* 审批状态(1-已审批 2-审批中)
*/
approvalStatus?: string;
/**
* 审批人ID
*/
approvalBy?: string | number;
/**
* 审批时间
*/
approvalTime?: string;
/**
* 审批备注
*/
approvalRemark?: string;
/**
* 附件OSS ID列表,逗号分隔
*/
@@ -245,7 +205,6 @@ export interface DisciplineRecordForm {
}
export interface DisciplineRecordQuery extends PageQuery {
/**
* 学生ID
*/
@@ -327,29 +286,9 @@ export interface DisciplineRecordQuery extends PageQuery {
status?: string;
/**
* 审批状态(1-已审批 2-审批中)
* 日期范围参数
*/
approvalStatus?: string;
/**
* 审批人ID
*/
approvalBy?: string | number;
/**
* 审批时间
*/
approvalTime?: string;
/**
* 审批备注
*/
approvalRemark?: string;
/**
* 日期范围参数
*/
params?: any;
dateRange?: string[];
}
/**
+13 -14
View File
@@ -1,4 +1,4 @@
import request from '@/utils/request'
import request from '@/utils/request';
// 查询学生月度总结列表
export function listInternshipMonthly(query: any) {
@@ -6,7 +6,7 @@ export function listInternshipMonthly(query: any) {
url: '/zsjy/internship/monthly/list',
method: 'get',
params: query
})
});
}
// 获取学生月度总结详细信息
@@ -14,7 +14,7 @@ export function getInternshipMonthly(monthlyId: string | number) {
return request({
url: '/zsjy/internship/monthly/' + monthlyId,
method: 'get'
})
});
}
// 新增学生月度总结
@@ -23,7 +23,7 @@ export function addInternshipMonthly(data: any) {
url: '/zsjy/internship/monthly',
method: 'post',
data: data
})
});
}
// 修改学生月度总结
@@ -32,7 +32,7 @@ export function updateInternshipMonthly(data: any) {
url: '/zsjy/internship/monthly',
method: 'put',
data: data
})
});
}
// 删除学生月度总结
@@ -40,7 +40,7 @@ export function delInternshipMonthly(monthlyIds: string | number | Array<string
return request({
url: '/zsjy/internship/monthly/' + monthlyIds,
method: 'delete'
})
});
}
// 提交月度总结审批
@@ -48,7 +48,7 @@ export function submitInternshipMonthly(monthlyId: string | number) {
return request({
url: '/zsjy/internship/monthly/submit/' + monthlyId,
method: 'put'
})
});
}
// 自动保存草稿
@@ -57,7 +57,7 @@ export function autosaveInternshipMonthly(data: any) {
url: '/zsjy/internship/monthly/autosave',
method: 'post',
data: data
})
});
}
// 检查月份重复
@@ -65,7 +65,7 @@ export function checkSummaryMonth(summaryMonth: string) {
return request({
url: '/zsjy/internship/monthly/check/' + summaryMonth,
method: 'get'
})
});
}
// 获取月度总结模板
@@ -73,7 +73,7 @@ export function getMonthlyTemplate(summaryMonth: string) {
return request({
url: '/zsjy/internship/monthly/template/' + summaryMonth,
method: 'get'
})
});
}
// 获取状态统计
@@ -81,7 +81,7 @@ export function getMonthlyStatistics() {
return request({
url: '/zsjy/internship/monthly/statistics',
method: 'get'
})
});
}
// 导出月度总结数据
@@ -90,7 +90,7 @@ export function exportInternshipMonthly(query: any) {
url: '/zsjy/internship/monthly/export',
method: 'post',
params: query
})
});
}
// 获取学生当前实习信息
@@ -98,6 +98,5 @@ export function getCurrentInternshipInfo() {
return request({
url: '/zsjy/internship/monthly/current-internship',
method: 'get'
})
});
}
+13 -13
View File
@@ -1,4 +1,4 @@
import request from '@/utils/request'
import request from '@/utils/request';
/**
* 二维码管理 VO
@@ -156,7 +156,7 @@ export function listQrCode(query?: QrCodeQuery) {
url: '/zsjy/qrcode/list',
method: 'get',
params: query
})
});
}
/**
@@ -166,7 +166,7 @@ export function getQrCode(id: string | number) {
return request({
url: '/zsjy/qrcode/' + id,
method: 'get'
})
});
}
/**
@@ -177,7 +177,7 @@ export function addQrCode(data: QrCodeBO) {
url: '/zsjy/qrcode',
method: 'post',
data: data
})
});
}
/**
@@ -188,7 +188,7 @@ export function updateQrCode(data: QrCodeBO) {
url: '/zsjy/qrcode',
method: 'put',
data: data
})
});
}
/**
@@ -198,7 +198,7 @@ export function delQrCode(ids: string | number | Array<string | number>) {
return request({
url: '/zsjy/qrcode/' + ids,
method: 'delete'
})
});
}
/**
@@ -210,7 +210,7 @@ export function exportQrCode(query?: QrCodeQuery) {
method: 'post',
data: query,
responseType: 'blob'
})
});
}
/**
@@ -220,7 +220,7 @@ export function validateToken(token: string) {
return request({
url: '/zsjy/qrcode/validate/' + token,
method: 'get'
})
});
}
/**
@@ -230,7 +230,7 @@ export function getQrCodeByToken(token: string) {
return request({
url: '/zsjy/qrcode/token/' + token,
method: 'get'
})
});
}
/**
@@ -240,7 +240,7 @@ export function incrementUsage(id: string | number) {
return request({
url: '/zsjy/qrcode/increment/' + id,
method: 'post'
})
});
}
/**
@@ -250,7 +250,7 @@ export function generateToken() {
return request({
url: '/zsjy/qrcode/generate-token',
method: 'post'
})
});
}
/**
@@ -261,7 +261,7 @@ export const qrCodeTypeOptions = [
label: '招生报名',
value: 1
}
]
];
/**
* 状态选项
@@ -275,4 +275,4 @@ export const statusOptions = [
label: '启用',
value: 1
}
]
];