CASH-938 verify details page
CASH-938 verify details page
This commit is contained in:
parent
f1e6d125fc
commit
ced43b7c19
6 changed files with 172 additions and 75 deletions
|
|
@ -89,4 +89,5 @@ export const NON_MANAGED_SHOW_CLAIM_NUMBER_PARENTS = [
|
||||||
export const PARENT_ACCOUNT_NUMBERS = {
|
export const PARENT_ACCOUNT_NUMBERS = {
|
||||||
STATE_FARM: "711310",
|
STATE_FARM: "711310",
|
||||||
USAA: "900040",
|
USAA: "900040",
|
||||||
|
GEICO: "250034",
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,14 @@ export default {
|
||||||
default: "dark-header",
|
default: "dark-header",
|
||||||
},
|
},
|
||||||
alignLeft: Boolean,
|
alignLeft: Boolean,
|
||||||
|
overrideHeaderText: {
|
||||||
|
type: String,
|
||||||
|
default: "",
|
||||||
|
},
|
||||||
|
overrideHeaderSubText: {
|
||||||
|
type: String,
|
||||||
|
default: "",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
buttonBack,
|
buttonBack,
|
||||||
|
|
@ -48,10 +56,13 @@ export default {
|
||||||
return this.getCmsContent(this.cmsWidgetName, "HeaderSubText");
|
return this.getCmsContent(this.cmsWidgetName, "HeaderSubText");
|
||||||
},
|
},
|
||||||
text() {
|
text() {
|
||||||
return this.getCmsContent(this.cmsWidgetName, "HeaderText");
|
return this.overrideHeaderText || this.getCmsContent(this.cmsWidgetName, "HeaderText");
|
||||||
},
|
},
|
||||||
subText() {
|
subText() {
|
||||||
return this.getCmsContent(this.cmsWidgetName, "HeaderSubText");
|
return (
|
||||||
|
this.overrideHeaderSubText ||
|
||||||
|
this.getCmsContent(this.cmsWidgetName, "HeaderSubText")
|
||||||
|
);
|
||||||
},
|
},
|
||||||
backButtonAccessibleText() {
|
backButtonAccessibleText() {
|
||||||
return this.getCmsContent(this.cmsWidgetName, "BackButtonAccessibleText");
|
return this.getCmsContent(this.cmsWidgetName, "BackButtonAccessibleText");
|
||||||
|
|
|
||||||
|
|
@ -8,19 +8,10 @@
|
||||||
<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"
|
||||||
<textBlock
|
class="siteSubHeader"
|
||||||
cmsWidgetName="DupCheckPageTitleWidget"
|
:alignLeft="true" />
|
||||||
typeStyle="h1"
|
|
||||||
:customText="pageTitleText"
|
|
||||||
class="mb-5 text-left text-md-left cc-page-title" />
|
|
||||||
|
|
||||||
<textBlock
|
|
||||||
cmsWidgetName="DupCheckPageInstructionsWidget"
|
|
||||||
typeStyle="body"
|
|
||||||
:customText="pageInstructionsText"
|
|
||||||
class="mb-5 text-left text-md-left cc-page-instructions" />
|
|
||||||
|
|
||||||
<buttonQuestion
|
<buttonQuestion
|
||||||
:questionText="existingClaimsQuestionText"
|
:questionText="existingClaimsQuestionText"
|
||||||
|
|
@ -60,7 +51,6 @@
|
||||||
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 textBlock from "@/digital-components/text-block/text-block";
|
|
||||||
import buttonQuestion from "@/digital-components/button-question/button-question";
|
import buttonQuestion from "@/digital-components/button-question/button-question";
|
||||||
import { Form } from "vee-validate";
|
import { Form } from "vee-validate";
|
||||||
|
|
||||||
|
|
@ -82,7 +72,6 @@ export default {
|
||||||
funnelHeader,
|
funnelHeader,
|
||||||
insuranceNavBar,
|
insuranceNavBar,
|
||||||
funnelSubHeader,
|
funnelSubHeader,
|
||||||
textBlock,
|
|
||||||
buttonQuestion,
|
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`
|
||||||
|
|
@ -116,12 +105,6 @@ export default {
|
||||||
clientLogoImageSrc() {
|
clientLogoImageSrc() {
|
||||||
return this.clientConfig?.ClientLogoWidget?.Image || "";
|
return this.clientConfig?.ClientLogoWidget?.Image || "";
|
||||||
},
|
},
|
||||||
pageTitleText() {
|
|
||||||
return this.getCmsContent("DupCheckPageTitleWidget", "Text");
|
|
||||||
},
|
|
||||||
pageInstructionsText() {
|
|
||||||
return this.getCmsContent("DupCheckPageInstructionsWidget", "Text");
|
|
||||||
},
|
|
||||||
existingClaimsQuestionText() {
|
existingClaimsQuestionText() {
|
||||||
return this.getCmsContent("ExistingClaimsListWidget", "QuestionText");
|
return this.getCmsContent("ExistingClaimsListWidget", "QuestionText");
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -8,19 +8,10 @@
|
||||||
<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"
|
||||||
<textBlock
|
class="siteSubHeader"
|
||||||
cmsWidgetName="EndorsementsPageAdditionalInfoWidget"
|
:alignLeft="true" />
|
||||||
typeStyle="h1"
|
|
||||||
:customText="endorsementHeading"
|
|
||||||
class="mb-5 text-left text-md-left page-title" />
|
|
||||||
|
|
||||||
<textBlock
|
|
||||||
cmsWidgetName="MoreDetailsWidget"
|
|
||||||
typeStyle="body"
|
|
||||||
:customText="moreDetailsText"
|
|
||||||
class="mb-5 text-left text-md-left page-instructions" />
|
|
||||||
|
|
||||||
<buttonQuestion
|
<buttonQuestion
|
||||||
:questionText="schoolEndorsementQuestionText"
|
:questionText="schoolEndorsementQuestionText"
|
||||||
|
|
@ -64,7 +55,6 @@ import { settleAllPromises } from "@/helpers/layout-helper";
|
||||||
import store from "@/store";
|
import store from "@/store";
|
||||||
import { debugLog } from "@/helpers/debug-log-helper";
|
import { debugLog } from "@/helpers/debug-log-helper";
|
||||||
import buttonQuestion from "@/digital-components/button-question/button-question";
|
import buttonQuestion from "@/digital-components/button-question/button-question";
|
||||||
import textBlock from "@/digital-components/text-block/text-block";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "endorsements",
|
name: "endorsements",
|
||||||
|
|
@ -80,7 +70,6 @@ export default {
|
||||||
insuranceNavBar,
|
insuranceNavBar,
|
||||||
funnelSubHeader,
|
funnelSubHeader,
|
||||||
buttonQuestion,
|
buttonQuestion,
|
||||||
textBlock,
|
|
||||||
},
|
},
|
||||||
// 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) {
|
||||||
|
|
@ -113,12 +102,6 @@ export default {
|
||||||
clientLogoImageSrc() {
|
clientLogoImageSrc() {
|
||||||
return this.clientConfig?.ClientLogoWidget?.Image || "";
|
return this.clientConfig?.ClientLogoWidget?.Image || "";
|
||||||
},
|
},
|
||||||
endorsementHeading() {
|
|
||||||
return this.getCmsContent("EndorsementsPageAdditionalInfoWidget", "Text");
|
|
||||||
},
|
|
||||||
moreDetailsText() {
|
|
||||||
return this.getCmsContent("MoreDetailsWidget", "Text");
|
|
||||||
},
|
|
||||||
schoolEndorsementQuestionText() {
|
schoolEndorsementQuestionText() {
|
||||||
return this.getCmsContent("SchoolEndorsmentQuestionWidget", "QuestionText");
|
return this.getCmsContent("SchoolEndorsmentQuestionWidget", "QuestionText");
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -8,19 +8,12 @@
|
||||||
<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"
|
||||||
<textBlock
|
class="siteSubHeader pb-4"
|
||||||
cmsWidgetName="PageTitleWidget"
|
:alignLeft="true"
|
||||||
typeStyle="h1"
|
:overrideHeaderText="subHeaderTextOverride"
|
||||||
:customText="pageTitleText"
|
:overrideHeaderSubText="subHeaderSubTextOverride" />
|
||||||
class="mb-5 text-left text-md-left cc-page-title" />
|
|
||||||
|
|
||||||
<textBlock
|
|
||||||
cmsWidgetName="PageInstructionsWidget"
|
|
||||||
typeStyle="body"
|
|
||||||
:customText="pageInstructionsText"
|
|
||||||
class="mb-5 text-left text-md-left" />
|
|
||||||
|
|
||||||
<textboxQuestion
|
<textboxQuestion
|
||||||
isRequired
|
isRequired
|
||||||
|
|
@ -213,7 +206,6 @@
|
||||||
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 textBlock from "@/digital-components/text-block/text-block";
|
|
||||||
import textboxQuestion from "@/digital-components/textbox-question/textbox-question";
|
import textboxQuestion from "@/digital-components/textbox-question/textbox-question";
|
||||||
import datePickerPopup from "@/digital-components/date-picker-popup/date-picker-popup";
|
import datePickerPopup from "@/digital-components/date-picker-popup/date-picker-popup";
|
||||||
import dropdownQuestion from "@/digital-components/dropdown-question/dropdown-question";
|
import dropdownQuestion from "@/digital-components/dropdown-question/dropdown-question";
|
||||||
|
|
@ -274,7 +266,6 @@ export default {
|
||||||
funnelHeader,
|
funnelHeader,
|
||||||
insuranceNavBar,
|
insuranceNavBar,
|
||||||
funnelSubHeader,
|
funnelSubHeader,
|
||||||
textBlock,
|
|
||||||
textboxQuestion,
|
textboxQuestion,
|
||||||
datePickerPopup,
|
datePickerPopup,
|
||||||
dropdownQuestion,
|
dropdownQuestion,
|
||||||
|
|
@ -291,17 +282,11 @@ export default {
|
||||||
clientLogoImageSrc() {
|
clientLogoImageSrc() {
|
||||||
return this.clientConfig?.ClientLogoWidget?.Image || "";
|
return this.clientConfig?.ClientLogoWidget?.Image || "";
|
||||||
},
|
},
|
||||||
pageTitleText() {
|
subHeaderTextOverride() {
|
||||||
return (
|
return this.clientConfig?.PageTitleOverrideWidget?.Text || "";
|
||||||
this.clientConfig?.PageTitleOverrideWidget?.Text ||
|
|
||||||
this.getCmsContent("PageTitleWidget", "Text")
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
pageInstructionsText() {
|
subHeaderSubTextOverride() {
|
||||||
return (
|
return this.clientConfig?.PageInstructionsOverrideWidget?.Text || "";
|
||||||
this.clientConfig?.PageInstructionsOverrideWidget?.Text ||
|
|
||||||
this.getCmsContent("PageInstructionsWidget", "Text")
|
|
||||||
);
|
|
||||||
},
|
},
|
||||||
isUSAA() {
|
isUSAA() {
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,63 @@
|
||||||
cmsWidgetName="FunnelHeaderWidget"
|
cmsWidgetName="FunnelHeaderWidget"
|
||||||
ref="funnelHeader"
|
ref="funnelHeader"
|
||||||
:overrideImageSrc="clientLogoImageSrc" />
|
:overrideImageSrc="clientLogoImageSrc" />
|
||||||
|
<div class="page-gradient"></div>
|
||||||
<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 pb-4"
|
||||||
-->
|
:alignLeft="true" />
|
||||||
|
|
||||||
|
<textboxQuestion
|
||||||
|
isRequired
|
||||||
|
class="mb-4"
|
||||||
|
cmsWidgetName="PolicyNumberWidget"
|
||||||
|
v-model="policyNumber"
|
||||||
|
inputId="policyNumber"
|
||||||
|
validationRules="policy-number-required" />
|
||||||
|
|
||||||
|
<datePickerPopup
|
||||||
|
v-if="displayDateOfBirth"
|
||||||
|
isRequired
|
||||||
|
class="mb-4"
|
||||||
|
cmsWidgetName="DateOfBirthWidget"
|
||||||
|
v-model="dateOfBirth"
|
||||||
|
customInputId="dateOfBirth"
|
||||||
|
placeholderText="MM/DD/YYYY"
|
||||||
|
validationRules="date-of-birth-required"
|
||||||
|
format="MM/dd/yyyy"
|
||||||
|
modelType="MM/dd/yyyy"
|
||||||
|
:enableTimePicker="false"
|
||||||
|
:textInputOnly="true"
|
||||||
|
:maxDate="today"
|
||||||
|
:preventMinMaxNavigation="true" />
|
||||||
|
|
||||||
|
<textboxQuestion
|
||||||
|
isRequired
|
||||||
|
class="mb-4"
|
||||||
|
cmsWidgetName="ZipWidget"
|
||||||
|
v-model="policyZip"
|
||||||
|
inputId="policyZip"
|
||||||
|
maxLength="5"
|
||||||
|
validationRules="zip-code-required|zip-code-format" />
|
||||||
|
|
||||||
|
<datePickerPopup
|
||||||
|
isRequired
|
||||||
|
class="mb-4"
|
||||||
|
cmsWidgetName="DateOfLossWidget"
|
||||||
|
v-model="dateOfLoss"
|
||||||
|
customInputId="dateOfLoss"
|
||||||
|
placeholderText="MM/DD/YYYY"
|
||||||
|
validationRules="date-of-loss-required"
|
||||||
|
format="MM/dd/yyyy"
|
||||||
|
modelType="MM/dd/yyyy"
|
||||||
|
:enableTimePicker="false"
|
||||||
|
:textInput="true"
|
||||||
|
:maxDate="today"
|
||||||
|
:preventMinMaxNavigation="true" />
|
||||||
|
|
||||||
<insuranceNavBar
|
<insuranceNavBar
|
||||||
cmsWidgetName="FunnelFooterWidget"
|
cmsWidgetName="FunnelFooterWidget"
|
||||||
ref="navbar"
|
ref="navbar"
|
||||||
|
|
@ -28,25 +78,51 @@
|
||||||
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 { Form } from "vee-validate";
|
import datePickerPopup from "@/digital-components/date-picker-popup/date-picker-popup";
|
||||||
|
import textboxQuestion from "@/digital-components/textbox-question/textbox-question";
|
||||||
|
import { Form, defineRule } from "vee-validate";
|
||||||
|
import { required } from "@/helpers/validation-rules";
|
||||||
|
import { errorMessages } from "@/constants/error-messages";
|
||||||
|
import { regex } from "@/helpers/validation-rules";
|
||||||
|
import { PARENT_ACCOUNT_NUMBERS } from "@/constants/insurance";
|
||||||
|
|
||||||
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
|
import { fetchCmsContentForPage } from "@/helpers/cms-content-helper";
|
||||||
import { settleAllPromises } from "@/helpers/layout-helper";
|
import { settleAllPromises } from "@/helpers/layout-helper";
|
||||||
|
import { debugLog } from "@/helpers/debug-log-helper";
|
||||||
|
import store from "@/store";
|
||||||
|
|
||||||
|
// DEFINE VALIDATION RULES
|
||||||
|
defineRule("policy-number-required", required(errorMessages.POLICY_NUMBER_REQUIRED));
|
||||||
|
defineRule("zip-code-required", required(errorMessages.ZIP_REQUIRED));
|
||||||
|
defineRule("zip-code-format", regex(/(^\d{5}$)|(^\d{5}-\d{4}$)/, errorMessages.ZIP_FORMAT));
|
||||||
|
defineRule("date-of-loss-required", required(errorMessages.DATE_OF_LOSS_REQUIRED));
|
||||||
|
defineRule("date-of-birth-required", required(errorMessages.DATE_OF_BIRTH_REQUIRED));
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "verify-details",
|
name: "verify-details",
|
||||||
mixins: [],
|
mixins: [],
|
||||||
data() {
|
data() {
|
||||||
return {};
|
return {
|
||||||
|
clientConfig: {},
|
||||||
|
policyNumber: this.getPolicyNumberFromStore(),
|
||||||
|
policyZip: this.getPolicyZipFromStore(),
|
||||||
|
dateOfLoss: this.getDateOfLossFromStore(),
|
||||||
|
dateOfBirth: this.getDateOfBirthFromStore(),
|
||||||
|
};
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
Form,
|
Form,
|
||||||
funnelHeader,
|
funnelHeader,
|
||||||
insuranceNavBar,
|
insuranceNavBar,
|
||||||
funnelSubHeader,
|
funnelSubHeader,
|
||||||
|
datePickerPopup,
|
||||||
|
textboxQuestion,
|
||||||
},
|
},
|
||||||
// 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) {
|
||||||
|
const clientConfigPageName = `client_${store.getters.order.payment.parentAccountNumber}`;
|
||||||
|
const clientConfigPromise = fetchCmsContentForPage(clientConfigPageName);
|
||||||
|
|
||||||
const pageName = to.name;
|
const pageName = to.name;
|
||||||
const cmsContentPromise = fetchCmsContentForPage(pageName);
|
const cmsContentPromise = fetchCmsContentForPage(pageName);
|
||||||
const promiseResultMap = [
|
const promiseResultMap = [
|
||||||
|
|
@ -54,10 +130,19 @@ export default {
|
||||||
resultKey: "cmsContent",
|
resultKey: "cmsContent",
|
||||||
promise: cmsContentPromise,
|
promise: cmsContentPromise,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
resultKey: "clientConfig",
|
||||||
|
promise: clientConfigPromise,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
const resultMap = await settleAllPromises(promiseResultMap);
|
const resultMap = await settleAllPromises(promiseResultMap);
|
||||||
next((vm) => {
|
next((vm) => {
|
||||||
vm.setCmsContent(resultMap.cmsContent);
|
vm.setCmsContent(resultMap.cmsContent);
|
||||||
|
vm.clientConfig = resultMap.clientConfig;
|
||||||
|
debugLog(
|
||||||
|
`verify-details clientConfig::${clientConfigPageName}`,
|
||||||
|
JSON.stringify(vm.clientConfig)
|
||||||
|
);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -65,9 +150,43 @@ export default {
|
||||||
clientLogoImageSrc() {
|
clientLogoImageSrc() {
|
||||||
return this.clientConfig?.ClientLogoWidget?.Image || "";
|
return this.clientConfig?.ClientLogoWidget?.Image || "";
|
||||||
},
|
},
|
||||||
|
today() {
|
||||||
|
return new Date();
|
||||||
|
},
|
||||||
|
parsedClientConfig() {
|
||||||
|
const raw = this.clientConfig?.ConfigWidget?.Text;
|
||||||
|
if (!raw) return {};
|
||||||
|
try {
|
||||||
|
return JSON.parse(raw);
|
||||||
|
} catch (err) {
|
||||||
|
console.warn("Failed to parse clientConfig.ConfigWidget.Text", err);
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
},
|
||||||
|
isGeico() {
|
||||||
|
return (
|
||||||
|
store.getters.order?.payment?.parentAccountNumber?.toString() ===
|
||||||
|
PARENT_ACCOUNT_NUMBERS.GEICO
|
||||||
|
);
|
||||||
|
},
|
||||||
|
displayDateOfBirth() {
|
||||||
|
return this.parsedClientConfig.displayDateOfBirth && this.isGeico ? true : false;
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
getPolicyNumberFromStore() {
|
||||||
|
return store.getters.order.policy.policyNumber;
|
||||||
|
},
|
||||||
|
getPolicyZipFromStore() {
|
||||||
|
return store.getters.order.policy.zipCode;
|
||||||
|
},
|
||||||
|
getDateOfLossFromStore() {
|
||||||
|
return store.getters.order.damage.dateOfLoss;
|
||||||
|
},
|
||||||
|
getDateOfBirthFromStore() {
|
||||||
|
return store.getters.order.policy.dateOfBirth;
|
||||||
|
},
|
||||||
cancelButtonAction() {
|
cancelButtonAction() {
|
||||||
this.$router.navigateWithoutSaving(
|
this.$router.navigateWithoutSaving(
|
||||||
this.navigationScenarios.CLICKED_CANCEL_VERIFICATION,
|
this.navigationScenarios.CLICKED_CANCEL_VERIFICATION,
|
||||||
|
|
@ -92,3 +211,18 @@ export default {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.cc-page-title {
|
||||||
|
font-size: 20px !important;
|
||||||
|
line-height: 1.325;
|
||||||
|
font-weight: 300;
|
||||||
|
color: $black;
|
||||||
|
}
|
||||||
|
.cc-page-instructions {
|
||||||
|
font-size: 16px !important;
|
||||||
|
font-weight: 400;
|
||||||
|
color: $gray-600;
|
||||||
|
line-height: 1.625;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Loading…
Reference in a new issue