remove old modals and related properties
This commit is contained in:
parent
67a3ae062b
commit
26b8c0fa20
1 changed files with 1 additions and 24 deletions
|
|
@ -103,10 +103,6 @@
|
||||||
:ref="RECAL_MODAL_REF_NAME"
|
:ref="RECAL_MODAL_REF_NAME"
|
||||||
cssModalHeadlineClass="text-center"
|
cssModalHeadlineClass="text-center"
|
||||||
cmsWidgetName="RecalModal" />
|
cmsWidgetName="RecalModal" />
|
||||||
<cancelClaimModal
|
|
||||||
:ref="CANCEL_CLAIM_REF_NAME"
|
|
||||||
@cancelClaimConfirmation="cancelClaim"
|
|
||||||
@returnToClaim="continueClaim" />
|
|
||||||
</Form>
|
</Form>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -114,7 +110,6 @@
|
||||||
// Import Component
|
// Import Component
|
||||||
import { Form } from 'vee-validate';
|
import { Form } from 'vee-validate';
|
||||||
import siteHeader from '@/iss-components/site-header/site-header.vue';
|
import siteHeader from '@/iss-components/site-header/site-header.vue';
|
||||||
import cancelClaimModal from '@/layouts/coverage-statement/cancel-claim-modal/cancel-claim-modal.vue';
|
|
||||||
import contentGroupModal from '@/iss-components/content-group-modal/content-group-modal.vue';
|
import contentGroupModal from '@/iss-components/content-group-modal/content-group-modal.vue';
|
||||||
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';
|
||||||
|
|
@ -141,10 +136,7 @@ import { getPriceOfLineItems } from '@/helpers/price-calculator';
|
||||||
import coverageStatuses from '@/constants/coverage-statuses';
|
import coverageStatuses from '@/constants/coverage-statuses';
|
||||||
import coverageType from '@/constants/coverage-type';
|
import coverageType from '@/constants/coverage-type';
|
||||||
|
|
||||||
const CANCEL_CLAIM_REF_NAME = 'CancelClaimModal';
|
|
||||||
const SAFELITE_PROVIDER = 'Safelite';
|
|
||||||
const RECAL_MODAL_REF_NAME = 'RecalModal';
|
const RECAL_MODAL_REF_NAME = 'RecalModal';
|
||||||
const SITE_FOOTER_REF_NAME = 'siteFooter';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'coverage-statement',
|
name: 'coverage-statement',
|
||||||
|
|
@ -152,7 +144,6 @@ export default {
|
||||||
siteHeader,
|
siteHeader,
|
||||||
// eslint-disable-next-line vue/no-reserved-component-names
|
// eslint-disable-next-line vue/no-reserved-component-names
|
||||||
Form,
|
Form,
|
||||||
cancelClaimModal,
|
|
||||||
contentGroupModal,
|
contentGroupModal,
|
||||||
buttonMain,
|
buttonMain,
|
||||||
textBlock,
|
textBlock,
|
||||||
|
|
@ -211,7 +202,6 @@ export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
baseServiceLineItems: [],
|
baseServiceLineItems: [],
|
||||||
selectedProvider: '',
|
|
||||||
rules: {
|
rules: {
|
||||||
selectionRequired: globalRules.OPTION_REQUIRED
|
selectionRequired: globalRules.OPTION_REQUIRED
|
||||||
},
|
},
|
||||||
|
|
@ -224,9 +214,7 @@ export default {
|
||||||
nextStepITACNoComp: 'NextStepsWidgetITACNoComp',
|
nextStepITACNoComp: 'NextStepsWidgetITACNoComp',
|
||||||
serviceProviderQuestion: 'ServiceProviderQuestion'
|
serviceProviderQuestion: 'ServiceProviderQuestion'
|
||||||
},
|
},
|
||||||
CANCEL_CLAIM_REF_NAME,
|
RECAL_MODAL_REF_NAME
|
||||||
RECAL_MODAL_REF_NAME,
|
|
||||||
SITE_FOOTER_REF_NAME
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
@ -359,17 +347,6 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
selectedProvider() {
|
|
||||||
if (this.selectedProvider) {
|
|
||||||
if (this.selectedProvider !== SAFELITE_PROVIDER) {
|
|
||||||
this.$refs[this.CANCEL_CLAIM_REF_NAME].openModal();
|
|
||||||
this.selectedProvider = '';
|
|
||||||
this.$refs.siteFooter.disableForwardButton();
|
|
||||||
} else {
|
|
||||||
this.$refs.siteFooter.enableForwardAction();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
nextStepsBody(newValue, oldValue) {
|
nextStepsBody(newValue, oldValue) {
|
||||||
if (newValue !== oldValue) {
|
if (newValue !== oldValue) {
|
||||||
setupModalLink(this, RECAL_MODAL_REF_NAME);
|
setupModalLink(this, RECAL_MODAL_REF_NAME);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue