|
@ -182,6 +182,10 @@ const handleExport = async () => { |
|
|
// 发起导出 |
|
|
// 发起导出 |
|
|
loadStart() |
|
|
loadStart() |
|
|
const excelTitle = ref(route.meta.title) |
|
|
const excelTitle = ref(route.meta.title) |
|
|
|
|
|
|
|
|
|
|
|
const checkData = await TransactionApi.checkExportTransaction(tableObject.params) |
|
|
|
|
|
console.log('checkData',checkData) |
|
|
|
|
|
|
|
|
const data = await TransactionApi.exportTransaction(tableObject.params) |
|
|
const data = await TransactionApi.exportTransaction(tableObject.params) |
|
|
download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) |
|
|
download.excel(data, `【${excelTitle.value}】【${formatDate(new Date())}】.xlsx`) |
|
|
} catch { |
|
|
} catch { |
|
|