|
@@ -146,6 +146,8 @@ const studentHandler = async (student: any, obj: any) => {
|
|
|
v.groupNumber == item.groupNumber &&
|
|
|
v.userRole &&
|
|
|
v.userRole !== "MARKER" &&
|
|
|
+ v.questionNumber &&
|
|
|
+ v.questionNumber === item.questionNumber &&
|
|
|
(item.userRole === "MARKER" || !item.userRole)
|
|
|
);
|
|
|
})
|
|
@@ -201,8 +203,8 @@ const studentHandler = async (student: any, obj: any) => {
|
|
|
// colorMap[groupNumber + ""][tag.userId + ""] = c;
|
|
|
}
|
|
|
}
|
|
|
- // console.log("allTags:", allTags);
|
|
|
- // console.log("colorMap:", colorMap);
|
|
|
+ console.log("allTags:", allTags);
|
|
|
+ console.log("colorMap:", colorMap);
|
|
|
let resultImgList: any[] = [];
|
|
|
let sheetUrlsLength = (student.sheetUrls || []).length;
|
|
|
for (const sheetUrl of student.sheetUrls) {
|