{% extends "layout/basic.html" %} {% 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 submit %} {% if submit.status == 'late' %}{{ _('补交') }}{% else %}{{ _('已提交') }}{% endif %} {% else %} {{ _('待完成') }} {% endif %} {% if submit and submit.excellent %}{{ _('优秀小结') }}{% endif %} {% if contentFavorite and contentFavorite.canUse %}
{% endif %}

{{ _('我的小结') }}

支持 Markdown
{% set fallbackEditorContent = submit.content if submit else '' %} {% set resolvedEditorContent = editorContent|default(fallbackEditorContent) %}
{% if draft %}
草稿已保存({{ datetimeSpan(draft.updatedAt)|safe }}){% if submit %},已提交版本尚未更新{% endif %}。
{% endif %}
{% if draftUrl %} {% endif %} {{ _('返回课程') }} {% if manageUrl %} {{ _('批改入口') }} {% endif %}
{% if submit and submit.evaluationStatus %}

AI 批改

{{ submit.evaluationStatusText }} {% if submit.evaluationScore != null %}{{ submit.evaluationScore }} 分{% endif %} {% if submit.evaluationResult and submit.evaluationResult.summary and submit.evaluationResult.summary.level %} {{ submit.evaluationResult.summary.level }} {% endif %}
{% if submit.evaluationError %}
{{ submit.evaluationError }}
{% endif %} {% include "csp_knowledge_review.html" %} {% if submit.evaluationResult and submit.evaluationResult.summary %} {% if submit.evaluationResult.summary.overall %}

总评

{{ submit.evaluationResult.summary.overall }}

{% endif %} {% if submit.evaluationResult.summary.strengths and submit.evaluationResult.summary.strengths.length or submit.evaluationResult.summary.weaknesses and submit.evaluationResult.summary.weaknesses.length %}
{% if submit.evaluationResult.summary.strengths and submit.evaluationResult.summary.strengths.length %}

优点

    {% for item in submit.evaluationResult.summary.strengths %}
  • {{ item }}
  • {% endfor %}
{% endif %} {% if submit.evaluationResult.summary.weaknesses and submit.evaluationResult.summary.weaknesses.length %}

不足

    {% for item in submit.evaluationResult.summary.weaknesses %}
  • {{ item }}
  • {% endfor %}
{% endif %}
{% endif %} {% else %}

评测结果生成后会显示在这里。

{% endif %} {% if submit.evaluationResult and submit.evaluationResult.suggestions and submit.evaluationResult.suggestions.length %}

内容整改建议

{% for item in submit.evaluationResult.suggestions %}
建议 {{ item.displayIndex }} {{ item.typeText }} {% if item.priorityText %}{{ item.priorityText }}{% endif %}
{% if item.comment %}

{{ item.comment }}

{% endif %} {% if item.original %}
原文:
{{ item.original|markdown|safe }}
{% endif %} {% if item.suggestion %}
建议改为:
{{ item.suggestion|markdown|safe }}
{% endif %} {% if item.anchor_text %}

位置参考:{{ item.anchor_text }}

{% endif %}
{% endfor %}
{% endif %} {% if submit.evaluationId %}
{% endif %}
{% endif %} {% if submit and submit.hasInlineSuggestions %}

AI 整改稿

{{ submit.content|markdown|safe }}
{% endif %} {% if submit and submit.comment %}

{{ _('教师评语') }}

{{ submit.comment|markdown|safe }}
{% endif %}
{% endblock %}