diff --git a/src/layouts/capability-questions/capability-questions.vue b/src/layouts/capability-questions/capability-questions.vue new file mode 100644 index 00000000..e331206b --- /dev/null +++ b/src/layouts/capability-questions/capability-questions.vue @@ -0,0 +1,89 @@ + + + + + + + + Placeholder for capability-questions page + + + + + + + diff --git a/src/layouts/coverage-statement/coverage-statement.vue b/src/layouts/coverage-statement/coverage-statement.vue new file mode 100644 index 00000000..71b67275 --- /dev/null +++ b/src/layouts/coverage-statement/coverage-statement.vue @@ -0,0 +1,89 @@ + + + + + + + + Placeholder for coverage-statement page + + + + + + + diff --git a/src/layouts/molding-questions/molding-questions.vue b/src/layouts/molding-questions/molding-questions.vue new file mode 100644 index 00000000..155d8552 --- /dev/null +++ b/src/layouts/molding-questions/molding-questions.vue @@ -0,0 +1,89 @@ + + + + + + + + Placeholder for molding-questions page + + + + + + + diff --git a/src/router/index.js b/src/router/index.js index e5947696..165215ad 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -129,7 +129,7 @@ router.overrideNavigation = ( router.navigate = (scenario, currentRoute, optionalQuery = {}, optionalParams = {}, optionalPageData = {}) => { - navigate(scenario, currentRoute, false, optionalQuery, optionalParams, optionalPageData); + navigate(scenario, currentRoute, optionalQuery, optionalParams, optionalPageData); } diff --git a/src/router/router-constants/issPage-values.js b/src/router/router-constants/issPage-values.js index af17bd8f..c8200c6a 100644 --- a/src/router/router-constants/issPage-values.js +++ b/src/router/router-constants/issPage-values.js @@ -13,6 +13,7 @@ export const issPageValues = { PART_QUESTIONS: "part-questions", MOLDING_QUESTIONS: "molding-questions", CAPABILITY_QUESTIONS: "capability-questions", + COVERAGE_STATEMENT: "coverage-statement", REVEAL: "reveal", ESTIMATE: "estimate", ADDRESS_VEHICLES: "address-vehicles", diff --git a/src/store/index.js b/src/store/index.js index 90065277..25ecd268 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -358,11 +358,23 @@ export const useMainStore = defineStore({ }, updateVehicle(vehicle) { + // Assuming that the method caller pass all the properties. + // otherwise need to check for undefined for every property. + this.order.vehicle.carId = vehicle.carId; this.order.vehicle.category = vehicle.category; + this.order.vehicle.year = vehicle.year; + this.order.vehicle.make = vehicle.make; + this.order.vehicle.model = vehicle.model; + this.order.vehicle.style = vehicle.style; + this.order.vehicle.vin = vehicle.vin; this.order.vehicle.imageUrl = vehicle.imageUrl; this.order.vehicle.imageVifNumber = vehicle.imageVifNumber; - this.order.vehicle.imageColor = vehicle.imageColor; + this.order.vehicle.imageColor = vehicle.imageVifColor; + }, + + updateVehicleVin(vin) { + this.order.vehicle.vin = vin; }, resetVehicleState()
Placeholder for capability-questions page
Placeholder for coverage-statement page
Placeholder for molding-questions page