wuzhen update
This commit is contained in:
1 parent
edaf8dbacf
commit
48da578546
86 files changed
+2101
-1849
No files matched your search
@@ -1,6 +1,12 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import { AssessmentApprovalQuery, AssessmentApprovalVO, AssessmentApprovalDetailVO, AssessmentApprovalSubmitBO, EvaluationLevelStatsVO } from './types';
|
||||
import {
|
||||
AssessmentApprovalQuery,
|
||||
AssessmentApprovalVO,
|
||||
AssessmentApprovalDetailVO,
|
||||
AssessmentApprovalSubmitBO,
|
||||
EvaluationLevelStatsVO
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
* 查询班主任考核审核列表
|
||||
|
||||
@@ -224,11 +224,12 @@ export interface AssessmentApprovalSpecialWorkSubmitVO {
|
||||
* 评价等级统计数据
|
||||
*/
|
||||
export interface EvaluationLevelStatsVO {
|
||||
totalTeachers: number; // 总班主任数量
|
||||
totalTeachers: number; // 总班主任数量
|
||||
scoreRankings: ScoreRankingVO[]; // 分数排名列表
|
||||
evaluationLevelRules: { // 评价等级规则
|
||||
aLevelMaxPercentage: number; // A等最大占比(如20%)
|
||||
passScore: number; // 及格分数(如60分)
|
||||
evaluationLevelRules: {
|
||||
// 评价等级规则
|
||||
aLevelMaxPercentage: number; // A等最大占比(如20%)
|
||||
passScore: number; // 及格分数(如60分)
|
||||
};
|
||||
}
|
||||
|
||||
@@ -236,8 +237,8 @@ export interface EvaluationLevelStatsVO {
|
||||
* 分数排名VO
|
||||
*/
|
||||
export interface ScoreRankingVO {
|
||||
score: number; // 考核得分
|
||||
ranking: number; // 排名(从1开始)
|
||||
percentage: number; // 百分比排名(前X%)
|
||||
score: number; // 考核得分
|
||||
ranking: number; // 排名(从1开始)
|
||||
percentage: number; // 百分比排名(前X%)
|
||||
evaluatedUserId?: string | number; // 被评价用户ID(可选,用于标识当前用户)
|
||||
}
|
||||
@@ -61,6 +61,7 @@ export interface CwApprovalRecordVO {
|
||||
*/
|
||||
export interface CwCustomApprovalRequest {
|
||||
applicationId: string | number;
|
||||
applicationNo: string;
|
||||
auditorIds: Array<string | number>;
|
||||
processName: string;
|
||||
submitterId: string | number;
|
||||
|
||||
@@ -63,6 +63,22 @@ export interface BatchAddRequest {
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量添加审核人详细请求对象(包含完整用户信息)
|
||||
*/
|
||||
export interface BatchAddDetailRequest {
|
||||
users: Array<{
|
||||
userId: string | number;
|
||||
userName: string;
|
||||
nickName: string;
|
||||
deptId: string | number;
|
||||
deptName: string;
|
||||
phoneNumber: string; // 注意:这里使用驼峰命名,确保与数据库字段映射
|
||||
email: string;
|
||||
}>;
|
||||
remark?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 状态更新请求对象
|
||||
*/
|
||||
@@ -149,6 +165,20 @@ export function batchAddProjectAuditor(data: BatchAddRequest): AxiosPromise<void
|
||||
});
|
||||
}
|
||||
|
||||
// 注释掉:后端暂不支持带完整用户信息的批量添加接口
|
||||
// 使用 batchAddProjectAuditor 接口,后端会自动查询用户完整信息
|
||||
/**
|
||||
* 批量添加审核人(带完整用户信息)- 已弃用
|
||||
* 改用 batchAddProjectAuditor,后端会自动获取用户完整信息
|
||||
*/
|
||||
// export function batchAddProjectAuditorWithDetails(data: BatchAddDetailRequest): AxiosPromise<void> {
|
||||
// return request({
|
||||
// url: '/cw/projectAuditor/batchAddWithDetails',
|
||||
// method: 'post',
|
||||
// data: data
|
||||
// });
|
||||
// }
|
||||
|
||||
/**
|
||||
* 获取可用审核人列表
|
||||
*/
|
||||
|
||||
@@ -59,4 +59,4 @@ export function getTeamsByActivityId(activityId: string | number) {
|
||||
url: '/stgl/activityteaminfo/activity/' + activityId,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -238,4 +238,4 @@ export interface StglActivityTeamInfoVo {
|
||||
* 更新时间
|
||||
*/
|
||||
updateTime?: string;
|
||||
}
|
||||
}
|
||||
@@ -61,4 +61,4 @@ export function exportStglClass(query: StglClassQuery) {
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -299,4 +299,4 @@ export interface StglClassDetailVO {
|
||||
* 年级
|
||||
*/
|
||||
grade: string;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,10 @@
|
||||
import request from '@/utils/request';
|
||||
import { XskhAssessmentApplicationApprovalQuery, XskhAssessmentApplicationApprovalBo, XskhAssessmentApplicationApprovalVo, AvailableScheduleOption } from './types';
|
||||
import {
|
||||
XskhAssessmentApplicationApprovalQuery,
|
||||
XskhAssessmentApplicationApprovalBo,
|
||||
XskhAssessmentApplicationApprovalVo,
|
||||
AvailableScheduleOption
|
||||
} from './types';
|
||||
|
||||
// 查询学生考核申请列表
|
||||
export function listAssessmentApplication(query: XskhAssessmentApplicationApprovalQuery) {
|
||||
@@ -91,4 +96,4 @@ export function getIndicatorsByScheduleId(scheduleId: string | number) {
|
||||
url: `/assessment/application/indicators/${scheduleId}`,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -71,4 +71,4 @@ export function getAvailableAssessmentSchedules() {
|
||||
url: '/assessment/approval/available',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -138,4 +138,4 @@ export interface RewardTypeOption {
|
||||
typeCode: string;
|
||||
/** 类型名称 */
|
||||
typeName: string;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,12 @@
|
||||
import request from '@/utils/request';
|
||||
import { AxiosPromise } from 'axios';
|
||||
import { TableDataInfo, R } from '@/api/types';
|
||||
import { XskhAssessmentIndicatorTypeVo, XskhAssessmentIndicatorTypeBo, XskhAssessmentIndicatorTypeQuery, XskhAssessmentIndicatorTypeForm } from './types';
|
||||
import {
|
||||
XskhAssessmentIndicatorTypeVo,
|
||||
XskhAssessmentIndicatorTypeBo,
|
||||
XskhAssessmentIndicatorTypeQuery,
|
||||
XskhAssessmentIndicatorTypeForm
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
* 查询学生考核指标类型列表
|
||||
@@ -75,4 +80,4 @@ export function getEnabledAssessmentIndicatorTypes(): AxiosPromise<R<XskhAssessm
|
||||
url: '/assessment/indicatorType/enabled',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -86,4 +86,4 @@ export interface XskhAssessmentIndicatorTypeForm extends BaseEntity {
|
||||
status?: string;
|
||||
/** 排序号 */
|
||||
sortOrder?: number;
|
||||
}
|
||||
}
|
||||
@@ -75,4 +75,4 @@ export function getEnabledAssessmentPlans(): AxiosPromise<R<XskhAssessmentPlanVo
|
||||
url: '/assessment/plan/enabled',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -140,4 +140,4 @@ export interface AssessmentIndicatorOption {
|
||||
indicatorDescription: string;
|
||||
/** 最高分值 */
|
||||
maxScore: number;
|
||||
}
|
||||
}
|
||||
@@ -124,4 +124,4 @@ export function getEnabledAssessmentPlans(): AxiosPromise<R<any[]>> {
|
||||
url: '/assessment/plan/enabled',
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -142,4 +142,4 @@ export interface AssessmentPlanOption {
|
||||
planName: string;
|
||||
/** 方案说明 */
|
||||
planDescription: string;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user