Update LazyLoadDoc.vue

pull/3743/head
Tuğçe Küçükoğlu 2023-03-13 13:45:38 +03:00
parent c06021099e
commit d0a32274ff
1 changed files with 4 additions and 4 deletions

View File

@ -222,7 +222,7 @@ export default {
const selectAll = event.checked; const selectAll = event.checked;
if (selectAll) { if (selectAll) {
this.customerService.getCustomers().then(data => { CustomerService.getCustomers().then(data => {
this.selectAll = true; this.selectAll = true;
this.selectedCustomers = data.customers; this.selectedCustomers = data.customers;
}); });
@ -336,10 +336,10 @@ const onFilter = () => {
loadLazyData(); loadLazyData();
}; };
const onSelectAllChange = (event) => { const onSelectAllChange = (event) => {
const selectAll = event.checked; selectAll.value = event.checked;
if (selectAll) { if (selectAll) {
customerService.value.getCustomers().then(data => { CustomerService.getCustomers().then(data => {
selectAll.value = true; selectAll.value = true;
selectedCustomers.value = data.customers; selectedCustomers.value = data.customers;
}); });
@ -422,7 +422,7 @@ const onRowUnselect = () => {
const selectAll = event.checked; const selectAll = event.checked;
if (selectAll) { if (selectAll) {
this.customerService.getCustomers().then((data) => { CustomerService.getCustomers().then((data) => {
this.selectAll = true; this.selectAll = true;
this.selectedCustomers = data.customers; this.selectedCustomers = data.customers;
}); });