debug: add server-side point.code logging and enlarge badge
This commit is contained in:
@@ -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 || '', //评查点的评查结果状态
|
||||
|
||||
Reference in New Issue
Block a user