pagination users, locations, vehicles, loads

This commit is contained in:
Alexandro Uc Santos
2024-02-08 21:28:44 -06:00
parent 2df3bcfcfb
commit 3018a95a59
10 changed files with 157 additions and 39 deletions

View File

@@ -5,7 +5,7 @@
import CardEmpty from '../components/CardEmpty.vue';
import CreateLocationModal from '../components/CreateLocationModal.vue';
import CardLocation from '../components/CardLocation.vue';
import Pagination from '../components/Pagination.vue';
import Pagination from '../components/Pagination.vue';
const companyStore = useCompanyStore();
@@ -23,7 +23,7 @@ import Pagination from '../components/Pagination.vue';
const getInitData = async() => {
loading.value = true;
companyStore.locationsCurrentPage = companyStore.locationsCurrentPage;
// companyStore.locationsCurrentPage = companyStore.locationsCurrentPage;
filterQuery.value.company = "company="+ localStorage.getItem('id');
await companyStore.getLocationsCompany(filterQuery.value, false)
loading.value = false;