feat(bx): add list Excel export for reimbursement module pages
Wire ListExportDropdown on advance/reimburse/payment/expense/view/wallet lists, with matching POST export endpoints. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
fe15a130cb
commit
dbba755fd8
16 files changed
+901
-11
No files matched your search
@@ -39,6 +39,14 @@
|
||||
<el-button class="btn-main" type="primary" @click="openProxyUpload()">
|
||||
<el-icon><Upload /></el-icon>代传发票
|
||||
</el-button>
|
||||
<ListExportDropdown
|
||||
:export-fn="invoiceWalletApi.export"
|
||||
:get-filter-params="() => ({ keyword: buildKeyword() })"
|
||||
:has-selection="false"
|
||||
:selected-ids="[]"
|
||||
:visible-columns="['ownerUserName','totalAmount','usedAmount','balance','invoiceCount']"
|
||||
filename="发票夹汇总.xlsx"
|
||||
/>
|
||||
<ListToolbarEndActions :loading="loading" :show-columns="false" @refresh="handleSearch" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -286,7 +294,8 @@
|
||||
} from '@element-plus/icons-vue'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import ListQuickSearchInput from '@/components/business/list-quick-search-input/index.vue'
|
||||
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
|
||||
import ListExportDropdown from '@/components/business/list-export-dropdown/index.vue'
|
||||
import ListToolbarEndActions from '@/components/business/list-toolbar-end-actions/index.vue'
|
||||
import ListColumnStatsRow from '@/components/business/list-column-stats-row/index.vue'
|
||||
import type { StatsRowColumn } from '@/utils/list-column-stats'
|
||||
import BxInvoiceFileSelect from '@/components/bx/base/BxInvoiceFileSelect.vue'
|
||||
|
||||
Reference in new issue
Block a user