feat: 增强处理历史资料规模与会话状态展示

This commit is contained in:
2026-06-04 01:54:11 +08:00
parent 96f710ea13
commit d2a4907561
3 changed files with 71 additions and 1 deletions

View File

@@ -61,6 +61,9 @@
<th>产品名称</th>
<th>批次号</th>
<th>会话</th>
<th>资料规模</th>
<th>资料包状态</th>
<th>会话状态</th>
<th>输入摘要</th>
<th>状态</th>
<th>风险状态</th>
@@ -79,6 +82,9 @@
<td>{{ row.log.product_name|default:"-" }}</td>
<td>{{ row.log.batch_id|default:"-" }}</td>
<td>{{ row.log.conversation_id|default:"-" }}</td>
<td>{{ row.batch_scale }}</td>
<td>{{ row.batch_status }}</td>
<td>{{ row.conversation_status }}</td>
<td>{{ row.log.get_user_input_summary }}</td>
<td>
<span class="pill {% if row.log.status == 'success' %}pill-success{% else %}pill-danger{% endif %}">{{ row.log.get_status_display_text }}</span>
@@ -91,7 +97,7 @@
<td><a class="button" href="{% url 'audit:detail' row.log.id %}">查看详情</a></td>
</tr>
{% empty %}
<tr><td colspan="13">暂无处理历史,先去执行一次审核任务。</td></tr>
<tr><td colspan="16">暂无处理历史,先去执行一次审核任务。</td></tr>
{% endfor %}
</tbody>
</table>