From fdd2c70ba73aa44197aa68fe9cc99356a9b234b1 Mon Sep 17 00:00:00 2001 From: halcyonjac Date: Wed, 25 Jan 2023 11:01:45 +0000 Subject: [PATCH] add handover checks --- src/router.js | 69 +++ src/views/Applications.vue | 18 + src/views/Apply/HandoverChecks/Consent.vue | 96 ++++ .../Apply/HandoverChecks/FormSubmitted.vue | 50 ++ .../Apply/HandoverChecks/HandoverChecks.vue | 67 +++ src/views/Apply/HandoverChecks/Intro.vue | 62 +++ .../HandoverChecks/PersonalInformation.vue | 281 +++++++++++ .../HandoverChecks/ProfessionalDetails.vue | 152 ++++++ src/views/Apply/HandoverChecks/Review.vue | 465 ++++++++++++++++++ 9 files changed, 1260 insertions(+) create mode 100644 src/views/Apply/HandoverChecks/Consent.vue create mode 100644 src/views/Apply/HandoverChecks/FormSubmitted.vue create mode 100644 src/views/Apply/HandoverChecks/HandoverChecks.vue create mode 100644 src/views/Apply/HandoverChecks/Intro.vue create mode 100644 src/views/Apply/HandoverChecks/PersonalInformation.vue create mode 100644 src/views/Apply/HandoverChecks/ProfessionalDetails.vue create mode 100644 src/views/Apply/HandoverChecks/Review.vue diff --git a/src/router.js b/src/router.js index 6864d5acb..c719debd6 100644 --- a/src/router.js +++ b/src/router.js @@ -82,6 +82,15 @@ import CharacterChecksReview from '@/views/Apply/CharacterChecks/Review'; import CharacterChecksConsent from '@/views/Apply/CharacterChecks/Consent'; import CharacterChecksFormSubmitted from '@/views/Apply/CharacterChecks/FormSubmitted'; +// Handover Checks +import HandoverChecks from '@/views/Apply/HandoverChecks/HandoverChecks'; +import HandoverChecksIntro from '@/views/Apply/HandoverChecks/Intro'; +import HandoverChecksPersonalInformation from '@/views/Apply/HandoverChecks/PersonalInformation'; +import HandoverChecksProfessionalDetails from '@/views/Apply/HandoverChecks/ProfessionalDetails'; +import HandoverChecksReview from '@/views/Apply/HandoverChecks/Review'; +import HandoverChecksConsent from '@/views/Apply/HandoverChecks/Consent'; +import HandoverChecksFormSubmitted from '@/views/Apply/HandoverChecks/FormSubmitted'; + // Online Tests import QualifyingTests from '@/views/QualifyingTests/QualifyingTests'; import QualifyingTest from '@/views/QualifyingTests/QualifyingTest'; @@ -695,6 +704,66 @@ const router = new Router({ }, ], }, + { + path: 'handover-checks', + component: HandoverChecks, + children: [ + { + path: '', + component: HandoverChecksIntro, + name: 'handover-checks-intro', + meta: { + requiresAuth: true, + title: 'Consent to handover checks', + }, + }, + { + path: 'personal-information', + component: HandoverChecksPersonalInformation, + name: 'handover-checks-personal-information', + meta: { + requiresAuth: true, + title: 'Consent to handover checks | Personal information', + }, + }, + { + path: 'professional-details', + component: HandoverChecksProfessionalDetails, + name: 'handover-checks-professional-details', + meta: { + requiresAuth: true, + title: 'Consent to handover checks | Professional details', + }, + }, + { + path: 'review', + component: HandoverChecksReview, + name: 'handover-checks-review', + meta: { + requiresAuth: true, + title: 'Consent to handover checks | Review', + }, + }, + { + path: 'consent', + component: HandoverChecksConsent, + name: 'handover-checks-consent', + meta: { + requiresAuth: true, + title: 'Consent to handover checks | Consent', + }, + }, + { + path: 'form-submitted', + component: HandoverChecksFormSubmitted, + name: 'handover-checks-form-submitted', + meta: { + requiresAuth: true, + title: 'Consent to handover checks | Form Submitted', + }, + }, + ], + }, ], }, { diff --git a/src/views/Applications.vue b/src/views/Applications.vue index 5145b229f..658bda936 100644 --- a/src/views/Applications.vue +++ b/src/views/Applications.vue @@ -119,6 +119,24 @@ > View sent character checks consent form + + Complete handover checks consent form + + + View sent handover checks consent form + diff --git a/src/views/Apply/HandoverChecks/Consent.vue b/src/views/Apply/HandoverChecks/Consent.vue new file mode 100644 index 000000000..42ed8d0e2 --- /dev/null +++ b/src/views/Apply/HandoverChecks/Consent.vue @@ -0,0 +1,96 @@ + + diff --git a/src/views/Apply/HandoverChecks/FormSubmitted.vue b/src/views/Apply/HandoverChecks/FormSubmitted.vue new file mode 100644 index 000000000..958e60e76 --- /dev/null +++ b/src/views/Apply/HandoverChecks/FormSubmitted.vue @@ -0,0 +1,50 @@ + + + diff --git a/src/views/Apply/HandoverChecks/HandoverChecks.vue b/src/views/Apply/HandoverChecks/HandoverChecks.vue new file mode 100644 index 000000000..8be009afa --- /dev/null +++ b/src/views/Apply/HandoverChecks/HandoverChecks.vue @@ -0,0 +1,67 @@ + + + diff --git a/src/views/Apply/HandoverChecks/Intro.vue b/src/views/Apply/HandoverChecks/Intro.vue new file mode 100644 index 000000000..44a5debf2 --- /dev/null +++ b/src/views/Apply/HandoverChecks/Intro.vue @@ -0,0 +1,62 @@ + + + diff --git a/src/views/Apply/HandoverChecks/PersonalInformation.vue b/src/views/Apply/HandoverChecks/PersonalInformation.vue new file mode 100644 index 000000000..2842e591f --- /dev/null +++ b/src/views/Apply/HandoverChecks/PersonalInformation.vue @@ -0,0 +1,281 @@ + + + diff --git a/src/views/Apply/HandoverChecks/ProfessionalDetails.vue b/src/views/Apply/HandoverChecks/ProfessionalDetails.vue new file mode 100644 index 000000000..e9d7f1050 --- /dev/null +++ b/src/views/Apply/HandoverChecks/ProfessionalDetails.vue @@ -0,0 +1,152 @@ + + + diff --git a/src/views/Apply/HandoverChecks/Review.vue b/src/views/Apply/HandoverChecks/Review.vue new file mode 100644 index 000000000..7ad7f4919 --- /dev/null +++ b/src/views/Apply/HandoverChecks/Review.vue @@ -0,0 +1,465 @@ + + + + +