feat: 用户视角 — 按用户聚合 LD 板使用信息

- 新增 DomainDetail 数据模型存储逐域归属 (Owner/PID/T-Pod/Design)
- 解析详细版 test_server 输出 (Logic drawer X has N domains 格式)
- 新增 /users 页面 + /api/users API 按用户聚合 LD 板
- 修复邮件配置保存时中文逗号收件人分割问题
- 修复邮件发送时 ASCII 编码错误 (收件人含中文逗号)
This commit is contained in:
Your Name
2026-07-15 12:32:48 +08:00
parent d8eb6824b8
commit b5205d0543
5 changed files with 297 additions and 8 deletions
+38
View File
@@ -814,6 +814,44 @@ body {
/* 全宽字段 */
.form-group.full-width { grid-column: 1 / -1; }
/* ─── 用户视角页面 ─── */
.users-table { table-layout: fixed; }
.users-table th:nth-child(1) { width: 14%; }
.users-table th:nth-child(2) { width: 10%; text-align: center; }
.users-table th:nth-child(3) { width: 30%; }
.users-table th:nth-child(4) { width: 12%; }
.users-table th:nth-child(5) { width: 15%; }
.users-table th:nth-child(6) { width: 19%; }
.user-cell {
font-weight: 600;
color: var(--accent);
}
.user-count-badge {
display: inline-block;
min-width: 28px;
padding: 2px 8px;
background: rgba(88,166,255,0.15);
color: var(--accent);
border-radius: 10px;
font-size: 13px;
font-weight: 700;
text-align: center;
}
.boards-cell {
max-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 12px;
color: var(--text-secondary);
}
.design-cell {
font-size: 12px;
color: var(--text-secondary);
}
.text-center { text-align: center; }
/* 启用开关 */
.toggle-row {
display: flex;