{% extends "base.html" %} {% block title %}比赛导入 - YRTV{% endblock %} {% block content %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% endwith %}

比赛数据导入

上传完整的 iframe_network.json,系统会自动识别比赛 ID,并执行 L1 → L2 → L3。

返回管理后台

上传抓包

直接重复上传会被拒绝。每次流水线运行前都会备份 L1、L2、L3,并执行后置完整性检查。

作业状态

{% if selected_job %} {{ selected_job.status }} {% endif %}
{% if selected_job %}
{{ selected_job.current_stage or 'queued' }} {{ selected_job.progress }}%

{{ selected_job.message or '等待执行' }}

{{ selected_job.log_text }}
{% else %}
上传比赛或从下方选择历史作业。
{% endif %}

最近作业

{% for job in jobs %} {% else %} {% endfor %}
ID 类型 比赛 状态 阶段 耗时
#{{ job.id }} {{ job.job_type }} {{ job.match_id or '-' }} {{ job.status }} {{ job.current_stage or '-' }} {{ '%.2fs'|format(job.duration_seconds) if job.duration_seconds is not none else '-' }}
暂无作业
{% endblock %} {% block scripts %} {% if selected_job %} {% endif %} {% endblock %}