添加评查意见的悬浮按钮

This commit is contained in:
2025-07-17 01:16:43 +08:00
parent 290936a339
commit 348128bbe0
4 changed files with 161 additions and 109 deletions
+5 -1
View File
@@ -315,7 +315,7 @@ export async function getReviewPoints(fileId: string) {
'document_id': `eq.${fileId}`
}
};
const scoringProposalsResponse = await postgrestGet('scoring_proposals', scoringProposalsParams);
const scoringProposalsResponse = await postgrestGet('cross_scoring_proposals', scoringProposalsParams);
if (scoringProposalsResponse.error) {
return { error: scoringProposalsResponse.error, status: scoringProposalsResponse.status };
@@ -404,8 +404,12 @@ export async function getReviewPoints(fileId: string) {
// suggestion: '只是给建议的修改内容',
result: result.evaluated_results?.result, // 记录评查结果,用于统计
// score是评查点设置的满分的分数
score: point.score || 0,
// finalScore是评查点对应评查结果最终所得的分数 用户交叉评查时使用
finalScore: result.final_score || 0,
postAction: point.post_action || '',
// postAction: 'manual',