Compare commits

...

20 Commits

Author SHA1 Message Date
xuxingjun
af144a360c 建议书预览数据优化 2024-12-25 16:12:18 +08:00
zhang.lei3
67f13e6d79 鑫管家c产品建议书预览不显示保额 2024-12-24 09:48:02 +08:00
xuxingjun
a6685c2360 优化建议书的保费计算 2024-12-19 13:43:21 +08:00
xuxingjun
8ed05e2e1a 优化产品关联保单与保费的录入 2024-12-13 15:54:03 +08:00
xuxingjun
1a61367991 优化 国富人寿鑫管家C款终身寿险(万能型)产品配置 2024-12-13 14:30:38 +08:00
zhang.lei3
46cccb9d4e Merge branch 'dev-new' 2024-12-02 17:27:13 +08:00
zhang.lei3
e3f5e7c25e Merge remote-tracking branch 'origin/master_new' 2024-12-02 09:38:24 +08:00
zhang.lei3
48f48c4630 Merge remote-tracking branch 'origin/feature/FCRS-861关于个险渠道开发旺季营销金掌桂功能的请示' into dev-new 2024-11-29 16:57:16 +08:00
zhang.lei3
a54e8c057c Merge remote-tracking branch 'origin/feature/FCRS-861关于个险渠道开发旺季营销金掌桂功能的请示' into dev-new 2024-11-29 14:25:54 +08:00
zhang.lei3
79c3f90213 Merge remote-tracking branch 'origin/feature/FCRS-861关于个险渠道开发旺季营销金掌桂功能的请示' into dev-new 2024-11-29 13:01:50 +08:00
zhang.lei3
644e4b689e Merge remote-tracking branch 'origin/feature/FCRS-861关于个险渠道开发旺季营销金掌桂功能的请示' into dev-new 2024-11-29 11:31:18 +08:00
zhang.lei3
f66cfc1ce7 Merge branch 'feature/FCRS-861关于个险渠道开发旺季营销金掌桂功能的请示' 2024-11-29 11:09:28 +08:00
zhang.lei3
afaacc172f Merge branch 'feature/FCRS-861关于个险渠道开发旺季营销金掌桂功能的请示' into dev-new 2024-11-28 15:23:50 +08:00
xuxingjun
0d5fe441a1 更换 开门红专区的背景图 2024-11-27 17:39:03 +08:00
xuxingjun
96fe16a775 把提示语 “核心批扣”改成“待核心业务系统批量扣费” 2024-11-27 14:49:54 +08:00
xuxingjun
52e5844372 去掉多余代码 2024-11-27 11:33:06 +08:00
xuxingjun
f4459b00f6 更换已选产品弹框背景图 2024-11-27 10:20:26 +08:00
xuxingjun
5239aba5e5 去掉默认选择 2024-11-22 11:06:22 +08:00
xuxingjun
55165468ae 去掉默认选择 2024-11-22 11:05:49 +08:00
xuxingjun
4553e8cc08 优化保费计算默认的责任选择 2024-11-21 13:10:57 +08:00
3 changed files with 59 additions and 21 deletions

View File

