From be09718ec622ba7a38fef8e95eaf8b71d25e748a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E4=B8=89=E7=82=AE?= <15856818120@163.com> Date: Thu, 5 Feb 2026 13:51:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=85=B3=E9=94=AE=E5=AD=97?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/planMange/dailyPlan/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/planMange/dailyPlan/index.vue b/src/views/planMange/dailyPlan/index.vue index 0b616fc..6b895d7 100644 --- a/src/views/planMange/dailyPlan/index.vue +++ b/src/views/planMange/dailyPlan/index.vue @@ -318,10 +318,17 @@ const onDownloadStatistic = () => { // 下载工作量统计表 const onDownloadWorkloadSummary = () => { + + // 获取查询表单的日期数据 + const formData = comTableRef.value?.searchFormRef?.getFormData() || {} + const startDate = formData.startDate || dayjs().startOf('month').format('YYYY-MM-DD') + const endDate = formData.endDate || dayjs().endOf('month').format('YYYY-MM-DD') proxy.download( - '/monthlyPlan/exportWorkloadSummary', + '/dayPlan/exportWorkloadSummary', { dayPlanType: tableType.value, + startDate, + endDate, }, `${tableType.value === '1' ? '检修' : '项目部'}统计表.xlsx`, )