需求:GFRS-623 国富人寿鑫管家终身寿险(万能型)

变更:详情页面保额显示调整
This commit is contained in:
ding.zhou
2020-02-25 16:55:43 +08:00
committed by 28CD73C051F645E8132835671423A23F
8 changed files with 19 additions and 32 deletions

22
.gitignore vendored
View File

@@ -1,22 +0,0 @@
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
.history/

View File

@@ -921,11 +921,11 @@ export default {
console.log('trialInfo == ', trialInfo)
//通用规则1交费方式为一次交情无交费期限
if (trialInfo['payIntv'] == '0') {
console.log(11111)
trialInfo['payEndYear'] = '1000'
trialInfo['payEndYearFlag'] = 'Y'
// 福宝宝和万能险传A
if (item.mainRiskCode != 'GFRS_M0006' && item.mainRiskCode != 'GFRS_M0003' && item.mainRiskCode != 'GFRS_M0013') {
if (item.mainRiskCode != 'GFRS_M0006' && item.mainRiskCode != 'GFRS_M0017'
&& item.mainRiskCode != 'GFRS_M0003' && item.mainRiskCode != 'GFRS_M0013') {
trialInfo['insuYearFlag'] = 'Y'
}
}
@@ -1151,7 +1151,9 @@ export default {
//万能型产品保费赋值给保额
//增加判断是否是从建议书跳转过来了的
if (localStorage.isFrom != 'proposal') {
if (this.trialList[index].productCode == 'GFRS_M0003' || this.trialList[index].productCode == 'GFRS_M0015') {
if (this.trialList[index].productCode == 'GFRS_M0003'
|| this.trialList[index].productCode == 'GFRS_M0015'
|| this.trialList[index].productCode == 'GFRS_M0017') {
riskItem['amt'] = this.trialList[index].prem
}
}

View File

@@ -9,6 +9,10 @@
</p>
<van-radio checked-color="red" slot="right-icon" :name="item" />
</van-cell>
<van-cell>
</van-cell>
<van-cell>
</van-cell>
</van-cell-group>
</van-radio-group>

View File

@@ -63,7 +63,8 @@
<van-cell title="交费期间" :value="it.payEndYearFlag == 'Y' ? `${it.payEndYear}年` : `至${it.payEndYear}岁`" v-if="it.payEndYear != '1000'" />
<van-cell title="交费期间" v-if="it.payEndYear == '1000'" value="一次性交清" />
<!-- isYear == true ? `${it.insuYear}` : it.insuYear" -->
<van-cell title="险种保额()" :value="it.amt | moneyFormat" />
<van-cell title="险种保额()" value="--" v-if="it.riskCode == 'GFRS_M0015' || it.riskCode == 'GFRS_M0017' || it.riskCode == 'GFRS_M0003'" />
<van-cell title="险种保额()" :value="it.amt | moneyFormat" v-else/>
<van-cell title="险种保费()" :value="it.mainPremDetail | moneyFormat" />
<!-- v-if="it.isMainRisk == '1'" -->
<!-- <span>{{ it.isMainRisk }}</span> -->
@@ -75,7 +76,8 @@
<van-cell title="交费方式" :value="i.payIntv" />
<van-cell title="交费期间" :value="i.payEndYearFlag == 'Y' ? `${i.payEndYear}` : `${i.payEndYear}`" v-if="i.payEndYear != '1000'" />
<van-cell title="交费期间" v-if="i.payEndYear == '1000'" value="一次性交清" />
<van-cell title="险种保额()" :value="i.planCodeLabel" v-if="i.amt == null && i.planCode != ''" />
<van-cell title="险种保额()" value="--" v-if="i.riskCode == 'GFRS_M0015' || i.riskCode == 'GFRS_M0017' || i.riskCode == 'GFRS_M0003'" />
<van-cell title="险种保额()" :value="i.planCodeLabel" v-else-if="i.amt == null && i.planCode != ''" />
<van-cell title="险种保额()" :value="i.amt | moneyFormat" v-else />
<van-cell title="险种保费()" :value="i.prem | moneyFormat" />
</van-cell-group>

View File

@@ -273,7 +273,8 @@ export default {
}
})
} else {
url = this.productCode == 'GFRS_M0003' || this.productCode == 'GFRS_M0015' ? 'productTip' : 'insuranceTip'
url = this.productCode == 'GFRS_M0003' || this.productCode == 'GFRS_M0015' || this.productCode == 'GFRS_M0017'
? 'productTip' : 'insuranceTip'
this.$jump({
flag: 'h5',
extra: {
@@ -406,7 +407,7 @@ export default {
if (that.changeCard) {
url = 'SignatureConfirmation'
} else {
url = this.productCode == 'GFRS_M0003' || this.productCode == 'GFRS_M0015' ? 'productTip' : 'insuranceTip'
url = this.productCode == 'GFRS_M0003' || this.productCode == 'GFRS_M0015' || this.productCode == 'GFRS_M0017' ? 'productTip' : 'insuranceTip'
}
this.$jump({
flag: 'h5',

View File

@@ -15,7 +15,7 @@
<!--投保人 0 2 4 6 8 10 被保人 1 3 5 7 9 11-->
{{ impartTypeNumber[im.impartType] }}
<span class="ml145">{{
im.impartType == 0 || im.impartType == 2 || im.impartType == 4 || im.impartType == 6 || im.impartType == 9 || im.impartType == 11
im.impartType == 0 || im.impartType == 2 || im.impartType == 4 || im.impartType == 6 || im.impartType == 8 || im.impartType == 10
? saleInsuredInfo.name
: saleInsuredPersonInfo.name
}}</span>

View File

@@ -437,7 +437,7 @@ export default {
if (that.changeCard) {
path = 'insuranceInformation'
} else {
if (localStorage.productCode == 'GFRS_M0003' || localStorage.productCode == 'GFRS_M0015') {
if (localStorage.productCode == 'GFRS_M0003' || localStorage.productCode == 'GFRS_M0015' || this.productCode == 'GFRS_M0017') {
if (that.appntSign[0].documentStatus == 0) {
path = 'insuranceInformation'
} else if (that.appntSign[1].documentStatus == 2) {

View File

@@ -752,7 +752,7 @@ export default {
let comment = window.localStorage.getItem('productCode')
// if (comment == 'GFRS_M0003') {
if (comment == 'GFRS_M0003' || comment == 'GFRS_M0015') {
if (comment == 'GFRS_M0003' || comment == 'GFRS_M0015' || comment == 'GFRS_M0017') {
this.isComment = true
}