台账导出
This commit is contained in:
parent
acd5088ac8
commit
90c7b90810
|
|
@ -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)
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue