diff --git a/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue b/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue index 6b806ad26..41bd9e7ce 100644 --- a/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue +++ b/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue @@ -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) diff --git a/jero-web/src/views/otamanagement/otaAuthentication/index.vue b/jero-web/src/views/otamanagement/otaAuthentication/index.vue index d4e132b38..18bf81e83 100644 --- a/jero-web/src/views/otamanagement/otaAuthentication/index.vue +++ b/jero-web/src/views/otamanagement/otaAuthentication/index.vue @@ -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)