|
@@ -77,7 +77,7 @@
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
import getDate from '@/libs/getDate.js'
|
|
|
import moment from 'moment'
|
|
|
-import { orderList } from '@/api/order'
|
|
|
+import { orderList, orderExport } from '@/api/order'
|
|
|
export default {
|
|
|
name: 'ShopOrder',
|
|
|
components: { STable, VSelect },
|
|
@@ -184,10 +184,10 @@ export default {
|
|
|
this.$message.error('单次最多只能导出3个月的数据,请缩小查询区间后再进行导出!')
|
|
|
}
|
|
|
this.loading = true
|
|
|
- // exportBundle(params).then(res => {
|
|
|
- // this.loading = false
|
|
|
- // this.download(res)
|
|
|
- // })
|
|
|
+ orderExport(params).then(res => {
|
|
|
+ this.loading = false
|
|
|
+ this.download(res)
|
|
|
+ })
|
|
|
},
|
|
|
download (data) {
|
|
|
if (!data) { return }
|