0
0
Fork 0

hotFix(claim_development): reload when change route id

This commit is contained in:
Alex Moreno 2024-08-05 15:22:34 +02:00
parent 6abce3c7d0
commit 8c754dd196
1 changed files with 17 additions and 15 deletions

View File

@ -20,7 +20,8 @@ const workers = ref([]);
const selected = ref([]);
const saveButtonRef = ref();
const developmentsFilter = {
const developmentsFilter = computed(() => {
return {
fields: [
'id',
'claimFk',
@ -34,6 +35,7 @@ const developmentsFilter = {
claimFk: route.params.id,
},
};
});
const columns = computed(() => [
{
@ -142,9 +144,9 @@ const columns = computed(() => [
ref="claimDevelopmentForm"
:data-required="{ claimFk: route.params.id }"
v-model:selected="selected"
auto-load
@save-changes="$router.push(`/claim/${route.params.id}/action`)"
:default-save="false"
auto-load
>
<template #body="{ rows }">
<QTable