Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-12-13 21:45:50 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f755c92ef6aa1638ae912898b2cb4dfabc982707
f755c92e
1 parent
24e0f7f9
fix(teacher): 使用路由参数替代本地变量获取任务数据
修复学生记录页面中任务数据获取方式,从使用本地变量改为从路由参数获取,确保数据一致性
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/teacher/studentRecordPage.vue
src/views/teacher/studentRecordPage.vue
View file @
f755c92
<!--
* @Date: 2025-11-19 22:05:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-12-1
2 21:26:17
* @LastEditTime: 2025-12-1
3 21:42:55
* @FilePath: /mlaj/src/views/teacher/studentRecordPage.vue
* @Description: 学生作业记录页面(仅作业记录与点评功能),固定 user_id 与 group_id
-->
...
...
@@ -247,12 +247,12 @@ function handleAudioPlay(id) {
async function onLoad() {
const nextPage = page.value
const res = await getCheckinTeacherListAPI({
task_id:
task_id.value
,
subtask_id:
selectedSubtaskId.value
,
task_id:
$route.query.task_id
,
subtask_id:
$route.query.subtask_id
,
limit: limit.value,
page: nextPage,
created_by:
created_by.value
,
date:
date.valu
e,
created_by:
$route.query.created_by
,
date:
$route.query.dat
e,
})
if (res.code) {
checkinDataList.value = [...checkinDataList.value, ...formatData(res.data.checkin_list)]
...
...
Please
register
or
login
to post a comment