{% extends "layout/basic.html" %} {% import "components/user.html" as user with context %} {% block content %} {% set cleanTaskTitle = task.title|default('')|trim %} {% set cleanTaskContent = task.content|default('')|trim %} {% set hasTaskContent = cleanTaskContent and cleanTaskContent != '##' %}

小结批改

{% if cleanTaskTitle and cleanTaskTitle != '##' %}{{ cleanTaskTitle }}{% else %}课程小结任务{% endif %} · {{ targetTitle }}
{% if messages and messages.length %}
{% for message in messages %}

{{ message }}

{% endfor %}
{% endif %}
{{ submitCount }}已提交{% if filterGroupName != 'all' %} / 本组{% endif %}
{{ pendingCount }}未提交{% if filterGroupName != 'all' %} / 本组{% endif %}
{{ task.minWords }}最低字数
{{ task.defaultPoints }}默认积分
{% if not evaluationEnabled %}

AI 评测服务未配置,无法补评历史小结。

{% elif unevaluatedCount %}

当前筛选下有 {{ unevaluatedCount }} 篇提交尚未创建 AI 评测。

{% endif %} {% if filterGroupName != 'all' %}

全部:{{ allSubmitCount }} 已提交 / {{ allPendingCount }} 未提交

{% endif %}
任务说明与未提交名单 {{ pendingCount }} 人未交

任务内容

{% if hasTaskContent %} {{ task.content|markdown|safe }} {% else %}

当前任务没有补充说明。

{% endif %}

未提交

{% if pendingUids.length %}
    {% for uid in pendingUids %}
  • {% if udict[uid] %}{{ user.render_inline(udict[uid], badge=false) }}{% else %}UID {{ uid }}{% endif %}
  • {% endfor %}
{% else %}

当前筛选下没有未提交学生。

{% endif %}

提交列表

{{ submitCount }} 篇
{% if submits.length %}
{% for submit in submits %}

{% if udict[submit.uid] %} {{ user.render_inline(udict[submit.uid], badge=false) }} 的小结 {% else %} UID {{ submit.uid }} 的小结 {% endif %}

{{ datetimeSpan(submit.updatedAt)|safe }} {{ submit.displayWordCount if submit.displayWordCount != null else submit.wordCount }} 字 {% if submit.storedWordCount and submit.storedWordCount != submit.displayWordCount %}(历史 {{ submit.storedWordCount }}){% endif %} {% if submit.reviewedAt %}已批改 {{ datetimeSpan(submit.reviewedAt)|safe }}{% endif %}
{% if submit.excellent %}优秀小结{% endif %} {% if submit.status == 'late' %}补交{% endif %} {% if submit.evaluationStatus %} {% if submit.evaluationStatus == 'succeeded' %} AI {{ submit.evaluationStatusText }} {% elif submit.evaluationStatus == 'failed' or submit.evaluationStatus == 'failed_to_submit' %} AI {{ submit.evaluationStatusText }} {% else %} AI {{ submit.evaluationStatusText }} {% endif %} {% endif %} {% if submit.evaluationScore != null %}AI {{ submit.evaluationScore }} 分{% endif %} {% if submit.suggestionCount %}{{ submit.suggestionCount }} 条建议{% endif %} {% if not submit.reviewedAt %}待批改{% endif %}
{% if submit.summaryText %}{{ submit.summaryText }}{% else %}暂无可展示的摘要,进入详情查看完整正文。{% endif %}
{% endfor %}
{% else %}
当前筛选下暂无提交。
{% endif %}
{% if pcount > 1 %} {% set glue = '&' if queryBase else '' %}
第 {{ page }} / {{ pcount }} 页 {% if page > 1 %} 上一页 {% endif %} {% if page < pcount %} 下一页 {% endif %}
{% endif %}
{% endblock %}