Skip to content

Commit

Permalink
Merge pull request #161 from abes-esr/ITEM-314-back-remettre-letat-de…
Browse files Browse the repository at this point in the history
…-la-demande-a-1-lors-du-changement-de-rcr

FIX ITEM-314-back-remettre-letat-de-la-demande-a-1-lors-du-changement…
  • Loading branch information
SamuelQuetin authored Oct 31, 2024
2 parents d99b734 + f583301 commit c5defa1
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 c5defa1

Please sign in to comment.