debug: add server-side point.code logging and enlarge badge

This commit is contained in:
2026-03-23 20:25:30 +08:00
parent daca126ee2
commit 38a43133c0
2 changed files with 9 additions and 4 deletions
+7 -2
View File
@@ -364,7 +364,12 @@ export async function getReviewPoints(fileId: string, request: Request) {
pointsMap.set(point.id, point);
});
// console.log('pointsMap-------', pointsMap);
// DEBUG: check if code field exists in point data
if (evaluationPointsData.length > 0) {
const sample = evaluationPointsData[0];
console.log('[DEBUG] point sample keys:', Object.keys(sample));
console.log('[DEBUG] point sample code:', sample.code, 'name:', sample.name);
}
const groupsMap = new Map<string | number, EvaluationPointGroup>();
groupsData.forEach(group => {
@@ -459,7 +464,7 @@ export async function getReviewPoints(fileId: string, request: Request) {
editAuditStatusMessage: editAuditStatus.message,
title: message,
pointName: point.name || '',
pointCode: point.code || '',
pointCode: point.code as string || '',
groupName: group.name || '',
status: point.suggestion_message_type || '', //评查点的评查结果状态