This commit is contained in:
Leah Schumann 2023-03-15 10:17:11 -04:00
parent 4d8dc49f97
commit d704eee8e8
2 changed files with 8 additions and 17 deletions

View file

@ -263,8 +263,8 @@ export default {
});
this.setServiceabilityDetails(serviceabilityDetails.data);
}
}
},
},
},
components: {
alert,

View file

@ -17,8 +17,6 @@
<script>
import buttonQuestion from "@/digital-components/button-question/button-question";
import { useForm, useIsFormTouched, useIsFormDirty, useIsFormValid } from "vee-validate";
export default {
name: "service-type-question",
props: {
@ -33,13 +31,6 @@ export default {
isRecalibrationServiceableInshop: Boolean,
isRecalibrationServiceableMobile: Boolean,
},
setup() {
const form = useForm();
return {
form,
};
},
computed: {
questionText() {
return this.getCmsContent(this.cmsWidgetName, "QuestionText");
@ -76,23 +67,23 @@ export default {
!this.isGlassServiceableInshop &&
!this.isRecalibrationServiceableInshop &&
this.isGlassServiceableMobile &&
this.isRecalibrationServiceableMobile
this.isRecalibrationServiceableMobile
) {
result = "MobileOnly"
result = "MobileOnly";
} else if (
this.isGlassServiceableInshop &&
this.isRecalibrationServiceableInshop &&
!this.isGlassServiceableMobile &&
!this.isRecalibrationServiceableMobile
) {
result = "InshopOnly"
result = "InshopOnly";
} else if (
!this.isGlassServiceableInshop &&
!this.isRecalibrationServiceableInshop &&
!this.isGlassServiceableMobile &&
!this.isRecalibrationServiceableMobile
) {
result = "None"
result = "None";
}
return result;
@ -114,8 +105,8 @@ export default {
} else {
this.selectedValues = null;
}
}
}
},
},
},
components: {
buttonQuestion,