Page advance to Schedule page
This commit is contained in:
hiteshkumar87 2024-11-22 19:03:11 +05:30
parent 81a0ed09df
commit be6ed5099b
2 changed files with 10 additions and 3 deletions

View file

@ -97,6 +97,7 @@ export default {
"updated-mobile-fee-part",
"updated-contains-military-base",
"updated-bill-to-account-number",
"mobileLocationSelected",
],
data() {
return {
@ -286,13 +287,15 @@ export default {
// update the page level model
this.$emit("update:modelValue", this.internalModel);
this.closeModal();
//Page advance to Schedule page
this.$emit("mobileLocationSelected");
}
} else {
// Update the page level model
this.$emit("update:modelValue", this.internalModel);
this.closeModal();
//Page advance to Schedule page
this.$emit("mobileLocationSelected");
}
},
},
@ -305,6 +308,9 @@ export default {
deep: true,
},
},
unmounted() {
if (this.isModalOpened) this.closeModal();
},
components: {
textLink,
modal,

View file

@ -96,7 +96,8 @@
validationRules="mobile-location-required"
ref="mobileLocationQuestions"
linkWidgetName="MobileLocationLinkWidget"
modalWidgetName="MobileLocationModalWidget" />
modalWidgetName="MobileLocationModalWidget"
@mobileLocationSelected="forwardButtonAction" />
<shopQuestion
ref="shopQuestion"