From c9ac53f06e02798c0820895f9693ef9202bf8793 Mon Sep 17 00:00:00 2001 From: lhb <495598773@qq.com> Date: Fri, 9 May 2025 10:04:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A4=90=E9=A5=AE=E7=BB=9F=E8=AE=A1=E5=AF=BC?= =?UTF-8?q?=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/restaurant/statistics/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/restaurant/statistics/index.vue b/src/views/restaurant/statistics/index.vue index 6b25a73..5bd6bce 100644 --- a/src/views/restaurant/statistics/index.vue +++ b/src/views/restaurant/statistics/index.vue @@ -278,9 +278,9 @@ export default { }, /** 导出按钮操作 */ handleExport() { - exportStatistics(this.queryParams).then(response => { - this.downloadExcel(response.msg); - }) + this.download('restaurant/statistics/export', { + ...this.queryParams + }, `员工餐费明细_${new Date().getTime()}.xlsx`) }, /** 科大实习生导出 */ handleExportKd(){