diff --git a/src/components/Exemp/TypeExemp.vue b/src/components/Exemp/TypeExemp.vue index 4f5b77b..9fb6c50 100644 --- a/src/components/Exemp/TypeExemp.vue +++ b/src/components/Exemp/TypeExemp.vue @@ -54,8 +54,6 @@ function deleted() { diff --git a/src/router/index.js b/src/router/index.js index 7537780..d329048 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -72,6 +72,13 @@ const routes = [ component: ModifSteps, meta: {requiresAuth: true} }, + { + path: '/modification/:id', + name: 'modificationWithId', + component: ModifSteps, + props: true, + meta: {requiresAuth: true} + }, { path: '/exemplarisation', name: 'exemplarisation', diff --git a/src/views/Exemplarisation/ExempSteps.vue b/src/views/Exemplarisation/ExempSteps.vue index 3fea121..0c7ca7a 100644 --- a/src/views/Exemplarisation/ExempSteps.vue +++ b/src/views/Exemplarisation/ExempSteps.vue @@ -82,7 +82,7 @@ - + précédent @@ -125,7 +125,6 @@ const isLoading = ref(false); const dialog = ref(false); onMounted(()=>{ - console.log(props.id); if(props.id){ DemandesService.getDemande(props.id, "EXEMP") .then(response => { diff --git a/src/views/Modification/ModifSteps.vue b/src/views/Modification/ModifSteps.vue index e8f046a..14c96f9 100644 --- a/src/views/Modification/ModifSteps.vue +++ b/src/views/Modification/ModifSteps.vue @@ -1,7 +1,7 @@ diff --git a/src/views/Modification/ModifTable.vue b/src/views/Modification/ModifTable.vue index 358165e..5cfa6b1 100644 --- a/src/views/Modification/ModifTable.vue +++ b/src/views/Modification/ModifTable.vue @@ -70,7 +70,7 @@