添加评查意见的悬浮按钮
This commit is contained in:
@@ -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',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user