只移除本部门直属人数标签及无用样式,保留总人数独立列、部门展开、直属人员、兼属及统计值。 验证:标签不再出现的回归先红后绿,11项相关测试及类型检查通过。完整门禁、候选与上线验收待执行。
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -35,7 +35,8 @@ it('shows direct people beneath each expanded department with a multi-department
|
||||
expect(html.match(/>Fixture Alpha</g)).toHaveLength(2)
|
||||
expect(html.match(/>Fixture Beta</g)).toHaveLength(1)
|
||||
expect(html.match(/>兼属 2 部门</g)).toHaveLength(2)
|
||||
expect(html).toContain('本部门直属 2 人')
|
||||
expect(html).not.toContain('本部门直属')
|
||||
expect(html).not.toContain('qa-department-direct')
|
||||
expect(html).toContain('Fixture Root/Fixture Child')
|
||||
expect(html).toContain('未命名人员')
|
||||
expect(html).toContain('<summary')
|
||||
|
||||
@@ -170,7 +170,6 @@ export function DepartmentStatisticsView(p: DepartmentStatisticsViewProps) {
|
||||
<span className="qa-department-label">
|
||||
{d.name}
|
||||
{label ? <small className="qa-department-region">{label}</small> : null}
|
||||
<small className="qa-department-direct">本部门直属 {members.length} 人</small>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user