From e6a99db73e54676d8caee8535b50e07fe1f7053a Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Thu, 28 Jul 2022 11:07:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E5=A4=96=E6=8A=A5=E5=91=8A=E7=AE=A1?= =?UTF-8?q?=E7=90=86=20=E6=90=9C=E7=B4=A2=E4=BC=A0=E5=8F=82=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/views/externalReports/index.vue | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/jero-web/src/views/externalReports/index.vue b/jero-web/src/views/externalReports/index.vue index c04af8877..22bbafad7 100644 --- a/jero-web/src/views/externalReports/index.vue +++ b/jero-web/src/views/externalReports/index.vue @@ -82,7 +82,7 @@ {{$t('uploadedBy')}} + v-model="queryParams.updateBy"> @@ -96,7 +96,7 @@ @change="onChange" format="YYYY-MM-DD" :getCalendarContainer="(trigger) => trigger.parentNode" - v-model="queryParams.uploadTime" + v-model="queryParams.updateTime" :disabled="false"/> @@ -714,6 +714,9 @@ export default { //搜索 searchQuery(item) { this.pageNo = 1 + if(this.queryParams.updateTime){ + this.queryParams.updateTime = this.queryParams.updateTime.join(',') + } this.loadData(item) }, //清空 @@ -799,12 +802,12 @@ export default { downloadFile('split/sarFileSplitItems/exportSplitInfoZip', name, query, this.selectClear) }, onChange(value,dateString){ - if (this.queryParams.uploadTime && this.queryParams.uploadTime.length > 0) { + if (this.queryParams.updateTime && this.queryParams.updateTime.length > 0) { let dateOne = moment(dateString[0]).format('YYYY-MM-DD') let dateTwo = moment(dateString[1]).format('YYYY-MM-DD') - this.queryParams.uploadTime = [dateOne, dateTwo] + this.queryParams.updateTime = [dateOne, dateTwo] } else { - this.queryParams.uploadTime = [] + this.queryParams.updateTime = [] // this.queryParamOne[item + '_name'] = [] } },