Checking in to work on defects
This commit is contained in:
parent
97a9cfb37f
commit
95d4d151e0
2 changed files with 21 additions and 13 deletions
|
|
@ -65,16 +65,19 @@
|
|||
ref="mobileLocationQuestions"
|
||||
linkWidgetName="MobileLocationLinkWidget"
|
||||
modalWidgetName="MobileLocationModalWidget" />
|
||||
<Transition name="fade" mode="out-in">
|
||||
<shopQuestion
|
||||
ref="shopQuestion"
|
||||
v-show="selectedAppointmentType === 'Inshop' || selectedAppointmentType === 'Dropoff'"
|
||||
v-model="providerNumber"
|
||||
:isDropoff="isDropoff"
|
||||
:serviceZipCode="zipCode"
|
||||
:selectedAppointmentType="selectedAppointmentType"
|
||||
:shopQuestionData="shopQuestionInitialData"
|
||||
cmsWidgetName="ShopQuestionWidget" />
|
||||
<Transition name="fade" mode="out-in">
|
||||
<shopQuestion
|
||||
ref="shopQuestion"
|
||||
v-show="
|
||||
selectedAppointmentType === 'Inshop' ||
|
||||
selectedAppointmentType === 'Dropoff'
|
||||
"
|
||||
v-model="providerNumber"
|
||||
:isDropoff="isDropoff"
|
||||
:serviceZipCode="zipCode"
|
||||
:selectedAppointmentType="selectedAppointmentType"
|
||||
:shopQuestionData="shopQuestionInitialData"
|
||||
cmsWidgetName="ShopQuestionWidget" />
|
||||
</Transition>
|
||||
<contentGroupModal ref="RecalModal" cmsWidgetName="RecalModal" />
|
||||
<funnel-footer
|
||||
|
|
@ -146,6 +149,8 @@ export default {
|
|||
isRecalibrationServiceableInshop: null,
|
||||
isGlassServiceableMobile: null,
|
||||
isRecalibrationServiceableMobile: null,
|
||||
selectedAppointmentType: "Dropoff",
|
||||
providerNumber: "126",
|
||||
mobileFeePart: null,
|
||||
zipContainsMilitaryBase: false,
|
||||
shopQuestionInitialData: null,
|
||||
|
|
|
|||
|
|
@ -152,8 +152,6 @@ export default {
|
|||
resetShopList() {
|
||||
this.answers = [];
|
||||
this.shopIndex = 0;
|
||||
|
||||
this.displaySeeMoreLocationsLink = true;
|
||||
this.selectedValue = "";
|
||||
this.$refs.buttonQuestion.resetField();
|
||||
},
|
||||
|
|
@ -177,6 +175,9 @@ export default {
|
|||
this.$refs.buttonQuestion.resetField();
|
||||
|
||||
if (newValue != null) {
|
||||
this.resetShopList();
|
||||
this.getNextShopsFromList();
|
||||
|
||||
this.$nextTick().then(() => {
|
||||
this.scrollToBottom();
|
||||
});
|
||||
|
|
@ -186,7 +187,9 @@ export default {
|
|||
shops: {
|
||||
handler(newValue) {
|
||||
this.$refs.buttonQuestion.resetField();
|
||||
const selectedShopIndex = newValue.findIndex((provider) => provider.providerNumber == this.modelValue);
|
||||
const selectedShopIndex = newValue.findIndex(
|
||||
(provider) => provider.providerNumber == this.modelValue
|
||||
);
|
||||
if (selectedShopIndex >= 3) {
|
||||
this.getNextShopsFromList(selectedShopIndex + 1);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue