提交审核

This commit is contained in:
zlwu committed 2025-09-07 23:04:08 +08:00
1 parent a3d3fccd33
commit 0a96ebf80c
14 files changed
+1832 -175

No files matched your search

@@ -98,12 +98,50 @@ export const applyDisciplineRevoke = (data: DisciplineRevokeForm) => {
};
/**
* 审核撤销申请
* 查询班主任待审核的撤销申请列表
* @param query
* @returns {*}
*/
export const listClassTeacherDisciplineRevoke = (query?: DisciplineRevokeQuery): AxiosPromise<DisciplineRevokeVO[]> => {
return request({
url: '/disciplineRevoke/disciplineRevoke/classTeacherList',
method: 'get',
params: query
});
};
/**
* 班主任审核撤销申请
* @param data
*/
export const approveDisciplineRevoke = (data: DisciplineRevokeForm) => {
export const teacherApproveDisciplineRevoke = (data: DisciplineRevokeForm) => {
return request({
url: '/disciplineRevoke/disciplineRevoke/approve',
url: '/disciplineRevoke/disciplineRevoke/teacherApprove',
method: 'put',
data: data
});
};
/**
* 查询学工处待审核的撤销申请列表
* @param query
* @returns {*}
*/
export const listStudentAffairsDisciplineRevoke = (query?: DisciplineRevokeQuery): AxiosPromise<DisciplineRevokeVO[]> => {
return request({
url: '/disciplineRevoke/disciplineRevoke/studentAffairsList',
method: 'get',
params: query
});
};
/**
* 学工处审核撤销申请
* @param data
*/
export const studentAffairsApproveDisciplineRevoke = (data: DisciplineRevokeForm) => {
return request({
url: '/disciplineRevoke/disciplineRevoke/studentAffairsApprove',
method: 'put',
data: data
});
+78 -17
View File
@@ -37,27 +37,47 @@ export interface DisciplineRevokeVO {
applyTime: string;
/**
* 状态(1-待审核 2-审核通过 3-审核拒绝)
* 状态(1-待班主任审核 2-待学工处审核 3-审核通过 4-班主任审核拒绝 5-学工处审核拒绝)
*/
status: string;
/**
* 审核人ID
* 班主任审核人ID
*/
teacherApprovalBy: string | number;
/**
* 班主任审核人姓名
*/
teacherApprovalByName: string;
/**
* 班主任审核时间
*/
teacherApprovalTime: string;
/**
* 班主任审核备注
*/
teacherApprovalRemark: string;
/**
* 学工处审核人ID
*/
approvalBy: string | number;
/**
* 审核人姓名
* 学工处审核人姓名
*/
approvalByName: string;
/**
* 审核时间
* 学工处审核时间
*/
approvalTime: string;
/**
* 审核备注
* 学工处审核备注
*/
approvalRemark: string;
@@ -80,6 +100,22 @@ export interface DisciplineRevokeVO {
* 更新时间
*/
updateTime: string;
// 扩展字段(用于关联查询显示)
/**
* 学号
*/
studentNo?: string;
/**
* 违纪类型名称
*/
disciplineTypeName?: string;
/**
* 违纪日期
*/
disciplineDate?: string;
}
export interface DisciplineRevokeForm {
@@ -119,22 +155,37 @@ export interface DisciplineRevokeForm {
applyTime?: string;
/**
* 状态(1-待审核 2-审核通过 3-审核拒绝)
* 状态(1-待班主任审核 2-待学工处审核 3-审核通过 4-班主任审核拒绝 5-学工处审核拒绝)
*/
status?: string;
/**
* 审核人ID
* 班主任审核人ID
*/
teacherApprovalBy?: string | number;
/**
* 班主任审核时间
*/
teacherApprovalTime?: string;
/**
* 班主任审核备注
*/
teacherApprovalRemark?: string;
/**
* 学工处审核人ID
*/
approvalBy?: string | number;
/**
* 审核时间
* 学工处审核时间
*/
approvalTime?: string;
/**
* 审核备注
* 学工处审核备注
*/
approvalRemark?: string;
}
@@ -155,6 +206,11 @@ export interface DisciplineRevokeQuery extends PageQuery {
*/
studentName?: string;
/**
* 学号
*/
studentNo?: string;
/**
* 撤销申请原因
*/
@@ -166,25 +222,30 @@ export interface DisciplineRevokeQuery extends PageQuery {
applyTime?: string;
/**
* 状态(1-待审核 2-审核通过 3-审核拒绝)
* 状态(1-待班主任审核 2-待学工处审核 3-审核通过 4-班主任审核拒绝 5-学工处审核拒绝)
*/
status?: string;
/**
* 审核人ID
* 班主任审核人ID
*/
teacherApprovalBy?: string | number;
/**
* 班主任审核时间
*/
teacherApprovalTime?: string;
/**
* 学工处审核人ID
*/
approvalBy?: string | number;
/**
* 审核时间
* 学工处审核时间
*/
approvalTime?: string;
/**
* 审核备注
*/
approvalRemark?: string;
/**
* 其他参数
*/