feat: add customer export by status

This commit is contained in:
puriphatt 2025-09-17 14:41:41 +07:00 committed by Methapon2001
parent fcafaeebc0
commit d6e366f788

View file

@ -203,6 +203,7 @@ async function triggerExport() {
case 'employer':
customerStore.customerExport({
pageSize: 10000,
status: currentStatus.value === 'All' ? undefined : currentStatus.value,
startDate: searchDate.value[0],
endDate: searchDate.value[1],
businessType: filterBusinessType.value,
@ -222,6 +223,7 @@ async function triggerExport() {
case 'employee':
employeeStore.employeeExport({
pageSize: 10000,
status: currentStatus.value === 'All' ? undefined : currentStatus.value,
startDate: searchDate.value[0],
endDate: searchDate.value[1],
});