question-import-wizard.blade.php 5.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <x-filament::page>
  2. <div class="space-y-6">
  3. <x-filament::section heading="Markdown 导入 → 人工补录向导">
  4. <div class="text-sm text-gray-600 mb-4">
  5. Markdown 导入 → 自动识别 → 人工补录 → 预览 → 完成。中间步骤可随时返回继续补录。
  6. </div>
  7. <div class="grid grid-cols-5 gap-3 text-xs">
  8. <div class="p-3 rounded-lg bg-primary-50 text-primary-700">1. 导入</div>
  9. <div class="p-3 rounded-lg bg-slate-50 text-slate-600">2. 自动识别</div>
  10. <div class="p-3 rounded-lg bg-slate-50 text-slate-600">3. 人工补录</div>
  11. <div class="p-3 rounded-lg bg-slate-50 text-slate-600">4. 预览</div>
  12. <div class="p-3 rounded-lg bg-slate-50 text-slate-600">5. 完成</div>
  13. </div>
  14. </x-filament::section>
  15. <div class="grid grid-cols-12 gap-6">
  16. <div class="col-span-8 space-y-4">
  17. <x-filament::section heading="选择导入记录">
  18. <x-filament::input.wrapper>
  19. <x-filament::input.select wire:model="importId">
  20. <option value="">请选择导入记录</option>
  21. @foreach($this->importOptions() as $id => $file)
  22. <option value="{{ $id }}">{{ $file }}</option>
  23. @endforeach
  24. </x-filament::input.select>
  25. </x-filament::input.wrapper>
  26. </x-filament::section>
  27. <x-filament::section heading="下一步操作">
  28. <div class="grid grid-cols-4 gap-3 text-sm">
  29. <div class="rounded-lg border border-slate-200 p-4">
  30. <div class="font-medium text-slate-800">导入工作台</div>
  31. <div class="text-xs text-slate-500 mt-1">按导入文件集中补录卷子归属</div>
  32. <x-filament::button
  33. tag="a"
  34. href="{{ url('/admin/markdown-import-workbench') }}?import_id={{ $importId }}"
  35. color="primary"
  36. class="mt-3"
  37. >
  38. 进入工作台
  39. </x-filament::button>
  40. </div>
  41. <div class="rounded-lg border border-slate-200 p-4">
  42. <div class="font-medium text-slate-800">候选题清单</div>
  43. <div class="text-xs text-slate-500 mt-1">快速筛选与批量标记</div>
  44. <x-filament::button
  45. tag="a"
  46. href="{{ url('/admin/pre-question-candidates') }}?import_id={{ $importId }}"
  47. color="primary"
  48. class="mt-3"
  49. >
  50. 进入列表
  51. </x-filament::button>
  52. </div>
  53. <div class="rounded-lg border border-slate-200 p-4">
  54. <div class="font-medium text-slate-800">人工补录工作台</div>
  55. <div class="text-xs text-slate-500 mt-1">边看题边补字段</div>
  56. <x-filament::button
  57. tag="a"
  58. href="{{ url('/admin/question-candidate-workbench') }}"
  59. color="gray"
  60. class="mt-3"
  61. >
  62. 进入工作台
  63. </x-filament::button>
  64. </div>
  65. <div class="rounded-lg border border-slate-200 p-4">
  66. <div class="font-medium text-slate-800">审核控制台</div>
  67. <div class="text-xs text-slate-500 mt-1">批量审核与AI辅助</div>
  68. <x-filament::button
  69. tag="a"
  70. href="{{ url('/admin/question-review-workbench') }}"
  71. color="gray"
  72. class="mt-3"
  73. >
  74. 进入控制台
  75. </x-filament::button>
  76. </div>
  77. </div>
  78. </x-filament::section>
  79. </div>
  80. <div class="col-span-4 space-y-4">
  81. <x-filament::section heading="提示">
  82. <ul class="text-sm text-gray-600 space-y-2">
  83. <li>若题目属性缺失,先在“人工补录工作台”批量填充。</li>
  84. <li>需要审核入库,使用“审核控制台”批量通过。</li>
  85. <li>导入后支持随时回到工作台继续补充字段。</li>
  86. </ul>
  87. </x-filament::section>
  88. </div>
  89. </div>
  90. </div>
  91. </x-filament::page>