Add routing values.
This commit is contained in:
parent
a54a36b8c7
commit
a01f0f456a
4 changed files with 7 additions and 6 deletions
|
|
@ -101,10 +101,12 @@ export default {
|
|||
this.selectedQuery = value;
|
||||
},
|
||||
backButtonAction() {
|
||||
// Go back to Quote page
|
||||
this.$router.navigateWithoutSaving(this.navigationScenarios.CLICKED_BACK, this.$route);
|
||||
},
|
||||
forwardButtonAction() {
|
||||
alert("Still needs to be wired up");
|
||||
// Still needs wired up when insurance-details page is created
|
||||
this.$router.navigateWithSaving(this.navigationScenarios.CLICKED_FORWARD, this.$route);
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
|
|
@ -130,10 +132,11 @@ export default {
|
|||
position: {
|
||||
my: "left top+6",
|
||||
},
|
||||
minLength: 0,
|
||||
minLength: 0, // Necessary to display menu when clearing input
|
||||
select: function (event, ui) {
|
||||
select(ui.item.value);
|
||||
},
|
||||
// Bold matching letters as you type in the input
|
||||
search: function(event, ui) {
|
||||
setTimeout(() => {
|
||||
let w = $(this).autocomplete("widget").find("div"),
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
describe("insurance", () => {
|
||||
it.todo("Should render a normal string");
|
||||
});
|
||||
|
|
@ -12,6 +12,7 @@ const fmgPageValues = {
|
|||
ADDRESS_VEHICLES: "address-vehicles",
|
||||
QUOTE: "quote",
|
||||
INSURANCE_LOOKUP: "insurance-lookup",
|
||||
INSURANCE_DETAILS: "insurance-details",
|
||||
SERVICE_LOCATION: "service-location",
|
||||
HERITAGE: "heritage",
|
||||
SCHEDULE: "schedule",
|
||||
|
|
|
|||
|
|
@ -404,7 +404,7 @@ const routingTable = function (store) {
|
|||
},
|
||||
{
|
||||
scenario: navigationScenarios.CLICKED_FORWARD,
|
||||
destinationFmgPageValue: fmgPageValues.SCHEDULE,
|
||||
destinationFmgPageValue: fmgPageValues.INSURANCE_DETAILS,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue