hookehuyr

feat(教师页面): 在格式化数据中添加is_makeup字段

为studentPage、checkinPage和studentRecordPage的格式化数据函数添加is_makeup字段,用于标识补课记录
...@@ -701,6 +701,7 @@ const formatData = (data) => { ...@@ -701,6 +701,7 @@ const formatData = (data) => {
701 name: item.username, 701 name: item.username,
702 avatar: item.avatar, 702 avatar: item.avatar,
703 time: item.created_time_desc, 703 time: item.created_time_desc,
704 + is_makeup: item.is_makeup,
704 }, 705 },
705 content: item.note, 706 content: item.note,
706 images, 707 images,
......
...@@ -861,6 +861,7 @@ const formatData = (data) => { ...@@ -861,6 +861,7 @@ const formatData = (data) => {
861 name: item.username, 861 name: item.username,
862 avatar: item.avatar, 862 avatar: item.avatar,
863 time: item.created_time_desc, 863 time: item.created_time_desc,
864 + is_makeup: item.is_makeup,
864 }, 865 },
865 content: item.note, 866 content: item.note,
866 images, 867 images,
......
1 <!-- 1 <!--
2 * @Date: 2025-11-19 22:05:00 2 * @Date: 2025-11-19 22:05:00
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-12-15 18:21:39 4 + * @LastEditTime: 2025-12-18 10:59:15
5 * @FilePath: /mlaj/src/views/teacher/studentRecordPage.vue 5 * @FilePath: /mlaj/src/views/teacher/studentRecordPage.vue
6 * @Description: 学生作业记录页面(仅作业记录与点评功能),固定 user_id 与 group_id 6 * @Description: 学生作业记录页面(仅作业记录与点评功能),固定 user_id 与 group_id
7 --> 7 -->
...@@ -297,6 +297,7 @@ function formatData(data) { ...@@ -297,6 +297,7 @@ function formatData(data) {
297 name: item.username, 297 name: item.username,
298 avatar: item.avatar, 298 avatar: item.avatar,
299 time: item.created_time_desc, 299 time: item.created_time_desc,
300 + is_makeup: item.is_makeup,
300 }, 301 },
301 content: item.note, 302 content: item.note,
302 images, 303 images,
......