From d5ed4556912e269acd2a56a999d0d39dd0a74d3d Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Mon, 21 Aug 2023 18:01:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E8=BD=A6=E5=9E=8B=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E5=AF=B9=E6=8E=A5=20=E5=88=86=E8=BD=A6=E5=9E=8B=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../otaAuthentication/components/detil.vue | 9 +++++++++ .../views/otamanagement/otaAuthentication/index.vue | 10 +++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) 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)