feat(usage): 错误请求对齐用量明细(UI/排序/筛选/列设置)

错误请求列表(/admin/usage 错误 tab、Ops 弹窗、用户端 /usage 错误 tab)
对齐用量明细的交互与信息密度。Squash of:

- feat(usage): 错误请求全面对齐用量明细(UI/列序/排序/筛选/列设置/新列)
- refactor(usage): 错误表提取共享徽章工具与 IP 批量工具条,后端排序解析归并 SetSort
- feat(usage): /admin/usage 错误请求新增分类过滤
- fix(ops): 错误列表 phase=upstream 过滤生效,守卫豁免改为显式 opt-in
- fix(ops): 错误列表用户列回退显示已删除 KEY 所有者
- fix(usage): 错误请求状态码排序对齐展示/过滤,筛选项改固定常用码
This commit is contained in:
DaydreamCoding committed 2026-07-03 23:02:27 +08:00
1 parent 2649573b99
commit ebbdc70311
25 files changed
+1108 -459

No files matched your search

+2 -1
View File
@@ -1017,7 +1017,7 @@ export default {
time: 'Time', model: 'Model', endpoint: 'Endpoint', status: 'Status',
category: 'Category', platform: 'Platform', message: 'Message',
keyName: 'Key Name', keyDeleted: 'Deleted', allKeys: 'All keys',
modelPlaceholder: 'Search model', allCategories: 'All categories',
modelPlaceholder: 'Search model', allCategories: 'All categories', allStatuses: 'All status codes',
empty: 'No error requests', failedToLoad: 'Failed to load error requests',
categories: {
auth: 'Auth failed', rate_limit: 'Rate limited', quota: 'Balance/Subscription',
@@ -5088,6 +5088,7 @@ export default {
accountId: 'Account ID',
status: 'Status',
message: 'Message',
ip: 'IP',
latency: 'Request Duration',
action: 'Action',
noErrors: 'No errors in this window.',
+2 -1
View File
@@ -1021,7 +1021,7 @@ export default {
time: '时间', model: '模型', endpoint: '端点', status: '状态码',
category: '分类', platform: '平台', message: '错误信息',
keyName: 'Key 名称', keyDeleted: '已删除', allKeys: '全部 Key',
modelPlaceholder: '搜索模型', allCategories: '全部分类',
modelPlaceholder: '搜索模型', allCategories: '全部分类', allStatuses: '全部状态码',
empty: '暂无错误请求', failedToLoad: '加载错误请求失败',
categories: {
auth: '认证失败', rate_limit: '限流', quota: '余额/订阅',
@@ -5246,6 +5246,7 @@ export default {
accountId: '账号 ID',
status: '状态码',
message: '响应内容',
ip: 'IP',
latency: '请求时长',
action: '操作',
noErrors: '该窗口内暂无错误。',