fix(web-admin): 样本接收弹窗不展示协议附件项

验收要求仅展示知情同意书与孕妇健康调查表,移除第三项「协议附件」分组。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-11-05 23:00:37 +08:00
1 parent 00635740f1
commit 9f37181478
2 files changed
+3 -10

No files matched your search

@@ -42,9 +42,10 @@ describe('protocol-source-attachment', () => {
})
assert.deepEqual(
groups.map((g) => g.label),
['知情同意书', '孕妇健康调查表', '协议附件']
['知情同意书', '孕妇健康调查表']
)
assert.ok(groups.every((g) => g.files.length === 1))
assert.equal(groups.length, 2)
})
it('groups research donation attachments for reception dialog', () => {