🎨 refactor: MultiKeyManageModal: cleaner stats UI, remove chart, integrate toolbar/pagination, and improve UX
- Replace custom dots with Semi Badge types (success/danger/warning); add compact Progress bars - Remove pie chart and related deps/config; move total key count and mode tags into the modal title - Rework header using Row/Col; three equal stat cards (enabled/manual-disabled/auto-disabled) - Integrate toolbar into Table title; wrap content with Card; use Table’s native empty state - Make “Enable All” conditional (hidden when all keys are enabled), mirroring “Disable All” - Unify numeric typography (current/total same size) for better readability - Default page size set to 10; fallback to 10 when backend page_size is absent; page-size options: 10/20/50/100 - Cleanup imports and dead code (remove VChart and pie-spec logic) - Minor spacing polish (extra bottom margin before table), no footer buttons
This commit is contained in:
@@ -1890,5 +1890,22 @@
|
||||
"未知供应商": "Unknown",
|
||||
"共 {{count}} 个模型": "{{count}} models",
|
||||
"倍率信息": "Ratio information",
|
||||
"倍率是用于系统计算不同模型的最终价格用的,如果您不理解倍率,请忽略": "The ratio is used to calculate the final price of different models in the system. If you do not understand the ratio, please ignore it."
|
||||
"倍率是用于系统计算不同模型的最终价格用的,如果您不理解倍率,请忽略": "The ratio is used to calculate the final price of different models in the system. If you do not understand the ratio, please ignore it.",
|
||||
"多密钥管理": "Multi-key management",
|
||||
"总密钥数": "Total key count",
|
||||
"随机模式": "Random mode",
|
||||
"轮询模式": "Polling mode",
|
||||
"手动禁用": "Manually disabled",
|
||||
"自动禁用": "Auto disabled",
|
||||
"暂无密钥数据": "No key data",
|
||||
"请检查渠道配置或刷新重试": "Please check the channel configuration or refresh and try again",
|
||||
"全部状态": "All status",
|
||||
"索引": "Index",
|
||||
"禁用原因": "Disable reason",
|
||||
"禁用时间": "Disable time",
|
||||
"确定要启用所有密钥吗?": "Are you sure you want to enable all keys?",
|
||||
"确定要禁用所有的密钥吗?": "Are you sure you want to disable all keys?",
|
||||
"确定要删除所有已自动禁用的密钥吗?": "Are you sure you want to delete all automatically disabled keys?",
|
||||
"此操作不可撤销,将永久删除已自动禁用的密钥": "This operation cannot be undone, and all automatically disabled keys will be permanently deleted.",
|
||||
"删除自动禁用密钥": "Delete auto disabled keys"
|
||||
}
|
||||
Reference in New Issue
Block a user