Merge branch 'develop' into feature/INSR-8130
This commit is contained in:
commit
948d854e5f
2 changed files with 24 additions and 11 deletions
|
|
@ -89,13 +89,12 @@
|
||||||
class="mt-5 mb-5"
|
class="mt-5 mb-5"
|
||||||
:customText="disclaimerText"
|
:customText="disclaimerText"
|
||||||
typeStyle="caption" />
|
typeStyle="caption" />
|
||||||
<div :class="getVariant + ' mb-5'">
|
<siteFooter
|
||||||
<textLink
|
ref="siteFooter"
|
||||||
linkType="navigation"
|
:class="backButtonClass + ' mb-5'"
|
||||||
text="Back"
|
cmsWidgetName="SiteFooterWidget"
|
||||||
href="#"
|
:isForwardButtonHidden="true"
|
||||||
@clickEvent="navigateBackByVehicleQuestions" />
|
@backClicked="navigateBackByVehicleQuestions" />
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -114,6 +113,7 @@ import contentGroupModal from '@/iss-components/content-group-modal/content-grou
|
||||||
import textBlock from '@/digital-components/text-block/text-block.vue';
|
import textBlock from '@/digital-components/text-block/text-block.vue';
|
||||||
import textLink from '@/ux-components/text-link/text-link.vue';
|
import textLink from '@/ux-components/text-link/text-link.vue';
|
||||||
import buttonMain from '@/ux-components/button-main/button-main.vue';
|
import buttonMain from '@/ux-components/button-main/button-main.vue';
|
||||||
|
import siteFooter from '@/iss-components/site-footer/site-footer.vue';
|
||||||
// Import Supporting Files
|
// Import Supporting Files
|
||||||
import {
|
import {
|
||||||
fetchCmsContentForPage,
|
fetchCmsContentForPage,
|
||||||
|
|
@ -146,7 +146,8 @@ export default {
|
||||||
contentGroupModal,
|
contentGroupModal,
|
||||||
buttonMain,
|
buttonMain,
|
||||||
textBlock,
|
textBlock,
|
||||||
textLink
|
textLink,
|
||||||
|
siteFooter
|
||||||
},
|
},
|
||||||
mixins: [baseFormMixin, vehicleQuestionsMixin],
|
mixins: [baseFormMixin, vehicleQuestionsMixin],
|
||||||
async beforeRouteEnter(to, from, next) {
|
async beforeRouteEnter(to, from, next) {
|
||||||
|
|
@ -326,11 +327,11 @@ export default {
|
||||||
buttonText() {
|
buttonText() {
|
||||||
return (this.isITACQuoteVisible || this.isNoCompQuoteVisible) ? 'Continue scheduling' : 'Continue';
|
return (this.isITACQuoteVisible || this.isNoCompQuoteVisible) ? 'Continue scheduling' : 'Continue';
|
||||||
},
|
},
|
||||||
getVariant() {
|
backButtonClass() {
|
||||||
if (this.isITACQuoteVisible || this.isNoCompQuoteVisible) {
|
if (this.isITACQuoteVisible || this.isNoCompQuoteVisible) {
|
||||||
return 'text-center';
|
return 'centered-back-button';
|
||||||
}
|
}
|
||||||
return 'text-left';
|
return '';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|
@ -595,6 +596,16 @@ export default {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
:deep(.centered-back-button) {
|
||||||
|
footer {
|
||||||
|
> div {
|
||||||
|
justify-content: center;
|
||||||
|
#stacked {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal {
|
.modal {
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,7 @@ import {
|
||||||
repairWaivedForSelectedVehicle
|
repairWaivedForSelectedVehicle
|
||||||
} from '@/helpers/policy-vehicle-helper';
|
} from '@/helpers/policy-vehicle-helper';
|
||||||
import coverageType from '@/constants/coverage-type';
|
import coverageType from '@/constants/coverage-type';
|
||||||
|
import coverageStatuses from '@/constants/coverage-statuses';
|
||||||
import alert from '@/ux-components/alert/alert.vue';
|
import alert from '@/ux-components/alert/alert.vue';
|
||||||
import siteSubHeader from '@/iss-components/site-sub-header/site-sub-header.vue';
|
import siteSubHeader from '@/iss-components/site-sub-header/site-sub-header.vue';
|
||||||
import buttonMain from '@/ux-components/button-main/button-main.vue';
|
import buttonMain from '@/ux-components/button-main/button-main.vue';
|
||||||
|
|
@ -237,6 +238,7 @@ export default {
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
useMainStore().updateCoverageType(coverageType.NONE);
|
useMainStore().updateCoverageType(coverageType.NONE);
|
||||||
|
useMainStore().updateCoverageStatus(coverageStatuses.NO_COVERAGE);
|
||||||
}
|
}
|
||||||
return this.navigateForward();
|
return this.navigateForward();
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue