From 95d6b6025f7fb70323514ae8ccab416844c68039 Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Wed, 11 Nov 2026 14:54:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(web-admin):=20=E6=A0=B7=E6=9C=AC=E6=8E=A5?= =?UTF-8?q?=E6=94=B6=E5=88=97=E8=A1=A8=E5=8D=A1=E7=89=87=E5=8D=8F=E8=AE=AE?= =?UTF-8?q?=E9=99=84=E4=BB=B6=E4=B8=8E=E5=BC=B9=E7=AA=97=E5=AF=B9=E9=BD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 卡片改用完整附件分组,展示知情同意书/来源主附件及协议附件或其他附件。 Co-authored-by: Cursor --- .../SampleReceptionCardList.vue | 34 ++++++------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/web-admin/src/views/quality-inspection/sample-reception/SampleReceptionCardList.vue b/web-admin/src/views/quality-inspection/sample-reception/SampleReceptionCardList.vue index d9289a5e..50484fb2 100644 --- a/web-admin/src/views/quality-inspection/sample-reception/SampleReceptionCardList.vue +++ b/web-admin/src/views/quality-inspection/sample-reception/SampleReceptionCardList.vue @@ -70,21 +70,16 @@
样本类型
{{ row.sampleTypeName || '—' }}
-
-
{{ attachmentMeta(row).label }}
+
+
{{ group.label }}
-
-
-
-
{{ consentAttachmentMeta(row).label }}
-
- @@ -252,10 +247,7 @@ import SampleCodeWithSpecialDisplay from '@/components/business/sample-code-with-special-display/index.vue' import QcWorkOrderProtocolPaymentPanel from '@/views/quality-inspection/qc-work-order/QcWorkOrderProtocolPaymentPanel.vue' import ProtocolAttachmentMiniReadonly from '@/components/business/protocol-attachment-mini-readonly/index.vue' - import { - getConsentProtocolAttachment, - getSourceProtocolAttachment - } from '@/utils/protocol-source-attachment' + import { getSourceProtocolAttachmentGroups } from '@/utils/protocol-source-attachment' import { useAttachmentActions } from '@/composables/useAttachmentActions' defineOptions({ name: 'SampleReceptionCardList' }) @@ -293,12 +285,8 @@ const { handleAttachmentPreview, handleAttachmentDownload } = useAttachmentActions() - function attachmentMeta(row: Record) { - return getSourceProtocolAttachment(row) - } - - function consentAttachmentMeta(row: Record) { - return getConsentProtocolAttachment(row) + function protocolAttachmentGroups(row: Record) { + return getSourceProtocolAttachmentGroups(row) } function protocolStatusLabelBySource(status: string, source: string, voidType?: string): string {