From f533c63fef423c78a81af999be1b6e86443deebc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E7=AB=A0=E6=B5=A9?= Date: Sat, 24 Oct 2026 13:58:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(qaops):=20=E7=A7=BB=E9=99=A4=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E5=90=8D=E7=A7=B0=E5=90=8E=E7=9A=84=E7=9B=B4=E5=B1=9E?= =?UTF-8?q?=E4=BA=BA=E6=95=B0=E5=B0=8F=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 只移除本部门直属人数标签及无用样式,保留总人数独立列、部门展开、直属人员、兼属及统计值。 验证:标签不再出现的回归先红后绿,11项相关测试及类型检查通过。完整门禁、候选与上线验收待执行。 --- CHANGELOG.md | 6 ++++++ web/src/QADepartmentStatistics.test.tsx | 3 ++- web/src/QADepartmentStatistics.tsx | 1 - web/src/qaDepartmentStatistics.css | 7 ------- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5623a8..0e1ef63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -76,6 +76,12 @@ > `0.1.12`),由 `scripts/version.py` 从 git **算出来**;开发交付的独立说明写入本文件“开发快照”章节,并打 `snapshot/vX.Y.Z` 注释标签 ⇒ 每次开发交付均可追溯, > 但"发布版本"仍然只能由人定(CI 不会自动升版本、不会打 tag)。 +## 开发快照 snapshot/v0.1.49 - 2026-10-24 + +### Changed + +- 区域统计“部门/人员”列移除“本部门直属 N 人”小字;保留独立总人数列、部门展开、直属人员明细和兼属标记,统计数据与其他分析视图不变。 + ## 开发快照 snapshot/v0.1.48 - 2026-10-24 ### Changed diff --git a/web/src/QADepartmentStatistics.test.tsx b/web/src/QADepartmentStatistics.test.tsx index e14d086..fa886b3 100644 --- a/web/src/QADepartmentStatistics.test.tsx +++ b/web/src/QADepartmentStatistics.test.tsx @@ -35,7 +35,8 @@ it('shows direct people beneath each expanded department with a multi-department expect(html.match(/>Fixture AlphaFixture Beta兼属 2 部门 {d.name} {label ? {label} : null} - 本部门直属 {members.length} 人 diff --git a/web/src/qaDepartmentStatistics.css b/web/src/qaDepartmentStatistics.css index 10d6bec..7a17a5f 100644 --- a/web/src/qaDepartmentStatistics.css +++ b/web/src/qaDepartmentStatistics.css @@ -268,13 +268,6 @@ font-weight: 400; color: #8190a4; } -.qa-department-direct { - display: inline-block; - margin-left: 9px; - font-size: 12px; - font-weight: 400; - color: #718096; -} .qa-department-person { display: flex; align-items: baseline;