diff --git a/src/views/Exemplarisation/ExempSteps.vue b/src/views/Exemplarisation/ExempSteps.vue index 837cb2f..ffff3ad 100644 --- a/src/views/Exemplarisation/ExempSteps.vue +++ b/src/views/Exemplarisation/ExempSteps.vue @@ -179,6 +179,7 @@ function createDemande() { itemService.creerDemande(rcrSelected.value, 'EXEMP') .then(response => { demande.value = response.data; + router.replace(`/exemplarisation/${demande.value.id}`) next(); }).catch(err => { emits('backendError',err); diff --git a/src/views/Modification/ModifSteps.vue b/src/views/Modification/ModifSteps.vue index 42db8d5..e4e9290 100644 --- a/src/views/Modification/ModifSteps.vue +++ b/src/views/Modification/ModifSteps.vue @@ -243,6 +243,7 @@ function createDemande() { itemService.creerDemande(rcrSelected.value, 'MODIF') .then(response => { demande.value = response.data; + router.replace(`/modification/${demande.value.id}`) next(); }).catch(err => { emits('backendError', err); diff --git a/src/views/Recouvrement/RecouvSteps.vue b/src/views/Recouvrement/RecouvSteps.vue index 220cc72..940cefd 100644 --- a/src/views/Recouvrement/RecouvSteps.vue +++ b/src/views/Recouvrement/RecouvSteps.vue @@ -137,6 +137,7 @@ function createDemande() { itemService.creerDemande(rcrSelected.value, 'RECOUV') .then(response => { demande.value = response.data; + router.replace(`/recouvrement/${demande.value.id}`) next(); }).catch(err => { emits('backendError',err); diff --git a/src/views/Suppression/SuppSteps.vue b/src/views/Suppression/SuppSteps.vue index 56116f3..ff0352b 100644 --- a/src/views/Suppression/SuppSteps.vue +++ b/src/views/Suppression/SuppSteps.vue @@ -222,6 +222,7 @@ function createDemande() { itemService.creerDemande(rcrSelected.value, 'SUPP') .then(response => { demande.value = response.data; + router.replace(`/suppression/${demande.value.id}`) next(); }).catch(err => { emits('backendError', err);