删除关键字查询

This commit is contained in:
马三炮 2026-02-05 13:51:08 +08:00
parent d59bfced6b
commit be09718ec6
1 changed files with 8 additions and 1 deletions

View File

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