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'] = [] } },