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"
|
ref="mobileLocationQuestions"
|
||||||
linkWidgetName="MobileLocationLinkWidget"
|
linkWidgetName="MobileLocationLinkWidget"
|
||||||
modalWidgetName="MobileLocationModalWidget" />
|
modalWidgetName="MobileLocationModalWidget" />
|
||||||
<Transition name="fade" mode="out-in">
|
<Transition name="fade" mode="out-in">
|
||||||
<shopQuestion
|
<shopQuestion
|
||||||
ref="shopQuestion"
|
ref="shopQuestion"
|
||||||
v-show="selectedAppointmentType === 'Inshop' || selectedAppointmentType === 'Dropoff'"
|
v-show="
|
||||||
v-model="providerNumber"
|
selectedAppointmentType === 'Inshop' ||
|
||||||
:isDropoff="isDropoff"
|
selectedAppointmentType === 'Dropoff'
|
||||||
:serviceZipCode="zipCode"
|
"
|
||||||
:selectedAppointmentType="selectedAppointmentType"
|
v-model="providerNumber"
|
||||||
:shopQuestionData="shopQuestionInitialData"
|
:isDropoff="isDropoff"
|
||||||
cmsWidgetName="ShopQuestionWidget" />
|
:serviceZipCode="zipCode"
|
||||||
|
:selectedAppointmentType="selectedAppointmentType"
|
||||||
|
:shopQuestionData="shopQuestionInitialData"
|
||||||
|
cmsWidgetName="ShopQuestionWidget" />
|
||||||
</Transition>
|
</Transition>
|
||||||
<contentGroupModal ref="RecalModal" cmsWidgetName="RecalModal" />
|
<contentGroupModal ref="RecalModal" cmsWidgetName="RecalModal" />
|
||||||
<funnel-footer
|
<funnel-footer
|
||||||
|
|
@ -146,6 +149,8 @@ export default {
|
||||||
isRecalibrationServiceableInshop: null,
|
isRecalibrationServiceableInshop: null,
|
||||||
isGlassServiceableMobile: null,
|
isGlassServiceableMobile: null,
|
||||||
isRecalibrationServiceableMobile: null,
|
isRecalibrationServiceableMobile: null,
|
||||||
|
selectedAppointmentType: "Dropoff",
|
||||||
|
providerNumber: "126",
|
||||||
mobileFeePart: null,
|
mobileFeePart: null,
|
||||||
zipContainsMilitaryBase: false,
|
zipContainsMilitaryBase: false,
|
||||||
shopQuestionInitialData: null,
|
shopQuestionInitialData: null,
|
||||||
|
|
|
||||||
|
|
@ -152,8 +152,6 @@ export default {
|
||||||
resetShopList() {
|
resetShopList() {
|
||||||
this.answers = [];
|
this.answers = [];
|
||||||
this.shopIndex = 0;
|
this.shopIndex = 0;
|
||||||
|
|
||||||
this.displaySeeMoreLocationsLink = true;
|
|
||||||
this.selectedValue = "";
|
this.selectedValue = "";
|
||||||
this.$refs.buttonQuestion.resetField();
|
this.$refs.buttonQuestion.resetField();
|
||||||
},
|
},
|
||||||
|
|
@ -177,6 +175,9 @@ export default {
|
||||||
this.$refs.buttonQuestion.resetField();
|
this.$refs.buttonQuestion.resetField();
|
||||||
|
|
||||||
if (newValue != null) {
|
if (newValue != null) {
|
||||||
|
this.resetShopList();
|
||||||
|
this.getNextShopsFromList();
|
||||||
|
|
||||||
this.$nextTick().then(() => {
|
this.$nextTick().then(() => {
|
||||||
this.scrollToBottom();
|
this.scrollToBottom();
|
||||||
});
|
});
|
||||||
|
|
@ -186,7 +187,9 @@ export default {
|
||||||
shops: {
|
shops: {
|
||||||
handler(newValue) {
|
handler(newValue) {
|
||||||
this.$refs.buttonQuestion.resetField();
|
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) {
|
if (selectedShopIndex >= 3) {
|
||||||
this.getNextShopsFromList(selectedShopIndex + 1);
|
this.getNextShopsFromList(selectedShopIndex + 1);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue