From 056372f85ad68de7741dc5e0e56014710fa3df90 Mon Sep 17 00:00:00 2001 From: SamuelQuetin Date: Thu, 5 Dec 2024 16:11:15 +0100 Subject: [PATCH] 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')">