筛选
This commit is contained in:
@@ -226,7 +226,10 @@ export default {
|
|||||||
Btime: '',
|
Btime: '',
|
||||||
Etime: '',
|
Etime: '',
|
||||||
Bktime: '',
|
Bktime: '',
|
||||||
Ektime: ''
|
Ektime: '',
|
||||||
|
ProductId: '',
|
||||||
|
PackageId: '',
|
||||||
|
PackageName: '',
|
||||||
},
|
},
|
||||||
onlineClient: [],
|
onlineClient: [],
|
||||||
currentAccount: {},
|
currentAccount: {},
|
||||||
@@ -450,6 +453,21 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
dataExport () {
|
dataExport () {
|
||||||
|
if (this.dateRange && this.dateRange.length === 2) {
|
||||||
|
this.searchModel.Btime = this.dateRange[0]
|
||||||
|
this.searchModel.Etime = this.dateRange[1]
|
||||||
|
}
|
||||||
|
if (this.dateRange1 && this.dateRange1.length === 2) {
|
||||||
|
this.searchModel.Bktime = this.dateRange1[0]
|
||||||
|
this.searchModel.Ektime = this.dateRange1[1]
|
||||||
|
}
|
||||||
|
if (this.searchModel.ProductIds.length>0){
|
||||||
|
this.searchModel.ProductId=parseInt(this.searchModel.ProductIds[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this.searchModel.PackageNames.length>0){
|
||||||
|
this.searchModel.PackageName=this.searchModel.PackageNames[0];
|
||||||
|
}
|
||||||
this.$api.getDownloadFile('/course/v1/productaccount/Export', this.searchModel)
|
this.$api.getDownloadFile('/course/v1/productaccount/Export', this.searchModel)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user