From 056372f85ad68de7741dc5e0e56014710fa3df90 Mon Sep 17 00:00:00 2001 From: SamuelQuetin Date: Thu, 5 Dec 2024 16:11:15 +0100 Subject: [PATCH 1/4] ITEM-386 Ajouter action "Restaurer" --- src/service/ItemService.js | 4 +++ src/views/Exemplarisation/ExempTable.vue | 39 +++++++++++++--------- src/views/Modification/ModifTable.vue | 39 +++++++++++++--------- src/views/Recouvrement/RecouvTable.vue | 42 +++++++++++++++--------- src/views/Suppression/SuppTable.vue | 25 ++++++++++---- 5 files changed, 96 insertions(+), 53 deletions(-) diff --git a/src/service/ItemService.js b/src/service/ItemService.js index 4635ebd..ebf75cc 100644 --- a/src/service/ItemService.js +++ b/src/service/ItemService.js @@ -170,6 +170,10 @@ export class ItemService { stopDemande(id) { return this.client.patch('stopDemandeSupp/' + id); } + + restaurerDemande(id, typeDemande) { + return this.client.patch('restaurerDemande/' + typeDemande + '/' + id ) + } } export default new ItemService() diff --git a/src/views/Exemplarisation/ExempTable.vue b/src/views/Exemplarisation/ExempTable.vue index a6b6324..c998d49 100644 --- a/src/views/Exemplarisation/ExempTable.vue +++ b/src/views/Exemplarisation/ExempTable.vue @@ -1,18 +1,18 @@ + @supp="loadItems('EXEMP')"> diff --git a/src/components/Supp/DialogConfirmationStop.vue b/src/components/Supp/DialogConfirmationStop.vue index 0f8c046..08c8e1a 100644 --- a/src/components/Supp/DialogConfirmationStop.vue +++ b/src/components/Supp/DialogConfirmationStop.vue @@ -3,7 +3,7 @@ Confirmation - Voulez vous vraiment stopper le traitement sur la demande N°{{id}} ? + Voulez vous vraiment stopper le traitement sur la demande N°{{ id }} ? Refuser @@ -13,21 +13,25 @@ diff --git a/src/views/Suppression/SuppTable.vue b/src/views/Suppression/SuppTable.vue index e67b014..a6a804c 100644 --- a/src/views/Suppression/SuppTable.vue +++ b/src/views/Suppression/SuppTable.vue @@ -27,7 +27,8 @@ -