@if(!$this->importRecord()) @include('filament.partials.empty-state', [ 'title' => '未选择导入记录', 'description' => '请先从 Markdown 导入列表进入工作台。', 'action' => new \Illuminate\Support\HtmlString('返回导入列表'), ]) @elseif(!$this->filenameValid)
文件名解析失败:{{ $this->filenameWarning }}
请在导入列表中修改文件名并重新导入后再进入工作台。
@else
自动推断 批量推断 生成套卷标识 批量生成套卷标识 保存当前 密度切换
导入文件
{{ $this->importRecord()?->file_name ?? '未选择导入记录' }}
解析状态
{{ $this->importRecord()?->status_label ?? '—' }}
候选题数
{{ $this->importRecord()?->parsed_count ?? 0 }}
@if(!empty($this->filenameParsed))
系列:{{ $this->filenameParsed['series'] ?? '-' }} 年级:{{ $this->filenameParsed['grade'] ?? '-' }} 学期:{{ $this->filenameParsed['term'] ?? '-' }} 学科:{{ $this->filenameParsed['subject'] ?? '-' }} 名称:{{ $this->filenameParsed['name'] ?? '-' }}
@endif
全选当前列表 清空选择
@foreach($this->groupedPapers() as $group => $items)
{{ $group }}
@foreach($items as $paper) @php $meta = $paper['meta'] ?? []; $expected = $meta['expected_count'] ?? null; $candidateCount = $paper['candidates_count'] ?? 0; @endphp @endforeach @endforeach @if($this->papers()->isEmpty())
暂无卷子数据
@endif
@if($this->selectedPaper()) {!! \App\Services\MathFormulaProcessor::processFormulas($this->selectedPaper()?->raw_markdown ?? '') !!} @else
暂无选中卷子
@endif
@php $textbookSuggestions = $this->textbookSuggestions(); $catalogSuggestions = $this->catalogSuggestions(); $coverageSummary = $this->catalogCoverageSummary(); $missingCatalogNodes = $this->missingCatalogNodes(); @endphp
@if(!empty($textbookSuggestions))
教材推荐
@foreach($textbookSuggestions as $suggest) @endforeach
@endif @foreach($this->gradeOptions() as $value => $label) @endforeach @foreach($this->termOptions() as $value => $label) @endforeach @foreach($this->sourceTypeOptions() as $value => $label) @endforeach @foreach($this->textbookOptions() as $id => $title) @endforeach @foreach($this->catalogOptions() as $id => $label) @endforeach @if(!empty($catalogSuggestions))
目录推荐
@foreach($catalogSuggestions as $suggest) @endforeach
@endif
对勾选卷子批量应用非空字段
@foreach($this->gradeOptions() as $value => $label) @endforeach @foreach($this->termOptions() as $value => $label) @endforeach @foreach($this->sourceTypeOptions() as $value => $label) @endforeach @foreach($this->textbookOptions() as $id => $title) @endforeach @foreach($this->catalogOptions() as $id => $label) @endforeach 以当前卷为默认 批量覆盖
@if(!empty($coverageSummary))
目录总数 {{ $coverageSummary['total'] }} · 已关联 {{ $coverageSummary['linked'] }} · 缺卷子目录 {{ $coverageSummary['missing'] }}
@if(!empty($missingCatalogNodes))
@foreach($missingCatalogNodes as $node) @endforeach
@else
暂无缺口目录
@endif
@endif
@endif