完成智慧法务前端调整20250522,还有登录和主页需要完善

This commit is contained in:
2025-05-27 23:48:28 +08:00
parent 742a789244
commit 690d369f57
30 changed files with 1557 additions and 292 deletions
+6 -3
View File
@@ -161,7 +161,7 @@ export async function getReviewPoints(fileId: string) {
return { data: [], stats: { total: 0, success: 0, warning: 0, error: 0, score: 0 } };
}
// 查询评查点组
// 步骤3查询评查点组
const groupsParams: PostgrestParams = {
select: '*',
filter: {
@@ -180,7 +180,7 @@ export async function getReviewPoints(fileId: string) {
return { data: [], stats: { total: 0, success: 0, warning: 0, error: 0, score: 0 } };
}
// 从audit_status表中 获取 需人工审核 的那些评查点的数据
// 步骤4从audit_status表中 获取 需人工审核 的那些评查点的数据
// console.log('evaluationPointsData1112------', evaluationPointsData.find(point => point.post_action === 'manual'));
const manualReviewPoints = evaluationPointsData.filter(point => point.post_action === 'manual');
const manualReviewPointsIds = manualReviewPoints.map(point => point.id);
@@ -315,7 +315,7 @@ export async function getReviewPoints(fileId: string) {
actionContent: point.action_config || '',
// actionContent: '用户提前在评查点输入过的修改内容',
legalBasis: point.references_laws || {}
legalBasis: point.references_laws || {},
// legalBasis: {
// name: '中华人民共和国食品安全法',
// content: '中华人民共和国食品安全法',
@@ -326,6 +326,9 @@ export async function getReviewPoints(fileId: string) {
// }
// ]
// }
// 评查配置: point.evaluation_config
evaluationConfig: point.evaluation_config || {}
};
});