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 {