{% extends "manage_base.html" %} {% import "components/ui/v1.html" as ui_v1 %} {% macro build_filter_url(baseUrl, curFilters, nextSource, nextStatus, nextStuck) -%} {%- set parts = [] -%} {%- if nextSource and nextSource != 'all' -%}{% set _ = parts.push('source=' + nextSource) %}{%- endif -%} {%- if nextStatus and nextStatus != 'all' -%}{% set _ = parts.push('status=' + nextStatus) %}{%- endif -%} {%- if curFilters.domainId -%}{% set _ = parts.push('targetDomain=' + (curFilters.domainId|urlencode)) %}{%- endif -%} {%- if curFilters.uid -%}{% set _ = parts.push('uid=' + curFilters.uid) %}{%- endif -%} {%- if curFilters.q -%}{% set _ = parts.push('q=' + (curFilters.q|urlencode)) %}{%- endif -%} {%- if nextStuck -%}{% set _ = parts.push('stuck=1') %}{%- endif -%} {{ baseUrl }}{% if parts.length %}?{{ parts.join('&') }}{% endif %} {%- endmacro %} {% block manage_content %}

AI 评测记录

共 {{ stats.total }} 条记录
{% if not evaluationEnabled %}
AI 评测服务尚未启用,当前只能查看已保存的记录,无法同步或重新评测。
{% endif %} {% if messages and messages.length %} {% for message in messages %} {% set messageText = message.text or message.message or message %} {% if message.type == 'error' %}
{{ messageText|escape }}
{% else %}
{{ messageText|escape }}
{% endif %} {% endfor %} {% endif %} {% set curSource = filters.source or 'all' %} {% set curStatus = filters.status or 'all' %}
重置
0 / 20 条(每次最多 20 条)
同步只读取现有任务,不产生新模型调用
{% if rows.length %} {% for row in rows %} {% set diagId = 'aem-diag-' + loop.index %} {% set hasDiag = row.evaluationId or row.problemId or row.errorText %} {% if hasDiag %} {% endif %} {% endfor %} {% else %} {% endif %}
选择 内容与来源 用户 状态与分数 更新与诊断 操作
{{ row.sourceText }} {% if row.detailUrl %} {{ row.targetTitle }} {% else %} {{ row.targetTitle }} {% endif %}
{{ row.domainName }}({{ row.domainId }})
{{ row.userName }}
#{{ row.uid }}
{{ row.statusText }} {% if row.score != null %}{{ row.score }}{% endif %}
{% if row.stuck %}
疑似卡住
{% endif %}
{% if row.evaluationUpdatedAt %}
{{ datetimeSpan(row.evaluationUpdatedAt, false, 'YYYY-MM-DD HH:mm:ss')|safe }}
{% else %} — {% endif %} {% if row.errorText %}
{{ row.errorText|escape }}
{% endif %} {% if hasDiag %} {% endif %}
{% if evaluationEnabled and row.canSync %}
{% endif %} {% if evaluationEnabled and row.canRetry %}
{% endif %} {% if not evaluationEnabled or (not row.canSync and not row.canRetry) %} {% if row.detailUrl %} 查看 {% else %} — {% endif %} {% endif %}
当前筛选条件下没有 AI 评测记录。
{% if pcount > 1 %} {% set glue = '&' if queryBase else '' %}
第 {{ page }} / {{ pcount }} 页
{% if page > 1 %}上一页{% endif %} {% if page < pcount %}下一页{% endif %}
{% endif %}
{% endblock %}