@@ -37,7 +37,7 @@
:show-plus="false"
:show-minus="false"
class="ml30"
:disabled="item.productCode == 'GFRS_M0083' && isFrom != 'proposal'"
:disable-input="disabledShow"
@change="
stepperChange(
item.calFactorLst[riskFactorIndex].displayAmount,
@@ -180,7 +180,7 @@
</div>
<!-- 类型为5的字段单元格只展示文本 -->
<div class="border-bottom pv10" v-if="riskFactor.type == 5">
<van-field v-model="riskFactor.showContent" readonly :label="riskFactor.name" />
<van-field v-model="riskFactor.showContent" disabled readonly :label="riskFactor.name" />
</div>
</div>
</div>
@@ -348,7 +348,7 @@
</div>
<div
class="flex justify-content-s pv10 border-bottom prem"
v-if="item.productCode != 'GFRS_M0080' && item.productCode != 'GFRS_M0083' && item.productCode != 'GFRS_M0085'"
v-if="item.productCode != 'GFRS_M0080' && item.productCode != 'GFRS_M0083' && item.productCode != 'GFRS_M0098' && item.productCode != 'GFRS_M0085'"
>
<!-- trialType 0-保额算保费1-保费算保额 -->
<!-- isTrial是否需存在特殊配置(规则) 0-是 1-否-->
@@ -574,6 +574,7 @@ export default {
cvalidateFlag: false,
cvalidateStr: '', //活动生效日
chooseProducts: [],
disabledShow: false,
productIndex: '',
calFactorIndex: '',
premiumData: [], //试算
@@ -831,7 +832,14 @@ export default {
this.isEnterAddtionRiskListFunc()
}
}
if ((item.mainRiskCode == 'GFRS_M0083' || item.mainRiskCode == 'GFRS_M0085') && this.isFrom == 'proposal') {
if (item.mainRiskCode == 'GFRS_M0083' || item.mainRiskCode == 'GFRS_M0098' || item.mainRiskCode == 'GFRS_M0085') {
this.disabledShow = true
}
if(item.hasPredictTransferPrem == '1') {
this.disabledShow = false
}
if ((item.mainRiskCode == 'GFRS_M0083' || item.mainRiskCode == 'GFRS_M0098' || item.mainRiskCode == 'GFRS_M0085') && this.isFrom == 'proposal') {
item.calFactorLst.forEach((i) => {
if (i.code == 'inputPrem') {
i.minPrem = 0.01
@@ -1106,7 +1114,6 @@ export default {
// let productCode = this.chooseProducts[this.productIndex].productCode
let currentFactor = this.chooseProducts[this.productIndex].calFactorLst
let currentEle = currentFactor[this.calFactorIndex]
console.log(currentEle.code)
if (currentEle.code == 'insuYear') {
if (value.value == '70') {
this.chooseProducts.forEach((item, index) => {
@@ -2153,17 +2160,20 @@ export default {
async getTrial() {
let that = this
let productCode = ''
let hasPredictTransferPrem = ''
let thisproductInfo = JSON.parse(window.localStorage.getItem('chooseProducts'))
if (thisproductInfo && thisproductInfo.length != 0) {
thisproductInfo.forEach((item) => {
if (item.productCode == 'GFRS_M0083' || item.productCode == 'GFRS_M0085') {
if (item.productCode == 'GFRS_M0083' || item.productCode == 'GFRS_M0098' || item.productCode == 'GFRS_M0085') {
productCode = item.productCode
hasPredictTransferPrem = item.hasPredictTransferPrem
}
})
}
if (this.isFrom != 'proposal') {
if (productCode == 'GFRS_M0083' || productCode == 'GFRS_M0085') {
if (productCode == 'GFRS_M0083' || productCode == 'GFRS_M0098' || productCode == 'GFRS_M0085') {
if (!that.policyNo) {
this.disabledShow = true
that.chooseProducts.forEach((item) => {
item.calFactorLst.forEach((ii) => {
if (ii.type == 1) {
@@ -2173,6 +2183,7 @@ export default {
})
})
} else {
this.disabledShow = false
that.chooseProducts.forEach((item) => {
item.calFactorLst.forEach((ii) => {
if (ii.type == 1) {
@@ -2184,6 +2195,9 @@ export default {
}
}
}
if(hasPredictTransferPrem == '1') {
this.disabledShow = false
}
this.nextStepFlag = true
this.$toast.clear()
this.$toast.loading({
@@ -2935,7 +2949,7 @@ export default {
}
}
}
} else if (productCode == 'GFRS_M0083' || productCode == 'GFRS_M0085') {
} else if (productCode == 'GFRS_M0083' || productCode == 'GFRS_M0098' || productCode == 'GFRS_M0085') {
if (this.isFrom != 'proposal') {
if (!this.policyNo && defalutValue < 5) {
this.$toast('单独投保保费为大于等于50000元')

View File

@@ -197,7 +197,7 @@ export default {
// ------------------------专为惠企写死--end---------------//
//如果是选择产品, 进入电子投保, 在主险列表能默认选中我在产品列表选择的产品
if (this.list.length > 0) {
console.log(localStorage.productCodeChooseFromList)
// console.log(localStorage.productCodeChooseFromList)
this.result = this.list.find((v) => {
return v.riskProductCode == localStorage.productCodeChooseFromList
})
@@ -274,7 +274,7 @@ export default {
// ------------------------专为惠企写死--end---------------//
// 如果是选择产品, 进入电子投保, 在主险列表能默认选中我在产品列表选择的产品
if (this.list.length > 0) {
console.log(localStorage.productCodeChooseFromList)
// console.log(localStorage.productCodeChooseFromList)
this.result = this.list.find((v) => {
return v.riskProductCode == localStorage.productCodeChooseFromList
})
@@ -440,7 +440,6 @@ export default {
return this.$toast('该投保人工作单位不能投保该产品')
}
/********end 主险选择限制 end******/
//保存附加险
localStorage.addtionRiskLst = JSON.stringify(resultData.productTrialInfoDTO.addtionRiskLst)
localStorage.isAutoPay = resultData.isAutoPay
@@ -449,6 +448,8 @@ export default {
localStorage.isRelated = resultData.isRelated
let calFactorLst = this.getFactorList(resultData)
// return
let productTrialYearDTOS = resultData.productTrialInfoDTO.productTrialYearDTOS != null ? resultData.productTrialInfoDTO.productTrialYearDTOS : null
let hasAddtionRisk = resultData.productTrialInfoDTO.addtionRiskLst != null && resultData.productTrialInfoDTO.addtionRiskLst.length ? true : false
let currentProductInfo =
@@ -504,9 +505,9 @@ export default {
//构建险种因子列表
getFactorList(resultData) {
let productTrialInfoDTO = resultData.productTrialInfoDTO
console.log(productTrialInfoDTO, 'wode')
// console.log(productTrialInfoDTO, 'wode')
let calFactorLst = resultData.productTrialInfoDTO.calFactorLst
console.log('calFactorLst', calFactorLst)
// console.log('calFactorLst', calFactorLst)
calFactorLst.forEach((item) => {
item['isMainRisk'] = 0

View File

@@ -201,14 +201,28 @@
<div class="text-left" style="width: 75%">
<span>{{ moneyItem.contentLabel }}</span>
</div>
<div class="text-right" v-if="moneyItem.content == 'currentBonus_M'">
<span class="color_3A81F6">{{ moneyItem.value | numFormat2 }}</span
>{{ moneyItem.content | productRateUnit }}
<div v-if="specialCode == 'GFRS_M0098'">
<div class="text-right" v-if="moneyItem.contentLabel == '初始费用' || moneyItem.contentLabel == '进入保单账户的价值'">
<span class="color_3A81F6">{{ moneyItem.value | numFormat3 }}</span
>{{ moneyItem.content | productRateUnit }}
</div>
<div v-else>
<span class="color_3A81F6">{{ moneyItem.value | numFormatNo }}</span
>{{ moneyItem.content | productRateUnit }}
</div>
</div>
<div class="text-right" v-else>
<span class="color_3A81F6">{{ moneyItem.value | numFormatNo }}</span
>{{ moneyItem.content | productRateUnit }}
<div v-else>
<div class="text-right" v-if="moneyItem.content == 'currentBonus_M'">
<span class="color_3A81F6">{{ moneyItem.value | numFormat2 }}</span
>{{ moneyItem.content | productRateUnit }}
</div>
<div class="text-right" v-else>
<span class="color_3A81F6">{{ moneyItem.value | numFormatNo }}</span
>{{ moneyItem.content | productRateUnit }}
</div>
</div>
</div>
</div>
<div class="text-center flex justify-content-e align-items-c fs14 check_age">
@@ -444,7 +458,8 @@ export default {
time: 5,
proposalNo: '',
mainRiskName: '',
ispremshow: true // 是否展示保额
ispremshow: true, // 是否展示保额
specialCode: '',
}
},
filters: {
@@ -465,6 +480,13 @@ export default {
return '-'
}
},
numFormat3(str) {
if (str) {
return Number(str.replace(/,/g, '')).toFixed(1)
} else {
return '-'
}
},
numFormatNo(str) {
if (str) {
return Number(str.replace(/,/g, '')).toFixed(0)
@@ -791,11 +813,12 @@ export default {
this.pageShowInfo.appntDTO = res.content.orderDTO.appntDTO
this.pageShowInfo.insuredDTOs = res.content.orderDTO.insuredDTOs
this.pageShowInfo.showInsuredDTO = this.pageShowInfo.insuredDTOs[0]
this.specialCode = this.pageShowInfo.showInsuredDTO.riskDTOLst[0].mainRiskCode
let mainRiskNameList = []
that.pageShowInfo.insuredDTOs.forEach((item) => {
item.riskDTOLst.forEach((item01) => {
if (item01.isMainRisk == '0') {
if (item01.mainRiskCode == 'GFRS_M0080' || item01.mainRiskCode == 'GFRS_M0083' || item01.mainRiskCode == 'GFRS_M0085') {
if (item01.mainRiskCode == 'GFRS_M0080' || item01.mainRiskCode == 'GFRS_M0083' || item01.mainRiskCode == 'GFRS_M0085' || item01.mainRiskCode == 'GFRS_M0098') {
that.ispremshow = false
}
mainRiskNameList.push(item01.riskName)