update components

This commit is contained in:
Julian Krauser 2025-07-23 10:41:46 +02:00
parent 8c4a53bc17
commit 4da2e9c792
19 changed files with 11 additions and 23 deletions

View file

@ -4,8 +4,7 @@
:items="inspections"
:totalCount="totalCount"
:indicateLoading="false"
@load-data="(offset, count, search) => {}"
@search="(search) => {}"
@load-data="(offset, count, search) => fetchInspectionForWearable(offset, count, search)"
>
<template #pageRow="{ row }: { row: InspectionViewModel }">
<RouterLink
@ -46,6 +45,7 @@ import { useWearableInspectionStore } from "@/stores/admin/unit/wearable/inspect
import { PencilSquareIcon } from "@heroicons/vue/24/outline";
import Pagination from "@/components/Pagination.vue";
import type { InspectionViewModel } from "@/viewmodels/admin/unit/inspection/inspection.models";
import { count } from "console";
</script>
<script lang="ts">
@ -63,7 +63,7 @@ export default defineComponent({
methods: {
...mapActions(useWearableInspectionStore, ["fetchInspectionForWearable"]),
fetchItem() {
this.fetchInspectionForWearable();
this.fetchInspectionForWearable(0, 25, "", true);
},
},
});