diff --git a/src/components/marking/QuestionTabs.vue b/src/components/marking/QuestionTabs.vue
index 6bcdbaa..0652e8e 100644
--- a/src/components/marking/QuestionTabs.vue
+++ b/src/components/marking/QuestionTabs.vue
@@ -1,12 +1,19 @@
@@ -199,15 +184,15 @@ function formatAverageTime(seconds?: number): string {
-
+
@@ -225,110 +210,107 @@ function formatAverageTime(seconds?: number): string {
-
-
-
-
+
+ 题目详情
+
+
+
- 初评老师
-
-
+
- 终评老师
-
+ 平均分{{ questionQualityResponse?.average_score || 0 }}
+
+
+ 最高分{{ questionQualityResponse?.max_score || 0 }}
+
+
+ 最低分{{ questionQualityResponse?.min_score || 0 }}
+
-
-
-
-
+
+
+
+
+ 初评老师
+
+
+ 终评老师
+
+
+
+
+
+
+
- {{ shouldShowFinalTeacher && activeTeacherType === 'final' ? '终评老师' : '初评老师' }}
+ {{ hasDoubleEvaluation ? (activeEvaluateType === 'initial' ? '初评老师' : '终评老师') : '阅卷老师' }}
-
-
- 姓名
- 阅卷量
- 问题卷
- 平均分
- 平均用时
- 标准差
-
-
-
-
-
-
-
-
- {{ school.school_name }}
-
-
-
-
-
-
-
-
- {{ teacher.teacher_name }}
-
-
-
-
- {{ teacher.marking_count || 0 }}
-
-
-
-
- {{ teacher.problem_num || 0 }}
-
-
-
-
- {{ teacher.average_score?.toFixed(1) || '-' }}
-
-
-
-
- {{ formatAverageTime(teacher.average_time) }}
-
-
-
-
- {{ teacher.standard_dev?.toFixed(2) || '-' }}
-
+
+
+
+
+
+
+ {{ teacher.teacher_name || '未知老师' }}
+ {{ teacher.phone }}
+
+
+ {{ formatScore(teacher.average_score || 0) }}分
+
+ 平均分
+
+
-
-
- 暂无老师数据
+
+
+
+ {{ teacher.marking_count || 0 }}
+ 阅卷数
+
+
+ {{ formatTime(teacher.average_time || 0) }}
+ 平均用时
+
+
+ {{ teacher.problem_num || 0 }}
+ 问题卷
+
-
-
- 暂无阅卷质量数据
-
+
+
+
+ {{ hasDoubleEvaluation ? `暂无${activeEvaluateType === 'initial' ? '初评' : '终评'}老师数据` : '暂无老师数据' }}
+
diff --git a/src/service/yuejuanzhiliang.ts b/src/service/yuejuanzhiliang.ts
index 7c1fdcd..c43a9ee 100644
--- a/src/service/yuejuanzhiliang.ts
+++ b/src/service/yuejuanzhiliang.ts
@@ -115,20 +115,20 @@ export async function markingQualityExportTeacherDetailUsingGet({
});
}
-/** 获取题目阅卷质量 根据question_id获取指定题目的阅卷质量统计,包含大题、小题、评价方法、总分数、平均分数等详细信息 GET /marking-quality/question-quality */
-export async function markingQualityQuestionQualityUsingGet({
+/** 获取题目阅卷质量 根据question_id获取指定题目的阅卷质量统计,包含大题、小题、评价方法、总分数、平均分数等详细信息 GET /marking-quality/question */
+export async function markingQualityQuestionUsingGet({
params,
options,
}: {
// 叠加生成的Param类型 (非body参数openapi默认没有生成对象)
- params: API.markingQualityQuestionQualityUsingGetParams;
+ params: API.markingQualityQuestionUsingGetParams;
options?: CustomRequestOptions;
}) {
return request<
API.Response & {
data?: API.GetQuestionMarkingQualityResponse;
}
- >('/marking-quality/question-quality', {
+ >('/marking-quality/question', {
method: 'GET',
params: {
...params,