feat:钱包导出
This commit is contained in:
1 parent
58d290ebb3
commit
a264f8abff
4 files changed
+26
-5
No files matched your search
@@ -136,7 +136,11 @@ const resetQuery = () => {
|
||||
|
||||
// 导出excel
|
||||
const exportExcel = () => {
|
||||
downBlobFile("/wallet/wallet-transaction/export-cz", Object.assign(state.queryForm), "walletRecharge.xlsx")
|
||||
downBlobFile(
|
||||
"/wallet/wallet-transaction/export-cz",
|
||||
Object.assign(state.queryForm, { current: state.pagination?.current, size: state.pagination?.size }),
|
||||
"walletRecharge.xlsx",
|
||||
)
|
||||
}
|
||||
|
||||
// 多选事件
|
||||
|
||||
@@ -13,6 +13,11 @@
|
||||
<el-input v-model="state.queryForm.cardNumber" placeholder="饭卡卡号" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item class="w100" label="饭卡类型" prop="walletTypeId">
|
||||
<select-wallet-type v-model="state.queryForm.walletTypeId" placeholder="饭卡类型" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-form-item>
|
||||
<el-button icon="Search" type="primary" @click="getDataList">{{ $t("common.queryBtn") }}</el-button>
|
||||
<el-button icon="Refresh" @click="resetQuery">{{ $t("common.resetBtn") }}</el-button>
|
||||
@@ -51,7 +56,7 @@
|
||||
@sort-change="sortChangeHandle"
|
||||
>
|
||||
<el-table-column type="selection" width="40" align="center" />
|
||||
<el-table-column type="index" label="#" width="40" />
|
||||
<el-table-column type="index" label="#" width="80" />
|
||||
<el-table-column prop="username" width="100" label="用户" />
|
||||
<el-table-column prop="userAvatar" width="80" label="头像">
|
||||
<template #default="{ row }">
|
||||
@@ -163,7 +168,11 @@ const resetQuery = () => {
|
||||
|
||||
// 导出excel
|
||||
const exportExcel = () => {
|
||||
downBlobFile("/wallet/walletManage/export", Object.assign(state.queryForm, { ids: selectObjs }), "walletManage.xlsx")
|
||||
downBlobFile(
|
||||
"/wallet/wallet-manage/export",
|
||||
Object.assign(state.queryForm, { current: state.pagination?.current, size: state.pagination?.size }),
|
||||
"walletManage.xlsx",
|
||||
)
|
||||
}
|
||||
|
||||
// 多选事件
|
||||
|
||||
@@ -153,7 +153,11 @@ const doRefund = async (row: any) => {
|
||||
|
||||
// 导出excel
|
||||
const exportExcel = () => {
|
||||
downBlobFile("/wallet/wallet-transaction/export-tk", Object.assign(state.queryForm), "walletRecharge.xlsx")
|
||||
downBlobFile(
|
||||
"/wallet/wallet-transaction/export-tk",
|
||||
Object.assign(state.queryForm, { current: state.pagination?.current, size: state.pagination?.size }),
|
||||
"walletRecharge.xlsx",
|
||||
)
|
||||
}
|
||||
|
||||
// 多选事件
|
||||
|
||||
@@ -144,7 +144,11 @@ const resetQuery = () => {
|
||||
|
||||
// 导出excel
|
||||
const exportExcel = () => {
|
||||
downBlobFile("/wallet/wallet-transaction/export-xf", Object.assign(state.queryForm), "walletRecharge.xlsx")
|
||||
downBlobFile(
|
||||
"/wallet/wallet-transaction/export-xf",
|
||||
Object.assign(state.queryForm, { current: state.pagination?.current, size: state.pagination?.size }),
|
||||
"walletRecharge.xlsx",
|
||||
)
|
||||
}
|
||||
|
||||
const doRefund = (row: any) => {
|
||||
|
||||
Reference in new issue
Block a user