diff --git a/src/assets/js/business-common.js b/src/assets/js/business-common.js index 53678147d..84c3ee530 100644 --- a/src/assets/js/business-common.js +++ b/src/assets/js/business-common.js @@ -513,7 +513,13 @@ export default { appntId: appntDTO.appntId, healthGrade: appntDTO.healthGrade, lifeGrade: appntDTO.lifeGrade, - mobile: appntDTO.mobile + mobile: appntDTO.mobile, + occupationName: appntDTO.occupationName, + occupationCode: appntDTO.occupationCode, + marriage: appntDTO.marriage, + medical: appntDTO.medical, + certiexpiredate: appntDTO.certiexpiredate, + nativeplace: appntDTO.nativeplace }) if (insuredDTO) { diff --git a/src/assets/js/utils/jump.js b/src/assets/js/utils/jump.js index fc818fc31..f0241ea20 100644 --- a/src/assets/js/utils/jump.js +++ b/src/assets/js/utils/jump.js @@ -2,7 +2,7 @@ export default function jump(options) { // eslint-disable if (window.WebViewJavascriptBridge && options.flag) { - if (options.flag == 'h5' || options.flag == 'service') { + if (options.flag == 'h5' || options.flag == 'service' || options.flag == 'home') { EWebBridge.webCallAppInJs('bridge', { flag: options.flag, extra: options.extra diff --git a/src/components/ebiz/sale/IndexBar.vue b/src/components/ebiz/sale/IndexBar.vue new file mode 100644 index 000000000..50987068a --- /dev/null +++ b/src/components/ebiz/sale/IndexBar.vue @@ -0,0 +1,175 @@ + + + diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index b5bff10e3..7e873a8aa 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -321,7 +321,7 @@ const dutyGFRS_A0004Rules = { mainRisk: 'GFRS_M0005', msg: '住院医疗提示:金额只能是0.5、1、1.5、2', msg_1: '附加到国富人寿国富民惠医疗保险(2020版)最高基本保额不超过1万元。', - msg_2: '住院医疗提示:金额只能是0.5、1', + msg_2: '住院医疗提示:金额只能是0.5、1' }, 320206: { msg: '住院津贴提示:投保可选责任时,可选责任最低投保 50 元,且应为 10 元的整数倍' @@ -435,19 +435,19 @@ export default { this.mainRiskCode = item.mainRiskCode } }) - if(this.mainRiskCode == 'GFRS_M0005'){ + if (this.mainRiskCode == 'GFRS_M0005') { this.chooseProducts.map(item => { - if(item.productCode == 'GFRS_A0004'){ - item.calFactorLst.map( item2 => { - if(item2.code == 'dutyGroup'){ + if (item.productCode == 'GFRS_A0004') { + item.calFactorLst.map(item2 => { + if (item2.code == 'dutyGroup') { item2.rules.map(item3 => { - console.log(item3); - if(item3.duty == '320205'){ - item3.maxDutyAmt = "1" + console.log(item3) + if (item3.duty == '320205') { + item3.maxDutyAmt = '1' } }) } - }) + }) } }) } @@ -482,7 +482,7 @@ export default { } return } - if (item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0005' ) { + if (item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0005') { let isMedical = null if (this.isFrom === 'proposal') { isMedical = detailPromise == '1' @@ -514,7 +514,7 @@ export default { } }) this.$forceUpdate() - } else if(item.productCode === 'GFRS_A0005'){ + } else if (item.productCode === 'GFRS_A0005') { // GFRS_A0005 未处理 } }) @@ -687,7 +687,7 @@ export default { }, //险种 GFRS_A0004 险种验证规则 valiA0004Duty(value, showHint, currentEle) { - /* if (!(currentEle.necess == true)) { + /* if (!(currentEle.necess == true)) { this.nextStepFlag = false return true }*/ @@ -708,7 +708,7 @@ export default { this.$toast(dutyGFRS_A0004Rules[currentEle.duty].msg_2) this.nextStepFlag = true return false - } else if(value-0 > 1){ + } else if (value - 0 > 1) { this.$toast(dutyGFRS_A0004Rules[currentEle.duty].msg_1) this.nextStepFlag = true return false @@ -720,9 +720,7 @@ export default { return false } } - - - + this.nextStepFlag = false return true } @@ -1409,7 +1407,7 @@ export default { if (resultData.result == 0) { //电投 if (localStorage.isFrom == 'sale' && resultData.deleteFlag == '0') { - localStorage.salePageFlag = '4' + localStorage.salePageFlag = '3' } //建议书 if (localStorage.isFrom == 'proposal' && resultData.content.id) { diff --git a/src/views/ebiz/common/SelectedProduct.vue b/src/views/ebiz/common/SelectedProduct.vue index 8c7f34cc2..e9ec94ec9 100644 --- a/src/views/ebiz/common/SelectedProduct.vue +++ b/src/views/ebiz/common/SelectedProduct.vue @@ -1,10 +1,10 @@