From 176134634afc97e18a8a3d0604af7f1d3721662c Mon Sep 17 00:00:00 2001 From: SamuelQuetin Date: Wed, 3 Jul 2024 09:38:47 +0200 Subject: [PATCH] Ajout Popup suppression dans tout les composants Ajout route dans popup lancertraitement --- src/components/DialogLancerTraitement.vue | 6 ++- src/components/DialogSuppression.vue | 63 +++++++++++++++++++++++ src/views/Exemplarisation/ExempSteps.vue | 16 +++--- src/views/Exemplarisation/ExempTable.vue | 45 ++++++++-------- src/views/Modification/ModifSteps.vue | 23 ++++++--- src/views/Modification/ModifTable.vue | 41 +++++++-------- src/views/Recouvrement/RecouvSteps.vue | 11 ++-- src/views/Recouvrement/RecouvTable.vue | 39 +++++++------- 8 files changed, 156 insertions(+), 88 deletions(-) create mode 100644 src/components/DialogSuppression.vue diff --git a/src/components/DialogLancerTraitement.vue b/src/components/DialogLancerTraitement.vue index 15d69f5..53ac46b 100644 --- a/src/components/DialogLancerTraitement.vue +++ b/src/components/DialogLancerTraitement.vue @@ -16,7 +16,7 @@ Annuler Valider - OK + OK @@ -36,6 +36,10 @@ const props = defineProps({ type: Boolean, default: false }, + route: { + required: true, + type: String, + } }) const title = ref('Lancement du traitement en production'); const body = ref('Êtes-vous sûr de vouloir lancer le traitement en production ?
Aucune annulation n\'est possible.'); diff --git a/src/components/DialogSuppression.vue b/src/components/DialogSuppression.vue new file mode 100644 index 0000000..7dbcd48 --- /dev/null +++ b/src/components/DialogSuppression.vue @@ -0,0 +1,63 @@ + + + diff --git a/src/views/Exemplarisation/ExempSteps.vue b/src/views/Exemplarisation/ExempSteps.vue index 0c7ca7a..d52eebc 100644 --- a/src/views/Exemplarisation/ExempSteps.vue +++ b/src/views/Exemplarisation/ExempSteps.vue @@ -75,7 +75,7 @@ Lancer le traitement en simulation @@ -97,7 +97,8 @@ - + +