|
@@ -15,7 +15,11 @@
|
|
|
$scoreRate = $summary['score_rate'] ?? null;
|
|
$scoreRate = $summary['score_rate'] ?? null;
|
|
|
$averageMastery = $summary['average_mastery'] ?? null;
|
|
$averageMastery = $summary['average_mastery'] ?? null;
|
|
|
$examHitKpSet = array_fill_keys(array_map('strval', $exam_hit_kp_codes ?? []), true);
|
|
$examHitKpSet = array_fill_keys(array_map('strval', $exam_hit_kp_codes ?? []), true);
|
|
|
- $difficultySummary = $summary['difficulty'] ?? [];
|
|
|
|
|
|
|
+ $difficultySummary = is_array($summary['difficulty'] ?? null) ? $summary['difficulty'] : [];
|
|
|
|
|
+ $difficultyExplain = trim((string) ($difficultySummary['explain'] ?? ''));
|
|
|
|
|
+ if ($difficultyExplain === '') {
|
|
|
|
|
+ $difficultyExplain = '暂无足够数据评估难度匹配。';
|
|
|
|
|
+ }
|
|
|
$comparisonSummary = $summary['comparison'] ?? [];
|
|
$comparisonSummary = $summary['comparison'] ?? [];
|
|
|
$overallLabelDetail = $summary['overall_label_detail'] ?? [];
|
|
$overallLabelDetail = $summary['overall_label_detail'] ?? [];
|
|
|
$historySummary = $comparisonSummary['history'] ?? [];
|
|
$historySummary = $comparisonSummary['history'] ?? [];
|
|
@@ -965,9 +969,7 @@
|
|
|
暂无难度匹配数据
|
|
暂无难度匹配数据
|
|
|
@endif
|
|
@endif
|
|
|
</li>
|
|
</li>
|
|
|
- @if(!empty($difficultySummary['explain']))
|
|
|
|
|
- <li>难度说明:{{ $difficultySummary['explain'] }}</li>
|
|
|
|
|
- @endif
|
|
|
|
|
|
|
+ <li>难度说明:{{ $difficultyExplain }}</li>
|
|
|
<li>
|
|
<li>
|
|
|
与历史自己对比:
|
|
与历史自己对比:
|
|
|
@if(!empty($historySummary['is_first_exam']))
|
|
@if(!empty($historySummary['is_first_exam']))
|