hotFix(claim_development): reload when change route id
gitea/salix-front/pipeline/pr-master This commit looks good
Details
gitea/salix-front/pipeline/pr-master This commit looks good
Details
This commit is contained in:
parent
6abce3c7d0
commit
8c754dd196
|
@ -20,7 +20,8 @@ const workers = ref([]);
|
||||||
const selected = ref([]);
|
const selected = ref([]);
|
||||||
const saveButtonRef = ref();
|
const saveButtonRef = ref();
|
||||||
|
|
||||||
const developmentsFilter = {
|
const developmentsFilter = computed(() => {
|
||||||
|
return {
|
||||||
fields: [
|
fields: [
|
||||||
'id',
|
'id',
|
||||||
'claimFk',
|
'claimFk',
|
||||||
|
@ -34,6 +35,7 @@ const developmentsFilter = {
|
||||||
claimFk: route.params.id,
|
claimFk: route.params.id,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
});
|
||||||
|
|
||||||
const columns = computed(() => [
|
const columns = computed(() => [
|
||||||
{
|
{
|
||||||
|
@ -142,9 +144,9 @@ const columns = computed(() => [
|
||||||
ref="claimDevelopmentForm"
|
ref="claimDevelopmentForm"
|
||||||
:data-required="{ claimFk: route.params.id }"
|
:data-required="{ claimFk: route.params.id }"
|
||||||
v-model:selected="selected"
|
v-model:selected="selected"
|
||||||
auto-load
|
|
||||||
@save-changes="$router.push(`/claim/${route.params.id}/action`)"
|
@save-changes="$router.push(`/claim/${route.params.id}/action`)"
|
||||||
:default-save="false"
|
:default-save="false"
|
||||||
|
auto-load
|
||||||
>
|
>
|
||||||
<template #body="{ rows }">
|
<template #body="{ rows }">
|
||||||
<QTable
|
<QTable
|
||||||
|
|
Loading…
Reference in New Issue