CSR-2115: get modal to work from CMS link
This commit is contained in:
parent
b97833d3bd
commit
0ee1cda67e
1 changed files with 9 additions and 12 deletions
|
|
@ -45,24 +45,18 @@
|
||||||
v-bind:isDismissible="false" />
|
v-bind:isDismissible="false" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="hasRecal && !isInsurance" class="questions-about-service my-5">
|
<!-- <div v-if="hasRecal && !isInsurance" class="questions-about-service my-5"> -->
|
||||||
<textBlock
|
<textBlock
|
||||||
cmsWidgetName="QuestionsAboutYourServiceWidget"
|
cmsWidgetName="QuestionsAboutYourServiceWidget"
|
||||||
justifyText="left"
|
justifyText="left"
|
||||||
class="service-questions" />
|
class="service-questions" />
|
||||||
<textBlock
|
<textBlock cmsWidgetName="CallOrTextWidget" justifyText="left" />
|
||||||
cmsWidgetName="CallOrTextWidget"
|
|
||||||
justifyText="left" />
|
|
||||||
<hr class="my-5" />
|
<hr class="my-5" />
|
||||||
<div class="d-flex flex-row checkbox-group">
|
<div class="d-flex flex-row checkbox-group">
|
||||||
<checkboxQuestion
|
<checkboxQuestion class="mb-5" v-model="isRecalAckOptIn" />
|
||||||
class="mb-5"
|
<textBlock cmsWidgetName="RecalConfirmationWidget" justifyText="left" @text-link-clicked="openModal" />
|
||||||
v-model="isRecalAckOptIn" />
|
|
||||||
<textBlock
|
|
||||||
cmsWidgetName="RecalConfirmationWidget"
|
|
||||||
justifyText="left" />
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- </div> -->
|
||||||
|
|
||||||
<paymentMethodQuestion
|
<paymentMethodQuestion
|
||||||
v-if="!isPiaDisabled"
|
v-if="!isPiaDisabled"
|
||||||
|
|
@ -551,10 +545,13 @@ export default {
|
||||||
hasSubmittedOrder() {
|
hasSubmittedOrder() {
|
||||||
return this.$store.getters.hasSubmittedOrder;
|
return this.$store.getters.hasSubmittedOrder;
|
||||||
},
|
},
|
||||||
|
openModal(modalName) {
|
||||||
|
this.$refs[modalName].openModal();
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
hasRecal() {
|
hasRecal() {
|
||||||
const recalLineItem = this.$store.getters.order.lineItems.supportingItems.find (
|
const recalLineItem = this.$store.getters.order.lineItems.supportingItems.find(
|
||||||
(lineItem) => lineItem.partType == partTypeStrings.RECALIBRATION
|
(lineItem) => lineItem.partType == partTypeStrings.RECALIBRATION
|
||||||
);
|
);
|
||||||
if (recalLineItem) {
|
if (recalLineItem) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue