WIP
This commit is contained in:
parent
fe0d3f45ce
commit
8586d6d35a
2 changed files with 21 additions and 21 deletions
|
|
@ -171,7 +171,7 @@ describe("shop-question.vue", () => {
|
||||||
serviceZipCode: "43081",
|
serviceZipCode: "43081",
|
||||||
selectedAppointmentType: "Dropoff",
|
selectedAppointmentType: "Dropoff",
|
||||||
cmsWidgetName: cmsWidgetName,
|
cmsWidgetName: cmsWidgetName,
|
||||||
isDisplayed: true
|
isDisplayed: true,
|
||||||
},
|
},
|
||||||
mountOptions: {
|
mountOptions: {
|
||||||
attachTo: document.body,
|
attachTo: document.body,
|
||||||
|
|
@ -227,7 +227,7 @@ describe("shop-question.vue", () => {
|
||||||
serviceZipCode: "43081",
|
serviceZipCode: "43081",
|
||||||
selectedAppointmentType: "Dropoff",
|
selectedAppointmentType: "Dropoff",
|
||||||
cmsWidgetName: cmsWidgetName,
|
cmsWidgetName: cmsWidgetName,
|
||||||
isDisplayed: true
|
isDisplayed: true,
|
||||||
},
|
},
|
||||||
mountOptions: {
|
mountOptions: {
|
||||||
attachTo: document.body,
|
attachTo: document.body,
|
||||||
|
|
@ -306,7 +306,7 @@ describe("shop-question.vue", () => {
|
||||||
serviceZipCode: "43081",
|
serviceZipCode: "43081",
|
||||||
selectedAppointmentType: "Dropoff",
|
selectedAppointmentType: "Dropoff",
|
||||||
cmsWidgetName: cmsWidgetName,
|
cmsWidgetName: cmsWidgetName,
|
||||||
isDisplayed: true
|
isDisplayed: true,
|
||||||
},
|
},
|
||||||
mountOptions: {
|
mountOptions: {
|
||||||
attachTo: document.body,
|
attachTo: document.body,
|
||||||
|
|
@ -365,7 +365,7 @@ describe("shop-question.vue", () => {
|
||||||
serviceZipCode: "43081",
|
serviceZipCode: "43081",
|
||||||
selectedAppointmentType: "Dropoff",
|
selectedAppointmentType: "Dropoff",
|
||||||
cmsWidgetName: cmsWidgetName,
|
cmsWidgetName: cmsWidgetName,
|
||||||
isDisplayed: true
|
isDisplayed: true,
|
||||||
},
|
},
|
||||||
mountOptions: {
|
mountOptions: {
|
||||||
attachTo: document.body,
|
attachTo: document.body,
|
||||||
|
|
|
||||||
|
|
@ -193,25 +193,25 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
shopProviders: {
|
// shopProviders: {
|
||||||
async handler(newValue) {
|
// async handler(newValue) {
|
||||||
this.resetAnswers();
|
// this.resetAnswers();
|
||||||
|
|
||||||
await this.$nextTick();
|
// await this.$nextTick();
|
||||||
|
|
||||||
if (this.selectedAppointmentType) {
|
// if (this.selectedAppointmentType) {
|
||||||
const selectedShopIndex = newValue.findIndex(
|
// const selectedShopIndex = newValue.findIndex(
|
||||||
(provider) => provider.providerNumber == this.modelValue?.providerNumber
|
// (provider) => provider.providerNumber == this.modelValue?.providerNumber
|
||||||
);
|
// );
|
||||||
|
|
||||||
if (selectedShopIndex >= 3) {
|
// if (selectedShopIndex >= 3) {
|
||||||
await this.getNextShopsFromList(selectedShopIndex + 1);
|
// await this.getNextShopsFromList(selectedShopIndex + 1);
|
||||||
} else {
|
// } else {
|
||||||
await this.getNextShopsFromList();
|
// await this.getNextShopsFromList();
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
}
|
// },
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
alert,
|
alert,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue