From c06cd6dc0f33d903ccf909d3e03eec5735178ac7 Mon Sep 17 00:00:00 2001 From: mashuai Date: Thu, 15 Jan 2026 13:44:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../business/leasePublish/component/homeApply.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/business/leasePublish/component/homeApply.vue b/src/views/business/leasePublish/component/homeApply.vue index 02ec45a6..04302132 100644 --- a/src/views/business/leasePublish/component/homeApply.vue +++ b/src/views/business/leasePublish/component/homeApply.vue @@ -444,11 +444,19 @@ export default { const seconds = String(date.getSeconds()).padStart(2, '0'); return `${year}${month}${day}_${hours}${minutes}${seconds}`; }; + const params = { + keyWord: this.queryParams.keyWord, + status: this.queryParams.taskStatus, + startTime: this.queryParams.startTime, + endTime: this.queryParams.endTime, + pageSize: this.queryParams.pageSize, + pageNum: this.queryParams.pageNum, + }; const currentTime = formatTime(new Date()); this.download( "/material/leaseTask/exportPublish", - { ...this.queryParams }, + params, `领料申请发布_${currentTime}.xlsx` ); }, @@ -557,7 +565,7 @@ export default { async downloadPDF() { try { this.$modal.loading('正在生成PDF,请稍候...') - + // 获取要转换的DOM元素 const element = document.getElementById('print-content1') if (!element) {