diff --git a/src/components/ButtonsActions/BtnArchive.vue b/src/components/ButtonsActions/BtnArchive.vue
new file mode 100644
index 0000000..5c36570
--- /dev/null
+++ b/src/components/ButtonsActions/BtnArchive.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
diff --git a/src/components/ButtonsActions/BtnRestore.vue b/src/components/ButtonsActions/BtnRestore.vue
new file mode 100644
index 0000000..5a33779
--- /dev/null
+++ b/src/components/ButtonsActions/BtnRestore.vue
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
diff --git a/src/components/ButtonsActions/BtnStop.vue b/src/components/ButtonsActions/BtnStop.vue
new file mode 100644
index 0000000..4b7623d
--- /dev/null
+++ b/src/components/ButtonsActions/BtnStop.vue
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/ButtonsActions/BtnSuppression.vue b/src/components/ButtonsActions/BtnSuppression.vue
new file mode 100644
index 0000000..4082304
--- /dev/null
+++ b/src/components/ButtonsActions/BtnSuppression.vue
@@ -0,0 +1,33 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/Supp/DialogConfirmationStop.vue b/src/components/Dialog/DialogConfirmationStop.vue
similarity index 91%
rename from src/components/Supp/DialogConfirmationStop.vue
rename to src/components/Dialog/DialogConfirmationStop.vue
index 08c8e1a..2388fd1 100644
--- a/src/components/Supp/DialogConfirmationStop.vue
+++ b/src/components/Dialog/DialogConfirmationStop.vue
@@ -15,7 +15,7 @@
diff --git a/src/components/Dialog/DialogSuppression.vue b/src/components/Dialog/DialogSuppression.vue
index 1cea8d1..38bb579 100644
--- a/src/components/Dialog/DialogSuppression.vue
+++ b/src/components/Dialog/DialogSuppression.vue
@@ -10,7 +10,7 @@
Suppression
- Êtes-vous certain de vouloir supprimer définitivement cette demande ?
+ Êtes-vous certain de vouloir supprimer définitivement la demande N°{{ demande.id }} ?
@@ -28,7 +28,7 @@ import router from '@/router';
import { ref } from 'vue';
const dialog = defineModel();
-const emits = defineEmits(['supp'])
+const emits = defineEmits(['supp']);
const props = defineProps({
returnToAccueil: {
required: false,
@@ -38,21 +38,22 @@ const props = defineProps({
required: true,
type: Object
}
-})
+});
const isLoading = ref(false);
function confirm() {
isLoading.value = true;
itemService.deleteDemande(props.demande.id, props.demande.type)
- .then(()=>{
- if(props.returnToAccueil){
+ .then(() => {
+ if (props.returnToAccueil) {
router.push('/accueil');
}
emits('supp');
- }).finally(() => {
- isLoading.value = false;
- dialog.value = false;
- })
+ })
+ .finally(() => {
+ isLoading.value = false;
+ dialog.value = false;
+ });
}
function cancel() {
diff --git a/src/components/Supp/BtnStop.vue b/src/components/Supp/BtnStop.vue
deleted file mode 100644
index 76fa34a..0000000
--- a/src/components/Supp/BtnStop.vue
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
-
-
diff --git a/src/views/Exemplarisation/ExempTable.vue b/src/views/Exemplarisation/ExempTable.vue
index c998d49..b015d74 100644
--- a/src/views/Exemplarisation/ExempTable.vue
+++ b/src/views/Exemplarisation/ExempTable.vue
@@ -26,7 +26,8 @@
-
@@ -119,31 +120,35 @@
-
-
-
+
+
+
|
-