订单根据产品导出
This commit is contained in:
@@ -298,6 +298,13 @@ export default {
|
||||
this.get()
|
||||
},
|
||||
dataExport () {
|
||||
if (this.dateRange && this.dateRange.length === 2) {
|
||||
this.searchModel.Btime = this.dateRange[0]
|
||||
this.searchModel.Etime = this.dateRange[1]
|
||||
}
|
||||
if(this.searchModel.ProductIds.length>0){
|
||||
this.searchModel.ProductId = this.searchModel.ProductIds[0]
|
||||
}
|
||||
this.$api.getDownloadFile('/course/v1/order/Export', this.searchModel)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user