From d7802ae216ffeed02972549893eb06e8b8e0d6a7 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Thu, 24 Aug 2023 16:49:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E5=9E=8B=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../otaAuthentication/components/detil.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue b/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue index fbb483ac4..591c2c7e3 100644 --- a/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue +++ b/jero-web/src/views/otamanagement/otaAuthentication/components/detil.vue @@ -956,13 +956,17 @@ export default { }, pageOnChange(page) { this.pageNo = page - this.preservation() + if(this.vehicleTypeCode !== this.$t('whole')){ + this.preservation() + } this.getList() }, SizeChange(page, pageSize) { this.pageNo = 1 this.pageSize = pageSize - this.preservation() + if(this.vehicleTypeCode !== this.$t('whole')){ + this.preservation() + } this.getList() }, getList() { @@ -1005,7 +1009,11 @@ export default { }, handChange(val){ this.vehicleTypeCode = val - this.preservation() + this.pageNo = 1 + // console.log(this.vehicleTypeCode) + // if(this.vehicleTypeCode !== this.$t('whole')){ + this.preservation() + // } this.getHeader() this.$forceUpdate() }, @@ -1032,7 +1040,7 @@ export default { } this.queryParam.appliedVehicleProject = this.vehicleTypeCode == this.$t('whole')?this.queryParam.appliedVehicleProject:this.vehicleTypeCode this.queryParam.plannedBpLaunchBatch = this.$route.query.plannedBpLaunchBatch - let exportName = this.$route.query.plannedBpLaunchBatch + let exportName = this.$route.query.plannedBpLaunchBatch + '.xlsx' let query = { exportName: exportName, selections: this.selectedRowKeys.join(','),