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 @@ 登记入库