{% 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 评测服务尚未启用,当前只能查看已保存的记录,无法同步或重新评测。{% 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' %}
| 选择 | 内容与来源 | 用户 | 状态与分数 | 更新与诊断 | 操作 |
|---|---|---|---|---|---|
|
{{ 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 %}
|
|
|
{% if row.errorText %}
{{ row.errorText|escape }}
{% endif %}
|
|||||
| 当前筛选条件下没有 AI 评测记录。 | |||||