diff --git a/src/constants/store-mutations.js b/src/constants/store-mutations.js
index c6d8484da..d2ccd28f4 100644
--- a/src/constants/store-mutations.js
+++ b/src/constants/store-mutations.js
@@ -2,6 +2,7 @@ const storeMutations = {
UPDATE_YEAR: "updateYear",
UPDATE_MAKE: "updateMake",
UPDATE_MODEL: "updateModel",
+ UPDATE_STYLE: "updateStyle",
};
export { storeMutations };
diff --git a/src/layouts/vehicle-style/style-question/style-question.spec.js b/src/layouts/vehicle-style/style-question/style-question.spec.js
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/vehicle-style/style-question/style-question.vue b/src/layouts/vehicle-style/style-question/style-question.vue
new file mode 100644
index 000000000..17a008473
--- /dev/null
+++ b/src/layouts/vehicle-style/style-question/style-question.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
diff --git a/src/layouts/vehicle-style/vehicle-style.spec.js b/src/layouts/vehicle-style/vehicle-style.spec.js
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/layouts/vehicle-style/vehicle-style.vue b/src/layouts/vehicle-style/vehicle-style.vue
new file mode 100644
index 000000000..6b5d4bf86
--- /dev/null
+++ b/src/layouts/vehicle-style/vehicle-style.vue
@@ -0,0 +1,90 @@
+
+
+
+
+
diff --git a/src/router/router-constants/navigation-scenarios.js b/src/router/router-constants/navigation-scenarios.js
index 65947744e..48e36996b 100644
--- a/src/router/router-constants/navigation-scenarios.js
+++ b/src/router/router-constants/navigation-scenarios.js
@@ -2,6 +2,7 @@ const navigationScenarios = {
SELECTED_YEAR: "SELECTED_YEAR",
SELECTED_MODEL: "SELECTED_MODEL",
SELECTED_MAKE: "SELECTED_MAKE",
+ SELECTED_STYLE: "SELECTED_STYLE",
CLICKED_BACK: "CLICKED_BACK",
};
diff --git a/src/router/router-constants/routing-table.js b/src/router/router-constants/routing-table.js
index 34f4c5579..21dc6ca65 100644
--- a/src/router/router-constants/routing-table.js
+++ b/src/router/router-constants/routing-table.js
@@ -37,6 +37,19 @@ const routingTable = [
}
],
},
+ {
+ fmgPageValue: fmgPageValues.VEHICLE_STYLE,
+ maps: [
+ {
+ scenario: navigationScenarios.SELECTED_STYLE,
+ destinationFmgPageValue: fmgPageValues.VEHICLE_STYLE,
+ },
+ {
+ scenario: navigationScenarios.CLICKED_BACK,
+ destinationFmgPageValue: fmgPageValues.VEHICLE_MODEL,
+ }
+ ],
+ },
];
export { routingTable };
\ No newline at end of file
diff --git a/src/store/index.js b/src/store/index.js
index 5e21f7ce4..daf34e38c 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -70,6 +70,9 @@ export default createStore({
updateModel(state, model) {
state.order.vehicle.model = model;
},
+ updateStyle(state, style) {
+ state.order.vehicle.style = style;
+ },
},
getters: {
vehicle: state => state.order.vehicle