@ -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`
);