feat: add customer export by status
This commit is contained in:
parent
fcafaeebc0
commit
d6e366f788
1 changed files with 2 additions and 0 deletions
|
|
@ -203,6 +203,7 @@ async function triggerExport() {
|
||||||
case 'employer':
|
case 'employer':
|
||||||
customerStore.customerExport({
|
customerStore.customerExport({
|
||||||
pageSize: 10000,
|
pageSize: 10000,
|
||||||
|
status: currentStatus.value === 'All' ? undefined : currentStatus.value,
|
||||||
startDate: searchDate.value[0],
|
startDate: searchDate.value[0],
|
||||||
endDate: searchDate.value[1],
|
endDate: searchDate.value[1],
|
||||||
businessType: filterBusinessType.value,
|
businessType: filterBusinessType.value,
|
||||||
|
|
@ -222,6 +223,7 @@ async function triggerExport() {
|
||||||
case 'employee':
|
case 'employee':
|
||||||
employeeStore.employeeExport({
|
employeeStore.employeeExport({
|
||||||
pageSize: 10000,
|
pageSize: 10000,
|
||||||
|
status: currentStatus.value === 'All' ? undefined : currentStatus.value,
|
||||||
startDate: searchDate.value[0],
|
startDate: searchDate.value[0],
|
||||||
endDate: searchDate.value[1],
|
endDate: searchDate.value[1],
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue