feat(自学情况): 每个学生练一练做到哪了——格子分出做了一部分、点名字看逐题明细
- 方块格多一档「做了一部分」:按做对的比例从下往上涨绿,一道没做对的底下压一条橙; 鼠标停上去是「练一练 3/5,错了 4 次」 - 「练一练」列改成 做对/应做(应做 = 他打开过的课的练一练总数) - 点学生名字从右边滑出明细:每课一段,逐题写第几次做对、交了几次、最后错在哪; 手机上返回键关它 - 点开一道练一练,底下多一串「读了这课还没做」的人 - 顺手修:那个弹框七列加起来比弹框宽,「最后作答」被挤没了;改成一列用户名 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
859a537804
commit
7839a65f59
9 files changed
+647
-44
No files matched your search
@@ -12,7 +12,8 @@ import type {
|
||||
GradeTrendProblem,
|
||||
LearnBoard,
|
||||
LearnExerciseProgressList,
|
||||
LearnExerciseAttempt,
|
||||
LearnExerciseAttemptList,
|
||||
LearnStudentDetail,
|
||||
AdminContestList,
|
||||
AdminUser,
|
||||
AdminUserList,
|
||||
@@ -657,9 +658,14 @@ export function getLearnExercises(params: { type: "python" | "c"; className?: st
|
||||
}
|
||||
|
||||
export function getLearnExerciseAttempts(exerciseId: number, params: { className?: string }) {
|
||||
return api.get<LearnExerciseAttempt[]>(`admin/learn-analytics/exercises/${exerciseId}/attempts`, {
|
||||
params,
|
||||
})
|
||||
return api.get<LearnExerciseAttemptList>(
|
||||
`admin/learn-analytics/exercises/${exerciseId}/attempts`,
|
||||
{ params },
|
||||
)
|
||||
}
|
||||
|
||||
export function getLearnStudent(userId: number, params: { type: "python" | "c" }) {
|
||||
return api.get<LearnStudentDetail>(`admin/learn-analytics/students/${userId}`, { params })
|
||||
}
|
||||
|
||||
export function getGradeTrend() {
|
||||
|
||||
Reference in new issue
Block a user