{% extends "exam/base.html" %} {% block title %}考试详情 - 安全培训考试{% endblock %} {% block content %}
| 考生姓名 | {{ record.user_name }} | 手机号 | {{ record.user_phone }} |
| 考试名称 | {{ record.exam.title }} | 考试时间 | {{ record.created_at|date:"Y-m-d H:i" }} |
| 考试得分 | {{ record.score }} / {{ record.exam.total_score }} 分 | 是否及格 | {% if record.is_pass %} ✓ 及格 {% else %} ✗ 不及格 {% endif %} |
| 考试次数 | 第 {{ record.attempt_number }} 次 | 电子签名 |
{% if record.signature %}
|
| 题号 | 题目 | 题型 | 分值 | 考生答案 | 正确答案 | 结果 |
|---|---|---|---|---|---|---|
| {{ forloop.counter }} |
{{ ans.question.content }}
{% if ans.question.options %}
选项: {% for k, v in ans.question.options.items %}{{ k }}.{{ v }} {% endfor %}
{% endif %}
|
{{ ans.question.get_q_type_display }} | {{ ans.question.score }}分 | {{ ans.user_answer|default:"未作答" }} | {{ ans.question.correct_answer }} | {% if ans.is_correct %} ✓ 正确 {% else %} ✗ 错误 {% endif %} |
暂无答题记录
{% endif %}