diff --git a/frontend/src/components/FolderTree.vue b/frontend/src/components/FolderTree.vue index e204ced..b29429a 100644 --- a/frontend/src/components/FolderTree.vue +++ b/frontend/src/components/FolderTree.vue @@ -1,15 +1,15 @@ + + + + + + + 运行日志 + + + + + + + + + + + + + + 总计 + {{ stats.total }} + + + 智能体 + {{ stats.by_type.agent }} + + + 系统 + {{ stats.by_type.system }} + + + 问答 + {{ stats.by_type.chat }} + + + 错误 + {{ stats.by_level.error }} + + + + + + + {{ preset.label }} + + + + + + + + + + + {{ option.label }} + + + {{ option.label }} + + + {{ option.label }} + + 查询 + 重置 + + + + + + + 加载中... + + + + + {{ errorMessage }} + + + + + 暂无日志 + + + + + + + {{ typeLabels[log.type] || log.type }} + {{ log.level }} + {{ formatDuration(log.duration_ms) }} + HTTP {{ log.status_code }} + + {{ log.message }} + + + + Request ID: {{ log.request_id }} + Route: {{ log.method || '-' }} {{ log.route || '-' }} + Error: {{ log.error_type }} + {{ formatDetails(log.details) }} + + + + + + + 共 {{ total }} 条 · 第 {{ filters.page }} / {{ totalPages }} 页 + + 上一页 + + {{ page }} + + 下一页 + + {{ size }}/页 + + + + + + + diff --git a/frontend/src/views/LogView.vue b/frontend/src/views/LogView.vue deleted file mode 100644 index 568cb31..0000000 --- a/frontend/src/views/LogView.vue +++ /dev/null @@ -1,519 +0,0 @@ - - - - - - - - 运行日志 - - - - - - - - - - - - - - - 总计 - {{ stats.total }} - - - 智能体 - {{ stats.by_type.agent }} - - - 系统 - {{ stats.by_type.system }} - - - 问答 - {{ stats.by_type.chat }} - - - 错误 - {{ stats.by_level.error }} - - - - - - - 类型: - - - {{ t.label }} - - - - 级别: - - {{ l.label }} - - - - - - - - - 加载中... - - - - - 暂无日志 - - - - - - {{ typeLabels[log.type] }} - {{ log.level }} - {{ formatDuration(log.duration_ms) }} - - {{ log.message }} - - - - - - - - 上一页 - {{ currentPage }} / {{ Math.ceil(total / pageSize) }} - 下一页 - - - - -
{{ formatDetails(log.details) }}