刘光辉
2 小时以前 cf11e63b659afcc9792ab3e395f1b45d844431a8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/** 考试成绩汇总行 */
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';
}