diff --git a/app/components/reviews/ReviewPointsList.tsx b/app/components/reviews/ReviewPointsList.tsx index def63d9..7871ea4 100644 --- a/app/components/reviews/ReviewPointsList.tsx +++ b/app/components/reviews/ReviewPointsList.tsx @@ -746,18 +746,14 @@ export function ReviewPointsList({ 错误 - {/* 未涉及数量(仅在有未涉及评查点时显示,仅统计展示不支持过滤) */} - {notApplicableToShow > 0 && ( - <> -
-
-
- {notApplicableToShow} - 未涉及 -
-
- - )} + {/* 未涉及数量 */} +
+
+
+ {notApplicableToShow} + 未涉及 +
+
); diff --git a/app/routes/reviews.tsx b/app/routes/reviews.tsx index 8f1ffc0..1e50eda 100644 --- a/app/routes/reviews.tsx +++ b/app/routes/reviews.tsx @@ -238,8 +238,8 @@ export async function loader({ request }: LoaderFunctionArgs) { statistics: { total: unifiedData.summary?.total_points || 0, success: unifiedData.summary?.passed_count || 0, - error: unifiedData.summary?.failed_count || 0, - warning: 0, + warning: unifiedData.summary?.failed_count || 0, + error: 0, notApplicable: unifiedData.summary?.not_applicable_count || 0, score: unifiedData.summary?.total_score || 0 },