/** 考试成绩汇总行 */
|
export interface ExamScoreSummaryItem {
|
id: string;
|
taskSubject: string;
|
taskNo: string;
|
paperId: string;
|
paperName: string;
|
/** 试卷是否已失效 */
|
paperInvalid?: boolean;
|
participantCount: number;
|
failCount: number;
|
maxScore: number;
|
minScore: number;
|
avgScore: number;
|
passScore: number;
|
totalScore: number;
|
}
|
|
export interface ExamScorePageQuery {
|
currentPage?: number;
|
pageSize?: number;
|
keyword?: string;
|
taskNo?: string;
|
}
|
|
/** 考生试卷列表行 */
|
export interface ExamScoreDetailRow {
|
id: string;
|
summaryId: string;
|
taskSubject: string;
|
taskNo: string;
|
/** 用户ID / 登录名 */
|
userId: string;
|
/** 显示名 */
|
userName: string;
|
deptName?: string;
|
examStart?: string;
|
examEnd?: string;
|
score: number;
|
passScore: number;
|
passFlag: string;
|
sourceIp?: string;
|
}
|
|
export interface ExamScoreDetail {
|
id: string;
|
taskSubject: string;
|
taskNo: string;
|
paperName: string;
|
paperInvalid?: boolean;
|
participantCount: number;
|
failCount: number;
|
maxScore: number;
|
minScore: number;
|
avgScore: number;
|
passScore: number;
|
totalScore: number;
|
rows: ExamScoreDetailRow[];
|
}
|
|
/** 考生答卷详情(查看试卷) */
|
export interface ExamPaperView {
|
examId: string;
|
summaryId: string;
|
taskSubject: string;
|
taskNo: string;
|
paperName: string;
|
userId: string;
|
userName: string;
|
deptName?: string;
|
examStart?: string;
|
examEnd?: string;
|
score: number;
|
passScore: number;
|
totalScore: number;
|
passFlag: string;
|
sourceIp?: string;
|
items: ExamPaperViewItem[];
|
}
|
|
export interface ExamPaperViewItem {
|
id: string;
|
questionType: 'single' | 'multi' | 'judge' | 'blank' | 'essay';
|
stem: string;
|
options?: { optionLabel: string; optionContent: string }[];
|
correctAnswer?: string;
|
userAnswer?: string;
|
analysis?: string;
|
score: number;
|
gotScore: number;
|
isCorrect?: boolean;
|
isSubjective?: '0' | '1';
|
}
|