add bailout constant and routing
This commit is contained in:
parent
54e70770b6
commit
7c4d07de7b
2 changed files with 6 additions and 14 deletions
|
|
@ -9,8 +9,6 @@
|
||||||
v-model="selectedAnswers"
|
v-model="selectedAnswers"
|
||||||
isRequired
|
isRequired
|
||||||
:isMetaValid="meta.valid"
|
:isMetaValid="meta.valid"
|
||||||
:alertFewMoreQuestionsHeader="AlertFewMoreQuestionsHeader"
|
|
||||||
:alertFewMoreQuestionsCopy="AlertFewMoreQuestionsCopy"
|
|
||||||
:questionsData="questionsData"
|
:questionsData="questionsData"
|
||||||
:validationRules="rules.optionRequired"
|
:validationRules="rules.optionRequired"
|
||||||
:index="currentGlassIndex"
|
:index="currentGlassIndex"
|
||||||
|
|
@ -32,6 +30,8 @@ import { useMainStore } from '@/store';
|
||||||
import globalRules from '@/constants/global-rules';
|
import globalRules from '@/constants/global-rules';
|
||||||
import vehicleQuestionsMixin from '@/mixins/vehicle-questions-mixin';
|
import vehicleQuestionsMixin from '@/mixins/vehicle-questions-mixin';
|
||||||
import questionsPageLayout from '@/iss-components/questions-page-layout/questions-page-layout.vue';
|
import questionsPageLayout from '@/iss-components/questions-page-layout/questions-page-layout.vue';
|
||||||
|
import bailoutMessage from '@/constants/bailoutMessage';
|
||||||
|
import navigationScenarios from '@/router/router-constants/navigation-scenarios';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'capability-questions',
|
name: 'capability-questions',
|
||||||
|
|
@ -68,18 +68,6 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
AlertFewMoreQuestionsHeader() {
|
|
||||||
return this.getCmsContent(
|
|
||||||
'AdditionalPartsQuestionsAlert',
|
|
||||||
'HeadlineText'
|
|
||||||
);
|
|
||||||
},
|
|
||||||
AlertFewMoreQuestionsCopy() {
|
|
||||||
return this.getCmsContent(
|
|
||||||
'AdditionalPartsQuestionsAlert',
|
|
||||||
'BodyText'
|
|
||||||
);
|
|
||||||
},
|
|
||||||
partsOrQuestionsData() {
|
partsOrQuestionsData() {
|
||||||
return useMainStore().pageData(issPageValues.CAPABILITY_QUESTIONS)
|
return useMainStore().pageData(issPageValues.CAPABILITY_QUESTIONS)
|
||||||
.partsOrQuestions;
|
.partsOrQuestions;
|
||||||
|
|
|
||||||
|
|
@ -314,6 +314,10 @@ const routingTable = () => [
|
||||||
{
|
{
|
||||||
scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
|
scenario: navigationScenarios.CLICKED_FORWARD_WITH_NO_MORE_QUESTIONS,
|
||||||
destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
|
destinationIssPageValue: issPageValues.COVERAGE_STATEMENT
|
||||||
|
},
|
||||||
|
{
|
||||||
|
scenario: navigationScenarios.CLICKED_NEED_HELP_WITH_BAILOUT,
|
||||||
|
destinationIssPageValue: issPageValues.BAILOUT_PAGE
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue