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

弹窗改用与列表一致的 MiniReadonly 缩略图,并统一 attachmentFullUrl 解析 /minio 路径;编辑时合并详情附件字段,分组顺序优先知情同意书与调查表。

关联 #43

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-11-05 22:42:47 +08:00
1 parent d4617b4988
commit 76316fad7a
4 files changed
+28 -16

No files matched your search

@@ -42,7 +42,7 @@ describe('protocol-source-attachment', () => {
})
assert.deepEqual(
groups.map((g) => g.label),
['协议附件', '知情同意书', '孕妇健康调查表']
['知情同意书', '孕妇健康调查表', '协议附件']
)
assert.ok(groups.every((g) => g.files.length === 1))
})