全车型导出对接
分车型导出对接
This commit is contained in:
@@ -393,6 +393,7 @@ export default {
|
||||
marketList: [],
|
||||
queryParam: {},
|
||||
formInline: {},
|
||||
cut: '',
|
||||
dataSourcehistory: [],
|
||||
cuList :[],
|
||||
columnshistory: [
|
||||
@@ -1019,6 +1020,13 @@ export default {
|
||||
url = 'ota/otaManageApplyEO/oneCarExportXls'
|
||||
break;
|
||||
}
|
||||
let long = localStorage.getItem('language')
|
||||
let cut = ''
|
||||
if (long && long == 'zh-cn') {
|
||||
this.cut = 'cn'
|
||||
} else if (long && long == 'en-us') {
|
||||
this.cut = 'en'
|
||||
}
|
||||
this.queryParam.appliedVehicleProject = this.vehicleTypeCode == '全部'?this.queryParam.appliedVehicleProject:this.vehicleTypeCode
|
||||
this.queryParam.plannedBpLaunchBatch = this.$route.query.plannedBpLaunchBatch
|
||||
let exportName = this.$route.query.plannedBpLaunchBatch
|
||||
@@ -1028,6 +1036,7 @@ export default {
|
||||
...this.queryParam,
|
||||
orderBy: this.orderBy,
|
||||
orderByField: this.orderByField,
|
||||
cut: this.cut,
|
||||
}
|
||||
|
||||
downloadFile(url, exportName, query, this.selectClear)
|
||||
|
||||
@@ -330,10 +330,18 @@ export default {
|
||||
// console.log('menuId',this.menuId)
|
||||
let dateName = moment(new Date()).format('YYYYMMDD')
|
||||
let name = 'OTA' + this.$t('softwareversion') + ' ' + dateName + '.xlsx'
|
||||
let long = localStorage.getItem('language')
|
||||
let cut = ''
|
||||
if (long && long == 'zh-cn') {
|
||||
this.cut = 'cn'
|
||||
} else if (long && long == 'en-us') {
|
||||
this.cut = 'en'
|
||||
}
|
||||
let query = {
|
||||
exportName: name,
|
||||
selections: this.selectedRowKeys.join(','),
|
||||
...this.queryParam
|
||||
...this.queryParam,
|
||||
cut:this.cut
|
||||
}
|
||||
|
||||
downloadFile('ota/otaManageApplyEO/otaExportXls', name, query, this.selectClear)
|
||||
|
||||
Reference in New Issue
Block a user