diff --git a/src/layouts/service-location/service-location.vue b/src/layouts/service-location/service-location.vue
index 36fe02e1..693084d7 100644
--- a/src/layouts/service-location/service-location.vue
+++ b/src/layouts/service-location/service-location.vue
@@ -4,7 +4,8 @@
-
+
{
vm.setCmsContent(resultMap.cmsContent);
});
},
+ setup() {
+ const mainStore = useMainStore();
+ return { mainStore };
+ },
+ data() {
+ return {
+ serviceZip: this.mainStore.order.customer.address.zipCode,
+ serviceZipState: this.mainStore.order.customer.address.state,
+ isServiceZipServiceable: null,
+ };
+ },
computed: {
questionText() {
return this.getCmsContent("ServiceTypeQuestionWidget", "QuestionText");
},
answersFromCms() {
return this.getCmsContent("ServiceTypeQuestionWidget", "Answers");
- },
+ },
+ serviceZipCodeQuestion: {
+ get: function() {
+ return {
+ serviceZip: this.serviceZip,
+ serviceZipState: this.serviceZipState,
+ };
+ },
+ set: function (newValue) {
+ if (newValue.serviceZip !== this.serviceZip) {
+ //this.resetMobileLocation();
+ //this.selectedAppointmentType = null;
+ //this.providerNumber = null;
+ }
+ this.serviceZip = newValue.serviceZip;
+ this.serviceZipState = newValue.serviceZipState;
+ },
+ }
},
methods: {
arePagePrerequisiteValid() {
@@ -97,6 +124,14 @@ export default {
async forwardButtonAction() {},
resetDependentState() {},
},
+ components: {
+ siteFooter,
+ siteHeader,
+ siteSubHeader,
+ buttonQuestion,
+ Form,
+ serviceZipModalQuestion,
+ },
};
diff --git a/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue
new file mode 100644
index 00000000..1e990ae9
--- /dev/null
+++ b/src/layouts/service-location/service-zip-modal-question/service-zip-modal-question.vue
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+