mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 13:26:44 +08:00
GFRS-454【0326】 建议书优化2.0 --页面调整1、转投保处理 --提交人:阳华祥
This commit is contained in:
@@ -213,7 +213,7 @@
|
||||
<img @click="goPDF" class="img_12" src="@/assets/images/proposal/proposal_pdf.png" />
|
||||
</div>
|
||||
<div v-show="!isWeixin" class="fixed fs15 flex text-centerjustify-content-c last_fix_div">
|
||||
<div class="color_3A81F6 bg-white text-center">转投保</div>
|
||||
<div class="color_3A81F6 bg-white text-center" @click="insure">转投保</div>
|
||||
<div class="bg_3A81F6 white text-center" @click="sharePeople">分享给客户</div>
|
||||
</div>
|
||||
<div v-show="isWeixin" class="fix_bottom">
|
||||
@@ -333,7 +333,8 @@ export default {
|
||||
'2_0': '配偶',
|
||||
'5_0': '其他'
|
||||
},
|
||||
agent: {}
|
||||
agent: {},
|
||||
mainRiskCodes: []
|
||||
}
|
||||
},
|
||||
filters: {
|
||||
@@ -490,6 +491,7 @@ export default {
|
||||
//将后端返回的数据格式化为本地
|
||||
formatLocal(res) {
|
||||
if (res.result == '0') {
|
||||
let that = this
|
||||
let orderDTO = res.content.orderDTO
|
||||
this.pageShowInfo.appntDTO = res.content.orderDTO.appntDTO
|
||||
this.pageShowInfo.insuredDTOs = res.content.orderDTO.insuredDTOs
|
||||
@@ -501,6 +503,9 @@ export default {
|
||||
//根据数据字典 获取当前值
|
||||
v.age = getAge.getAge(v.birthdayLabel, new Date())
|
||||
v.riskDTOLst.forEach(risk => {
|
||||
if (risk.isMainRisk == '0') {
|
||||
that.mainRiskCodes.push(risk.riskCode)
|
||||
}
|
||||
if (risk.insuYear == 106 && risk.insuYearFlag == 'A') {
|
||||
risk.insureName = '终身'
|
||||
} else {
|
||||
@@ -550,8 +555,8 @@ export default {
|
||||
},
|
||||
//转投保
|
||||
insure() {
|
||||
if (localStorage.mainRiskCodes) {
|
||||
if (JSON.parse(localStorage.mainRiskCodes).length == '2') {
|
||||
if (this.mainRiskCodes) {
|
||||
if (this.mainRiskCodes.length != 1) {
|
||||
return Toast.fail('暂不支持组合产品转投保')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user