Skip to content

Commit

Permalink
FIX ITEM-314-back-remettre-letat-de-la-demande-a-1-lors-du-changement…
Browse files Browse the repository at this point in the history
…-de-rcr :

     - modification de la fonction changeEtat() dans ExempSteps.vue
  • Loading branch information
EryneKL committed Oct 31, 2024
1 parent d99b734 commit f583301
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/views/Exemplarisation/ExempSteps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,12 @@ function prev() {
}
function changeEtat() {
if ((currentStep.value + 1) === 1) {
itemService.choixEtape(demande.value.id, 2, 'EXEMP')
.then(response => {
demande.value = response.data;
})
}
if((currentStep.value + 1) === 3) { //Changement d'etat pour le chargement du fichier car le back est perdu sinon
itemService.choixEtape(demande.value.id, currentStep.value + 1, 'EXEMP')
.then(response => {
Expand Down

0 comments on commit f583301

Please sign in to comment.