diff --git a/src/layouts/quote/cash-or-insurance-question/cash-or-insurance-question.vue b/src/layouts/quote/cash-or-insurance-question/cash-or-insurance-question.vue new file mode 100644 index 000000000..4c9cfc0fc --- /dev/null +++ b/src/layouts/quote/cash-or-insurance-question/cash-or-insurance-question.vue @@ -0,0 +1,45 @@ + + + \ No newline at end of file diff --git a/src/layouts/quote/quote.vue b/src/layouts/quote/quote.vue index 2b8969d30..7cd0bd182 100644 --- a/src/layouts/quote/quote.vue +++ b/src/layouts/quote/quote.vue @@ -11,22 +11,13 @@
- - - + + // Components -import buttonQuestion from "@/common-components/button-question/button-question"; import funnelHeader from "@/common-components/funnel-header/funnel-header"; import funnelFooter from "@/common-components/funnel-footer/funnel-footer"; import vehicleBanner from "@/common-components/vehicle-banner/vehicle-banner"; import funnelSubHeader from "@/common-components/funnel-sub-header/funnel-sub-header"; import radioServicePackage from "@/ux-components/radio-service-package/radio-service-package"; +import cashOrInsuranceQuestion from "./cash-or-insurance-question/cash-or-insurance-question"; import { fetchCmsContentForPage } from "@/helpers/cms-content-helper"; -import { settleAllPromises } from "@/helpers/layout-helper"; -import { storeActions } from "@/constants/store-actions"; -import { Form, defineRule } from "vee-validate"; -import { required } from "@/helpers/validation-rules"; -import { errorMessages } from "@/constants/error-messages"; -import { damageLocationsCms } from "@/constants/damage-locations-cms.js"; -import { damageLocationsSelected } from "@/constants/damage-locations-selected.js"; -import { getFunnelCookie } from "@/helpers/heritage-integration/cookie-helper"; +import { Form } from "vee-validate"; -import store from "@/store"; -import baseMixin from "@/mixins/base-mixin"; export default { name: "quote", @@ -72,34 +54,23 @@ export default { vm.setCmsContent(cmsContent); }); }, + data(){ + return { + isInsurance: false, + } + }, methods: { arePagePrerequisitesValid() { return true; } }, - computed: { - years() { - return ["2011", "2012"]; - }, - answersFromCms() { - return ["Pay on my own", "Pay with insurance"]; - }, - selectedChipCountValues: { - get: function() { - return this.modelValue; - }, - set: function(newValue) { - this.$emit("update:modelValue", newValue); - } - }, - }, components: { funnelHeader, funnelFooter, vehicleBanner, funnelSubHeader, Form, - buttonQuestion, + cashOrInsuranceQuestion, radioServicePackage },