车型导出

This commit is contained in:
zyx.net
2023-08-24 16:49:14 +08:00
parent 0cbc77ec9f
commit d7802ae216
@@ -956,13 +956,17 @@ export default {
}, },
pageOnChange(page) { pageOnChange(page) {
this.pageNo = page this.pageNo = page
this.preservation() if(this.vehicleTypeCode !== this.$t('whole')){
this.preservation()
}
this.getList() this.getList()
}, },
SizeChange(page, pageSize) { SizeChange(page, pageSize) {
this.pageNo = 1 this.pageNo = 1
this.pageSize = pageSize this.pageSize = pageSize
this.preservation() if(this.vehicleTypeCode !== this.$t('whole')){
this.preservation()
}
this.getList() this.getList()
}, },
getList() { getList() {
@@ -1005,7 +1009,11 @@ export default {
}, },
handChange(val){ handChange(val){
this.vehicleTypeCode = val this.vehicleTypeCode = val
this.preservation() this.pageNo = 1
// console.log(this.vehicleTypeCode)
// if(this.vehicleTypeCode !== this.$t('whole')){
this.preservation()
// }
this.getHeader() this.getHeader()
this.$forceUpdate() this.$forceUpdate()
}, },
@@ -1032,7 +1040,7 @@ export default {
} }
this.queryParam.appliedVehicleProject = this.vehicleTypeCode == this.$t('whole')?this.queryParam.appliedVehicleProject:this.vehicleTypeCode this.queryParam.appliedVehicleProject = this.vehicleTypeCode == this.$t('whole')?this.queryParam.appliedVehicleProject:this.vehicleTypeCode
this.queryParam.plannedBpLaunchBatch = this.$route.query.plannedBpLaunchBatch this.queryParam.plannedBpLaunchBatch = this.$route.query.plannedBpLaunchBatch
let exportName = this.$route.query.plannedBpLaunchBatch let exportName = this.$route.query.plannedBpLaunchBatch + '.xlsx'
let query = { let query = {
exportName: exportName, exportName: exportName,
selections: this.selectedRowKeys.join(','), selections: this.selectedRowKeys.join(','),