CASH-939 policy driver page content
CASH-939 policy driver page content
This commit is contained in:
parent
082eedfdea
commit
d3a21d10bd
1 changed files with 22 additions and 4 deletions
|
|
@ -8,10 +8,20 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-md-10 col-lg-8 col-xl-7">
|
<div class="col-12 col-md-10 col-lg-8 col-xl-7">
|
||||||
<funnelSubHeader class="pb-4" cmsWidgetName="FunnelSubHeaderWidget" />
|
<funnelSubHeader
|
||||||
<!--
|
cmsWidgetName="FunnelSubHeaderWidget"
|
||||||
... Page code goes here.
|
class="siteSubHeader mb-4"
|
||||||
-->
|
:alignLeft="true" />
|
||||||
|
|
||||||
|
<buttonQuestion
|
||||||
|
:questionText="driverSelectionText"
|
||||||
|
:answers="driverSelectionAnswers"
|
||||||
|
class="mb-4"
|
||||||
|
groupName="driverQuestion"
|
||||||
|
buttonTypeString="listButton"
|
||||||
|
isRequired
|
||||||
|
v-model="driverSelectionValue" />
|
||||||
|
|
||||||
<insuranceNavBar
|
<insuranceNavBar
|
||||||
cmsWidgetName="FunnelFooterWidget"
|
cmsWidgetName="FunnelFooterWidget"
|
||||||
ref="navbar"
|
ref="navbar"
|
||||||
|
|
@ -29,6 +39,7 @@
|
||||||
import funnelHeader from "@/fmg-components/funnel-header/funnel-header";
|
import funnelHeader from "@/fmg-components/funnel-header/funnel-header";
|
||||||
import insuranceNavBar from "@/fmg-components/insurance-nav-bar/insurance-nav-bar";
|
import insuranceNavBar from "@/fmg-components/insurance-nav-bar/insurance-nav-bar";
|
||||||
import funnelSubHeader from "@/fmg-components/funnel-sub-header/funnel-sub-header";
|
import funnelSubHeader from "@/fmg-components/funnel-sub-header/funnel-sub-header";
|
||||||
|
import buttonQuestion from "@/digital-components/button-question/button-question";
|
||||||
import { Form } from "vee-validate";
|
import { Form } from "vee-validate";
|
||||||
|
|
||||||
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
|
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
|
||||||
|
|
@ -49,6 +60,7 @@ export default {
|
||||||
funnelHeader,
|
funnelHeader,
|
||||||
insuranceNavBar,
|
insuranceNavBar,
|
||||||
funnelSubHeader,
|
funnelSubHeader,
|
||||||
|
buttonQuestion,
|
||||||
},
|
},
|
||||||
// Ensure CMS content is fetched during route navigation without depending on `to`/`from`
|
// Ensure CMS content is fetched during route navigation without depending on `to`/`from`
|
||||||
async beforeRouteEnter(to, from, next) {
|
async beforeRouteEnter(to, from, next) {
|
||||||
|
|
@ -81,6 +93,12 @@ export default {
|
||||||
clientLogoImageSrc() {
|
clientLogoImageSrc() {
|
||||||
return this.clientConfig?.ClientLogoWidget?.Image || "";
|
return this.clientConfig?.ClientLogoWidget?.Image || "";
|
||||||
},
|
},
|
||||||
|
driverSelectionText() {
|
||||||
|
return this.getCmsContent("DriverSelectionWidget", "QuestionText");
|
||||||
|
},
|
||||||
|
driverSelectionAnswers() {
|
||||||
|
return this.getCmsContent("DriverSelectionWidget", "Answers");
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue