| 学生 | 文件名 | 试卷形式 | 状态 | 进度 | 上传时间 |
|---|---|---|---|---|---|
| {{ $record['student_name'] ?? '未知' }} |
@if($record['type'] === 'ocr_upload')
@elseif($record['type'] === 'graded_paper')
@else
@endif
{{ $record['paper_name'] }}
|
@if($record['type'] === 'ocr_upload') @php $paperTypeLabel = match($record['paper_type']) { 'unit_test' => '单元测试', 'midterm' => '期中考试', 'final' => '期末考试', 'homework' => '家庭作业', 'quiz' => '随堂测验', 'other' => '其他', default => '未分类', }; @endphp {{ $paperTypeLabel }} @else {{ $record['paper_type'] }} @endif | @php $statusClass = match($record['status']) { 'pending' => 'badge-ghost', 'processing' => 'badge-info', 'completed' => 'badge-success', 'failed' => 'badge-error', 'draft' => 'badge-warning', default => 'badge-ghost', }; $statusText = match($record['status']) { 'pending' => '待处理', 'processing' => '处理中', 'completed' => '已评分', 'failed' => '失败', 'draft' => '草稿', default => $record['status'], }; @endphp {{ $statusText }} | @if($record['total_questions'] > 0) @if($record['type'] === 'ocr_upload' && isset($record['processed_questions'])) {{ $record['processed_questions'] }}/{{ $record['total_questions'] }} @else {{ $record['total_questions'] }} 题 @endif @else - @endif | {{ $record['created_at'] }} |
暂无上传记录