fix(w05): landing-confirm 的 request_status / current_stage 改徽标 —— 放行签字页不再摆 ASCII 机器码

审查发现 P01_TABLE 的需求状态(tally 列)与当前阶段仍用 ro() 直显原值,把 responded/gate03
这类机器码摆在了放行签字页上(本仓栽过两次同款:BT 层级、key_person_change)。改用 tag() +
data-class-of 投影,EXTRA_CSS 补 t-reqstat(五档)与 t-stage(assessing/gate03 两档,取值域
由本活动写死)人读名;台账写入值不变,requiredWhen 机检仍读原值。测试组「枚举列只用
data-class-of 投影」扩到 landing-confirm 的四个枚举列(含既有的 analysis_status /
recommendation_level),把这次的回归钉死。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FJcX8A6TWp4GRs41TYryEh
This commit is contained in:
xcs
2026-08-27 00:05:24 +08:00
co-authored by Claude Fable 5
parent 0629a7f054
commit ec3de1f19e
2 changed files with 19 additions and 2 deletions
@@ -226,6 +226,11 @@ describe('报告模版:编辑面与只读面各就各位', () => {
expect(viewHtml('difference-review')).toContain('data-class-of="difference_status"');
expect(viewHtml('difference-review')).toContain('data-class-of="recommendation_level"');
expect(viewHtml('difference-review')).not.toContain('data-slot="difference_status"');
const landing = viewHtml('landing-confirm');
for (const col of ['request_status', 'current_stage', 'analysis_status', 'recommendation_level']) {
expect(landing, col).toContain(`data-class-of="${col}"`);
expect(landing, col).not.toContain(`data-slot="${col}"`);
}
});
it('宿主拒推含脚本的模版', async () => {