From 04efdfcd0f031667f272c04816d4643f40ed8265 Mon Sep 17 00:00:00 2001 From: Leah Schumann Date: Wed, 8 Mar 2023 10:11:48 -0500 Subject: [PATCH] temp chkin --- .../mobile-location-modal-questions.vue | 1 - .../service-location/service-location.vue | 24 +++++++++++-------- .../service-type-question.vue | 13 ++++++++-- 3 files changed, 25 insertions(+), 13 deletions(-) diff --git a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue index 0aa64594d..598af5438 100644 --- a/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue +++ b/src/layouts/service-location/mobile-location-modal-questions/mobile-location-modal-questions.vue @@ -130,7 +130,6 @@ export default { modalFooterText() { return this.getCmsContent(this.modalWidgetName, "FooterText"); }, - addressModel: { get: function () { return this.modelValue.addressQuestions; diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue index e274c120b..37a79d9c8 100644 --- a/src/layouts/service-location/service-location.vue +++ b/src/layouts/service-location/service-location.vue @@ -13,10 +13,11 @@ modalWidgetName="ServiceZipModalWidget" /> - + - @@ -43,9 +43,7 @@ import funnelHeader from "@/fmg-components/funnel-header/funnel-header"; import funnelFooter from "@/fmg-components/funnel-footer/funnel-footer"; import funnelSubHeader from "@/fmg-components/funnel-sub-header/funnel-sub-header"; import loadingModal from "@/fmg-components/loading-modal/loading-modal.vue"; -import { Form, defineRule } from "vee-validate"; -import { required, regex } from "@/helpers/validation-rules"; -import { errorMessages } from "@/constants/error-messages"; +import { Form } from "vee-validate"; import { fetchCmsContentForPage } from "@/helpers/cms-content-helper"; import { settleAllPromises } from "@/helpers/layout-helper"; @@ -66,7 +64,7 @@ export default { isZipServiceableMobile: null, isZipServiceableInShop: null, mobileFeePart: null, - selectedServiceType: null + selectedServiceType: null, }; }, async beforeRouteEnter(to, from, next) { @@ -113,6 +111,8 @@ export default { this.state = newValue.state; this.zipCode = newValue.zipCode; this.isServiceable = newValue.isServiceable; + + console.log(this); }, }, mobileLocationQuestions: { @@ -176,6 +176,10 @@ export default { }); }, resetMobileLocation(updatedServiceZipCode) { + if (!this.$refs.mobileLocationModalQuestions) { + return; + } + this.streetAddress = ""; this.apartmentNumberOrBusinessName = ""; this.city = ""; @@ -210,5 +214,5 @@ export default { & > span { text-align: center; } -} - \ No newline at end of file +} + diff --git a/src/layouts/service-location/service-type-question/service-type-question.vue b/src/layouts/service-location/service-type-question/service-type-question.vue index 359e44547..528f7487b 100644 --- a/src/layouts/service-location/service-type-question/service-type-question.vue +++ b/src/layouts/service-location/service-type-question/service-type-question.vue @@ -17,6 +17,8 @@