diff --git a/src/api/ebiz/sale/sale.js b/src/api/ebiz/sale/sale.js index b8e3ca7f9..0c1d2e10d 100644 --- a/src/api/ebiz/sale/sale.js +++ b/src/api/ebiz/sale/sale.js @@ -253,3 +253,21 @@ export function checkCard(data) { data }) } + +// 获取订单活动信息 +export function getOrderActiveInfo(data) { + return request({ + url: getUrl('/sale/order/getActiveInfo', 1), + method: 'post', + data + }) +} + +// 获取订单活动信息 +export function saveOrderActiveType(data) { + return request({ + url: getUrl('/sale/order/saveActiveType', 1), + method: 'post', + data + }) +} diff --git a/src/router/ebiz/sale.js b/src/router/ebiz/sale.js index 8f2e7ae98..75456c643 100644 --- a/src/router/ebiz/sale.js +++ b/src/router/ebiz/sale.js @@ -25,6 +25,7 @@ const productTip = () => import('@/views/ebiz/sale/productTip') const avoidDutyTip = () => import('@/views/ebiz/sale/AvoidDutyTip') const doubleRecordTip = () => import('@/views/ebiz/sale/DoubleRecordTip') const PayResultFail = () => import('@/views/ebiz/sale/PayResultFail') +const apointValidDoc = () => import('@/views/ebiz/sale/apointValidDoc') let riskName = localStorage.riskName console.log('sale/riskName==', riskName) export default [ @@ -161,6 +162,14 @@ export default [ title: '免除保险人责任条款说明书' } }, + { + path: '/sale/apointValidDoc', + name: 'apointValidDoc', + component: apointValidDoc, + meta: { + title: '免除保险人责任条款说明书' + } + }, { path: '/sale/doubleRecordTip', name: 'doubleRecordTip', diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index bc9c82878..451edf603 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -270,6 +270,9 @@ 保额(元): {{ trialList[index].showPrem | moneyFormat }} +
+ 指定保单生效日:2021年1月1日 +
完成 @@ -350,6 +353,7 @@ export default { }, data() { return { + activeType: localStorage.getItem('active_type'), chooseProducts: [], productIndex: '', calFactorIndex: '', diff --git a/src/views/ebiz/common/MainRiskList.vue b/src/views/ebiz/common/MainRiskList.vue index 8566e49d3..a1f605e40 100644 --- a/src/views/ebiz/common/MainRiskList.vue +++ b/src/views/ebiz/common/MainRiskList.vue @@ -3,11 +3,13 @@ -

- {{ item.productType }} - {{ item.riskName }} -

- +
+

+ {{ item.productType }} + {{ item.riskName }} +

+ +
@@ -40,7 +42,8 @@ export default { result: '', delList: [], radioVal: '', - isFrom: localStorage.isFrom + isFrom: localStorage.isFrom, + activeFlag: '' } }, async mounted() { @@ -61,6 +64,8 @@ export default { this.specilFlag = '1' } // ------------------------专为桂企写死--end---------------// + // 处理活动产品 + this.activeFlag = res.orderDTO.orderInfoDTO.activeType } resolve(this.getMainRiskList()) }, @@ -74,6 +79,20 @@ export default { } }, methods: { + checkItemShow(item) { + if (this.activeFlag != 'KMH') { + return true + } + let showFlag = false + if (item.activeLst && item.activeLst.length > 0) { + item.activeLst.forEach(subItem => { + if (subItem == 'KMH') { + showFlag = true + } + }) + } + return showFlag + }, //获取主险列表 async getMainRiskList() { let mainRiskCodes = localStorage.mainRiskCodes && JSON.parse(localStorage.mainRiskCodes) diff --git a/src/views/ebiz/common/SelectedProduct.vue b/src/views/ebiz/common/SelectedProduct.vue index e52b0ae70..d07cb6c96 100644 --- a/src/views/ebiz/common/SelectedProduct.vue +++ b/src/views/ebiz/common/SelectedProduct.vue @@ -33,6 +33,25 @@
+ +
+ + +
+ +
开门红产品
+
+
+ +
+ +
普通产品
+
+
+
+
+
+
@@ -45,11 +64,12 @@
+