From 654f9a89040f18b543515784c19bcafa9aaddabd Mon Sep 17 00:00:00 2001 From: zlwu <704541015@qq.com> Date: Mon, 9 Nov 2026 11:21:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(web-admin):=20=E4=B8=B4=E6=97=B6=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E9=87=87=E9=9B=86=E5=A4=A7=E8=A1=A8=E5=9B=9B=E5=A4=84?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 验收未完成前关闭 COLLECTION_LEDGER_EXPORT_ENABLED,后续测试时改回 true 即可恢复入口。 --- web-admin/src/utils/collection-ledger-export.ts | 3 +++ web-admin/src/views/cell-storage/presign-order/index.vue | 8 +++++++- .../cell-storage/protocol-audit/DonationProtocolTab.vue | 8 +++++++- .../cell-storage/protocol-audit/ProtocolAuditTab.vue | 8 +++++++- .../cell-storage/sample-info/UnifiedSampleInfoPage.vue | 3 ++- 5 files changed, 26 insertions(+), 4 deletions(-) diff --git a/web-admin/src/utils/collection-ledger-export.ts b/web-admin/src/utils/collection-ledger-export.ts index 8136a81d..8a453c2f 100644 --- a/web-admin/src/utils/collection-ledger-export.ts +++ b/web-admin/src/utils/collection-ledger-export.ts @@ -1,5 +1,8 @@ import type { ProtocolAuditFlatRow } from './protocol-audit-flatten' +/** 采集大表导出入口开关;验收未完成前隐藏按钮,改 true 即可恢复。 */ +export const COLLECTION_LEDGER_EXPORT_ENABLED = false + type Row = Record type PayDetail = { installmentNo?: number | null diff --git a/web-admin/src/views/cell-storage/presign-order/index.vue b/web-admin/src/views/cell-storage/presign-order/index.vue index 9d336351..28e0b859 100644 --- a/web-admin/src/views/cell-storage/presign-order/index.vue +++ b/web-admin/src/views/cell-storage/presign-order/index.vue @@ -56,7 +56,12 @@ 新增预签约 - + 导出 Excel @@ -203,6 +208,7 @@ import { Plus, Search, RefreshLeft, Edit, Delete, Check, Download } from '@element-plus/icons-vue' import { ElMessage } from 'element-plus' import { + COLLECTION_LEDGER_EXPORT_ENABLED, buildPresignLedgerRows, fetchAllPages, PRESIGN_HEADERS, diff --git a/web-admin/src/views/cell-storage/protocol-audit/DonationProtocolTab.vue b/web-admin/src/views/cell-storage/protocol-audit/DonationProtocolTab.vue index ba0c0606..d90e8162 100644 --- a/web-admin/src/views/cell-storage/protocol-audit/DonationProtocolTab.vue +++ b/web-admin/src/views/cell-storage/protocol-audit/DonationProtocolTab.vue @@ -75,7 +75,12 @@ 新增 - + 导出 Excel @@ -462,6 +467,7 @@ } from '@/utils/protocol-doc-label' import { loadVoidTypeDict } from '@/utils/void-type-dict' import { + COLLECTION_LEDGER_EXPORT_ENABLED, RESEARCH_HEADERS, buildResearchLedgerRows, fetchAllPages, diff --git a/web-admin/src/views/cell-storage/protocol-audit/ProtocolAuditTab.vue b/web-admin/src/views/cell-storage/protocol-audit/ProtocolAuditTab.vue index 78a3a4cc..7eb522c8 100644 --- a/web-admin/src/views/cell-storage/protocol-audit/ProtocolAuditTab.vue +++ b/web-admin/src/views/cell-storage/protocol-audit/ProtocolAuditTab.vue @@ -79,7 +79,12 @@ 新增 - + 导出 Excel @@ -430,6 +435,7 @@ } from '@/utils/status-tag-registry' import { loadVoidTypeDict } from '@/utils/void-type-dict' import { + COLLECTION_LEDGER_EXPORT_ENABLED, CELL_STORAGE_HEADERS, buildCellStorageLedgerRows, fetchAllPages, diff --git a/web-admin/src/views/cell-storage/sample-info/UnifiedSampleInfoPage.vue b/web-admin/src/views/cell-storage/sample-info/UnifiedSampleInfoPage.vue index 8ea14bda..4c98a081 100644 --- a/web-admin/src/views/cell-storage/sample-info/UnifiedSampleInfoPage.vue +++ b/web-admin/src/views/cell-storage/sample-info/UnifiedSampleInfoPage.vue @@ -93,7 +93,7 @@ 登记入库