HEL-162: 修复宽屏主从列表无法内部滚动

为 .dash-master-split 增加 grid-template-rows: minmax(0,1fr),使 max-height 真正约束行高,左侧 7 家公司可滚可选;顺手删除无调用的 statusPill。

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
施工员
2026-08-26 16:14:37 +00:00
co-authored by Cursor multica-agent
parent 5b3ebad757
commit c4f7573653
3 changed files with 7 additions and 13 deletions
-11
View File
@@ -1145,17 +1145,6 @@ function netClass(value) {
return "";
}
function statusPill(label) {
if (!label || label === "—") return '<span class="meta">—</span>';
const map = {
"已完成": "pill-success",
"流水待补": "pill-warn",
"确认中": "pill-warn",
"未提交": "pill-danger",
};
return `<span class="pill ${map[label] || "pill-muted"}">${label}</span>`;
}
function updateDashAuditCard(audit) {
applyAuditCounts(audit, { fromApi: true });
}