Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
654f9a8904 | ||
|
|
b40e41bd87 |
No files matched your search
@@ -1,5 +1,8 @@
|
|||||||
import type { ProtocolAuditFlatRow } from './protocol-audit-flatten'
|
import type { ProtocolAuditFlatRow } from './protocol-audit-flatten'
|
||||||
|
|
||||||
|
/** 采集大表导出入口开关;验收未完成前隐藏按钮,改 true 即可恢复。 */
|
||||||
|
export const COLLECTION_LEDGER_EXPORT_ENABLED = false
|
||||||
|
|
||||||
type Row = Record<string, unknown>
|
type Row = Record<string, unknown>
|
||||||
type PayDetail = {
|
type PayDetail = {
|
||||||
installmentNo?: number | null
|
installmentNo?: number | null
|
||||||
|
|||||||
@@ -56,7 +56,12 @@
|
|||||||
<el-icon><Plus /></el-icon>
|
<el-icon><Plus /></el-icon>
|
||||||
新增预签约
|
新增预签约
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button class="btn-ghost" :loading="exporting" @click="handleExport">
|
<el-button
|
||||||
|
v-if="COLLECTION_LEDGER_EXPORT_ENABLED"
|
||||||
|
class="btn-ghost"
|
||||||
|
:loading="exporting"
|
||||||
|
@click="handleExport"
|
||||||
|
>
|
||||||
<el-icon><Download /></el-icon>
|
<el-icon><Download /></el-icon>
|
||||||
导出 Excel
|
导出 Excel
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -203,6 +208,7 @@
|
|||||||
import { Plus, Search, RefreshLeft, Edit, Delete, Check, Download } from '@element-plus/icons-vue'
|
import { Plus, Search, RefreshLeft, Edit, Delete, Check, Download } from '@element-plus/icons-vue'
|
||||||
import { ElMessage } from 'element-plus'
|
import { ElMessage } from 'element-plus'
|
||||||
import {
|
import {
|
||||||
|
COLLECTION_LEDGER_EXPORT_ENABLED,
|
||||||
buildPresignLedgerRows,
|
buildPresignLedgerRows,
|
||||||
fetchAllPages,
|
fetchAllPages,
|
||||||
PRESIGN_HEADERS,
|
PRESIGN_HEADERS,
|
||||||
|
|||||||
@@ -75,7 +75,12 @@
|
|||||||
<el-icon><Plus /></el-icon>
|
<el-icon><Plus /></el-icon>
|
||||||
新增
|
新增
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button class="btn-ghost" :loading="exporting" @click="handleExport">
|
<el-button
|
||||||
|
v-if="COLLECTION_LEDGER_EXPORT_ENABLED"
|
||||||
|
class="btn-ghost"
|
||||||
|
:loading="exporting"
|
||||||
|
@click="handleExport"
|
||||||
|
>
|
||||||
<el-icon><Download /></el-icon>
|
<el-icon><Download /></el-icon>
|
||||||
导出 Excel
|
导出 Excel
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -462,6 +467,7 @@
|
|||||||
} from '@/utils/protocol-doc-label'
|
} from '@/utils/protocol-doc-label'
|
||||||
import { loadVoidTypeDict } from '@/utils/void-type-dict'
|
import { loadVoidTypeDict } from '@/utils/void-type-dict'
|
||||||
import {
|
import {
|
||||||
|
COLLECTION_LEDGER_EXPORT_ENABLED,
|
||||||
RESEARCH_HEADERS,
|
RESEARCH_HEADERS,
|
||||||
buildResearchLedgerRows,
|
buildResearchLedgerRows,
|
||||||
fetchAllPages,
|
fetchAllPages,
|
||||||
|
|||||||
@@ -79,7 +79,12 @@
|
|||||||
<el-icon><Plus /></el-icon>
|
<el-icon><Plus /></el-icon>
|
||||||
新增
|
新增
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button class="btn-ghost" :loading="exporting" @click="handleExport">
|
<el-button
|
||||||
|
v-if="COLLECTION_LEDGER_EXPORT_ENABLED"
|
||||||
|
class="btn-ghost"
|
||||||
|
:loading="exporting"
|
||||||
|
@click="handleExport"
|
||||||
|
>
|
||||||
<el-icon><Download /></el-icon>
|
<el-icon><Download /></el-icon>
|
||||||
导出 Excel
|
导出 Excel
|
||||||
</el-button>
|
</el-button>
|
||||||
@@ -430,6 +435,7 @@
|
|||||||
} from '@/utils/status-tag-registry'
|
} from '@/utils/status-tag-registry'
|
||||||
import { loadVoidTypeDict } from '@/utils/void-type-dict'
|
import { loadVoidTypeDict } from '@/utils/void-type-dict'
|
||||||
import {
|
import {
|
||||||
|
COLLECTION_LEDGER_EXPORT_ENABLED,
|
||||||
CELL_STORAGE_HEADERS,
|
CELL_STORAGE_HEADERS,
|
||||||
buildCellStorageLedgerRows,
|
buildCellStorageLedgerRows,
|
||||||
fetchAllPages,
|
fetchAllPages,
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
登记入库
|
登记入库
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="isCellStorage"
|
v-if="isCellStorage && COLLECTION_LEDGER_EXPORT_ENABLED"
|
||||||
class="btn-ghost"
|
class="btn-ghost"
|
||||||
:loading="exporting"
|
:loading="exporting"
|
||||||
@click="handleExport"
|
@click="handleExport"
|
||||||
@@ -522,6 +522,7 @@
|
|||||||
sampleStorageFlagTagType
|
sampleStorageFlagTagType
|
||||||
} from '@/utils/status-tag-registry'
|
} from '@/utils/status-tag-registry'
|
||||||
import {
|
import {
|
||||||
|
COLLECTION_LEDGER_EXPORT_ENABLED,
|
||||||
CUSTOMER_SERVICE_HEADERS,
|
CUSTOMER_SERVICE_HEADERS,
|
||||||
buildCustomerServiceLedgerRows,
|
buildCustomerServiceLedgerRows,
|
||||||
fetchAllPages,
|
fetchAllPages,
|
||||||
|
|||||||
Reference in new issue
Block a user