From 8ae195b7b308f7e2bedba506c57b76247d43e290 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Fri, 18 Jul 2025 11:17:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/material/stquery/deviceUsingRecord.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/views/material/stquery/deviceUsingRecord.vue b/src/views/material/stquery/deviceUsingRecord.vue index 239c8942..3e0ab08d 100644 --- a/src/views/material/stquery/deviceUsingRecord.vue +++ b/src/views/material/stquery/deviceUsingRecord.vue @@ -366,12 +366,23 @@ export default { const seconds = String(date.getSeconds()).padStart(2, '0'); return `${year}${month}${day}_${hours}${minutes}${seconds}`; }; + const params = { + unitId: this.queryParams.unitId, + proId: this.queryParams.proId, + keyWord: this.queryParams.keyWord, + typeName: this.queryParams.typeName, + isSlt: this.queryParams.isSlt, + startTime: this.queryParams.time && this.queryParams.time[0], + endTime: this.queryParams.time && this.queryParams.time[1], + pageSize: this.queryParams.pageSize, + pageNum: this.queryParams.pageNum + } const currentTime = formatTime(new Date()); this.download( 'material/complex_query/exportProjUsingRecord', { - ...this.queryParams, + ...params, }, `综合查询_工程机具使用_${currentTime}.xlsx`, )