“数据更新”
This commit is contained in:
1 parent
1277f1c6aa
commit
26044cc790
23 files changed
+2835
-15
No files matched your search
@@ -70,7 +70,7 @@ export function delBmzrAssessmentIndicator(ids: string | number | Array<string |
|
||||
*/
|
||||
export function getIndicatorTypeOptions() {
|
||||
return request({
|
||||
url: '/bzrkh/assessmentIndicator/indicatorTypes/options',
|
||||
url: '/bzrkh/assessmentIndicatorType/listAllIncludeDeleted',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
@@ -81,7 +81,7 @@ export function getIndicatorTypeOptions() {
|
||||
*/
|
||||
export function getParentIndicatorOptions() {
|
||||
return request({
|
||||
url: '/bzrkh/assessmentIndicator/parentIndicators/options',
|
||||
url: '/bzrkh/assessmentIndicator/treeselect',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
@@ -1,6 +1,13 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import { TeacherClassVO, TeacherAssessmentPlanVO, TeacherAssessmentPlanQuery, TeacherClassQuery } from './types';
|
||||
import {
|
||||
TeacherClassVO,
|
||||
TeacherAssessmentPlanVO,
|
||||
TeacherAssessmentPlanQuery,
|
||||
TeacherClassQuery,
|
||||
AssessmentDetailVO,
|
||||
AssessmentSubmitVO
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
* 查询班主任管理的班级列表
|
||||
@@ -58,4 +65,32 @@ export const getAssessmentDetail = (planId: string | number, classId: string | n
|
||||
classId
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取考核提交详情数据(用于提交弹窗)
|
||||
* @param planId 计划ID
|
||||
* @param classId 班级ID
|
||||
*/
|
||||
export const getAssessmentSubmitDetail = (planId: string | number, classId: string | number): AxiosPromise<AssessmentDetailVO> => {
|
||||
return request({
|
||||
url: '/bzrkh/teacherAssessment/submitDetail',
|
||||
method: 'get',
|
||||
params: {
|
||||
planId,
|
||||
classId
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 提交考核评分数据
|
||||
* @param data 考核提交数据
|
||||
*/
|
||||
export const submitAssessmentScore = (data: AssessmentSubmitVO): AxiosPromise<void> => {
|
||||
return request({
|
||||
url: '/bzrkh/teacherAssessment/submitScore',
|
||||
method: 'post',
|
||||
data
|
||||
});
|
||||
};
|
||||
@@ -204,4 +204,221 @@ export interface TeacherClassQuery {
|
||||
* 班级状态:1-正常,2-暂停,3-毕业,4-解散
|
||||
*/
|
||||
classStatus?: string;
|
||||
}
|
||||
|
||||
// ========== 新增:考核提交相关类型定义 ==========
|
||||
|
||||
/**
|
||||
* 班级详细信息
|
||||
*/
|
||||
export interface ClassDetailVO {
|
||||
/**
|
||||
* 班级ID
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 学院名称
|
||||
*/
|
||||
collegeName?: string;
|
||||
|
||||
/**
|
||||
* 专业名称
|
||||
*/
|
||||
majorName?: string;
|
||||
|
||||
/**
|
||||
* 班级名称
|
||||
*/
|
||||
className?: string;
|
||||
|
||||
/**
|
||||
* 班级层次:1-中级工 2-高级工 3-预备技师 4-技师 5-中高职一体
|
||||
*/
|
||||
classType?: string;
|
||||
|
||||
/**
|
||||
* 班级总人数
|
||||
*/
|
||||
totalStudentCount?: number;
|
||||
|
||||
/**
|
||||
* 住校生人数
|
||||
*/
|
||||
boardingStudentCount?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 系数信息
|
||||
*/
|
||||
export interface CoefficientVO {
|
||||
/**
|
||||
* 人数系数(K2)
|
||||
*/
|
||||
studentCountCoefficient?: number;
|
||||
|
||||
/**
|
||||
* 住校生系数(K3)
|
||||
*/
|
||||
boardingCoefficient?: number;
|
||||
|
||||
/**
|
||||
* 层次系数(K1)
|
||||
*/
|
||||
levelCoefficient?: number;
|
||||
|
||||
/**
|
||||
* 总系数(K = K1 * (K2 + K3))
|
||||
*/
|
||||
totalCoefficient?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 考核指标信息
|
||||
*/
|
||||
export interface AssessmentIndicatorVO {
|
||||
/**
|
||||
* 指标ID
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 指标名称
|
||||
*/
|
||||
indicatorName?: string;
|
||||
|
||||
/**
|
||||
* 指标编码
|
||||
*/
|
||||
indicatorCode?: string;
|
||||
|
||||
/**
|
||||
* 指标描述
|
||||
*/
|
||||
description?: string;
|
||||
|
||||
/**
|
||||
* 指标分值
|
||||
*/
|
||||
score?: number;
|
||||
|
||||
/**
|
||||
* 自评分数
|
||||
*/
|
||||
selfScore?: number;
|
||||
|
||||
/**
|
||||
* 自评意见
|
||||
*/
|
||||
selfComment?: string;
|
||||
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
sortOrder?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 特色工作指标
|
||||
*/
|
||||
export interface SpecialWorkIndicatorVO {
|
||||
/**
|
||||
* 指标编码
|
||||
*/
|
||||
indicatorCode?: string;
|
||||
|
||||
/**
|
||||
* 指标名称
|
||||
*/
|
||||
indicatorName?: string;
|
||||
|
||||
/**
|
||||
* 分值
|
||||
*/
|
||||
score?: number;
|
||||
|
||||
/**
|
||||
* 自评意见
|
||||
*/
|
||||
selfComment?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 考核提交数据
|
||||
*/
|
||||
export interface AssessmentSubmitVO {
|
||||
/**
|
||||
* 考核计划ID
|
||||
*/
|
||||
planId?: string | number;
|
||||
|
||||
/**
|
||||
* 班级ID
|
||||
*/
|
||||
classId?: string | number;
|
||||
|
||||
/**
|
||||
* 班主任常规工作指标评分
|
||||
*/
|
||||
routineWorkScores?: AssessmentIndicatorVO[];
|
||||
|
||||
/**
|
||||
* 班级扣分
|
||||
*/
|
||||
classDeduction?: number;
|
||||
|
||||
/**
|
||||
* 班级扣分意见
|
||||
*/
|
||||
classDeductionComment?: string;
|
||||
|
||||
/**
|
||||
* 特色工作指标评分
|
||||
*/
|
||||
specialWorkScores?: SpecialWorkIndicatorVO[];
|
||||
|
||||
/**
|
||||
* 总体评价
|
||||
*/
|
||||
overallComment?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 考核详情数据
|
||||
*/
|
||||
export interface AssessmentDetailVO {
|
||||
/**
|
||||
* 班级详细信息
|
||||
*/
|
||||
classDetail?: ClassDetailVO;
|
||||
|
||||
/**
|
||||
* 系数信息
|
||||
*/
|
||||
coefficient?: CoefficientVO;
|
||||
|
||||
/**
|
||||
* 班主任常规工作指标列表
|
||||
*/
|
||||
routineWorkIndicators?: AssessmentIndicatorVO[];
|
||||
|
||||
/**
|
||||
* 班级扣分指标
|
||||
*/
|
||||
classDeductionIndicator?: AssessmentIndicatorVO;
|
||||
|
||||
/**
|
||||
* 特色工作指标列表
|
||||
*/
|
||||
specialWorkIndicators?: SpecialWorkIndicatorVO[];
|
||||
|
||||
/**
|
||||
* 月考核得分
|
||||
*/
|
||||
monthlyScore?: number;
|
||||
|
||||
/**
|
||||
* 总体评价
|
||||
*/
|
||||
overallComment?: string;
|
||||
}
|
||||
Reference in new issue
Block a user