perf(assignments): 优化分配管理页面加载性能与角标数量展示

- 前端改造为服务端分页查询 (accountApi.listPaged),避免一次性拉取 1.6 万+ 账号导致页面卡死
- 优化后端 assignments_summary 聚合查询,消除大子查询临时表
- 修复 Badge 默认 99+ 限制,设置 overflowCount 支持展示完整账号数量
- 修复测试用例 test_business_events.py 当前时间跨天断言问题
This commit is contained in:
yml2213
2026-10-08 11:08:41 +08:00
parent f101414f5e
commit f8ad6e1777
5 changed files with 216 additions and 115 deletions
+2
View File
@@ -335,6 +335,8 @@ export interface AccountItem {
export interface AssignmentsSummary {
support_users: SupportUserItem[];
unassigned_count: number;
assigned_count?: number;
total_count?: number;
}
export interface SupportUserItem {