feat(ui): 重构端点健康状态为进度条可视化

- 将端点标签改为网格布局的进度条样式
- 显示 API 格式缩写和健康分数百分比
- 优化端点提示区分禁用、无可用密钥和未配置密钥状态
- 优化优先级管理对话框布局以显示更多内容
- 后端添加 total_keys 字段支持密钥状态区分

Closes #113

Co-authored-by: AAEE86 <ppk0227@hotmail.com>
This commit is contained in:
fawney19
2026-01-21 01:10:35 +08:00
parent 4eeba69381
commit 856077a46c
4 changed files with 91 additions and 52 deletions

View File

@@ -221,6 +221,7 @@ export interface EndpointHealthDetail {
api_format: string
health_score: number
is_active: boolean
total_keys?: number
active_keys?: number
}