台账导出

This commit is contained in:
bb_pan 2025-10-22 17:46:27 +08:00
parent acd5088ac8
commit 90c7b90810
1 changed files with 9 additions and 0 deletions

View File

@ -1060,6 +1060,15 @@ export default {
exportData() {
this.$message.info('正在导出数据,请稍候...')
//
try {
let fileName = `导出_${new Date().getTime()}.xLsx`
let url = '/material-mall/device/export'
const params = { ...this.queryParams }
console.log('🚀 ~ 导出 ~ params:', params)
this.download(url, params, fileName)
} catch (error) {
console.log('导出数据失败', error)
}
},
/**