提交自动续保问题

This commit is contained in:
皮伟
2019-11-21 17:12:39 +08:00
parent a3a3cd3eb8
commit 94a10206ff
3 changed files with 15 additions and 4 deletions

View File

@@ -202,6 +202,7 @@ export default {
this.influenceAddRiskCodes.push(item.productCode)
})
}
this.mainRiskInfluenceAddRisk()
//初始化数据试算
this.getTrial()

View File

@@ -118,6 +118,9 @@ export default {
//保存附加险
localStorage.addtionRiskLst = JSON.stringify(resultData.productTrialInfoDTO.addtionRiskLst)
// console.log('resultData', resultData)
localStorage.isAutoPay = resultData.isAutoPay
localStorage.isRenew = resultData.isRenew
let calFactorLst = this.getFactorList(resultData)
let hasAddtionRisk = resultData.productTrialInfoDTO.addtionRiskLst ? true : false
let currentProductInfo = {

View File

@@ -25,7 +25,7 @@
<van-button type="danger" size="small" class="bankCard mr10 w110 h20" @click="cardScanning('0')" v-no-more-click="1000">银行卡扫描</van-button>
</van-cell-group>
<van-cell-group class="flex align-items-c">
<van-cell-group class="flex align-items-c" v-if="isAutoPay == '0'">
<van-switch-cell v-model="checked" title="是否自动垫交" active-color="#E9332E" inactive-color="#fff" class="ml15 pr30" />
<van-icon
name="question-o"
@@ -39,7 +39,7 @@
"
/>
</van-cell-group>
<van-cell-group class="flex align-items-c">
<van-cell-group class="flex align-items-c" v-if="isRenew == '0'">
<van-switch-cell v-model="isChecked" title="自动续保" active-color="#E9332E" inactive-color="#fff" class="ml15 pr30" />
</van-cell-group>
<div class="fs12 mt10 ml20 w250 h15">
@@ -136,7 +136,11 @@ export default {
// 银行卡扫描是否显示
isScan: false,
//是否清空
isClear: false
isClear: false,
// 是否显示自动垫交
isAutoPay: '',
// 是否显示自动续保
isRenew: ''
}
},
methods: {
@@ -370,7 +374,10 @@ export default {
that.getBankList()
// 默认是投保人名字
that.name = this.saleInsuredInfo.name
//
// 是否显示自动垫交
this.isAutoPay = localStorage.isAutoPay
// 是否显示自动续保
this.isRenew = localStorage.isRenew
},
mounted() {
document.body.style.backgroundColor = '#F5F5F5'