diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts index 1a4249ae6..f7e868f5e 100644 --- a/frontend/src/router/index.ts +++ b/frontend/src/router/index.ts @@ -27,6 +27,11 @@ const ExpertSituationPN = () => import('@/views/GuideContactExpert/ExpertSituati const ExpertSituationGN = () => import('@/views/GuideContactExpert/ExpertSituationGN.vue') const ExpertPTS = () => import('@/views/GuideContactExpert/ExpertPTS.vue') const ExpertPTSNU = () => import('@/views/GuideContactExpert/ExpertPTSNU.vue') +const ExpertiseForm = () => import('@/views/GuideAskingExpertise/ExpertiseForm.vue') +const ExpertiseFormFirearm = () => import('@/views/GuideAskingExpertise/ExpertiseFormFirearm.vue') +const ExpertiseFormDetails = () => import('@/views/GuideAskingExpertise/ExpertiseFormDetails.vue') +const ExpertiseFormSpecialist = () => import('@/views/GuideAskingExpertise/ExpertiseFormSpecialist.vue') +const ExpertiseFormInformations = () => import('@/views/GuideAskingExpertise/ExpertiseFormInformations.vue') const routes: Parameters [0]['routes'] = [ { @@ -197,6 +202,56 @@ const routes: Parameters [0]['routes'] = [ name: 'ExpertPTSNU', component: ExpertPTSNU, }, + + // asking expertise + { + path: '/guide-demande-expertise', + name: 'ExpertiseForm', + component: ExpertiseForm, + children: [ + { + path: 'informations', + name: 'ExpertiseFormInformations', + component: ExpertiseFormInformations, + }, + { + path: 'arme', + name: 'ExpertiseFormFirearm', + component: ExpertiseFormFirearm, + }, + + { + path: 'details-arme', + name: 'ExpertiseFormDetails', + component: ExpertiseFormDetails, + }, + + { + path: 'specialiste-arme', + name: 'ExpertiseFormSpecialist', + component: ExpertiseFormSpecialist, + }, + ], + }, + + // children: [ + // { + // path: 'mise-en-securite-instructions', + // name: 'SecuringInstructions', + // component: SecuringInstructions, + // }, + // { + // path: 'mise-en-securite-recommandations', + // name: 'SecuringRecommendations', + // component: SecuringRecommendations, + // }, + // { + // path: 'mise-en-securite-introduction', + // name: 'SecuringIntroduction', + // component: SecuringIntroduction, + // }, + // ], + ] const router = createRouter({ diff --git a/frontend/src/views/GuideAskingExpertise/ExpertiseForm.vue b/frontend/src/views/GuideAskingExpertise/ExpertiseForm.vue new file mode 100644 index 000000000..133eff547 --- /dev/null +++ b/frontend/src/views/GuideAskingExpertise/ExpertiseForm.vue @@ -0,0 +1,122 @@ + + + + + diff --git a/frontend/src/views/GuideAskingExpertise/ExpertiseFormDetails.vue b/frontend/src/views/GuideAskingExpertise/ExpertiseFormDetails.vue new file mode 100644 index 000000000..66432b702 --- /dev/null +++ b/frontend/src/views/GuideAskingExpertise/ExpertiseFormDetails.vue @@ -0,0 +1,143 @@ + + + + + diff --git a/frontend/src/views/GuideAskingExpertise/ExpertiseFormFirearm.vue b/frontend/src/views/GuideAskingExpertise/ExpertiseFormFirearm.vue new file mode 100644 index 000000000..e1c3a2cdf --- /dev/null +++ b/frontend/src/views/GuideAskingExpertise/ExpertiseFormFirearm.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/frontend/src/views/GuideAskingExpertise/ExpertiseFormInformations.vue b/frontend/src/views/GuideAskingExpertise/ExpertiseFormInformations.vue new file mode 100644 index 000000000..aa44acf8b --- /dev/null +++ b/frontend/src/views/GuideAskingExpertise/ExpertiseFormInformations.vue @@ -0,0 +1,73 @@ + + + + + diff --git a/frontend/src/views/GuideAskingExpertise/ExpertiseFormSpecialist.vue b/frontend/src/views/GuideAskingExpertise/ExpertiseFormSpecialist.vue new file mode 100644 index 000000000..c30a7c83e --- /dev/null +++ b/frontend/src/views/GuideAskingExpertise/ExpertiseFormSpecialist.vue @@ -0,0 +1,185 @@ + + + + + diff --git a/frontend/src/views/GuideContactExpert/ExpertPTSNU.vue b/frontend/src/views/GuideContactExpert/ExpertPTSNU.vue index dea9df526..a47de7811 100644 --- a/frontend/src/views/GuideContactExpert/ExpertPTSNU.vue +++ b/frontend/src/views/GuideContactExpert/ExpertPTSNU.vue @@ -271,7 +271,7 @@ function onClose () { -