From 7b5acb0c749d6ccdd82274fad8510ec9573c0ed2 Mon Sep 17 00:00:00 2001 From: yangk Date: Fri, 22 May 2026 15:22:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(timesheetPreAlloc):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=8B=BE=E9=80=89=E9=83=A8=E5=88=86=E6=95=B0=E6=8D=AE=E6=97=B6?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E4=BB=8D=E6=98=AF=E5=85=A8=E9=83=A8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/oa/erp/timesheetPreAlloc/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/oa/erp/timesheetPreAlloc/index.vue b/src/views/oa/erp/timesheetPreAlloc/index.vue index 4479738..3baf36d 100644 --- a/src/views/oa/erp/timesheetPreAlloc/index.vue +++ b/src/views/oa/erp/timesheetPreAlloc/index.vue @@ -624,7 +624,9 @@ const handleExport = () => { proxy?.download( 'oa/erp/timesheetPreAlloc/export', { - ...queryParams.value + ...queryParams.value, + // 如果选中了数据,则只导出选中的数据 + allocIds: ids.value.length > 0 ? ids.value.join(',') : undefined }, `timesheetPreAlloc_${new Date().getTime()}.xlsx` );