【金掌桂2023年开门红相关功能开发】银保渠道有开门红标识判断为交叉

This commit is contained in:
li.yuetong
2022-11-18 10:05:31 +08:00
parent adab609a86
commit ee97224d9c
2 changed files with 55 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="main-risk-list-container pt10 redRadioCheckbox">
<template v-if="recommendType == '03'">
<template v-if="recommendType == '03' && !isActivityCode">
<van-tabs v-model="active" @click="onChangeMainList">
<van-tab title="银保渠道产品" name="normal">
<van-radio-group v-model="result">
@@ -99,16 +99,17 @@ export default {
} else if (res.orderDTO.orderInfoDTO.productCode == 'GFRS_M0024' || res.orderDTO.orderInfoDTO.productCode == 'GFRS_M0040') {
this.specilFlag = '1'
}
this.recommendType = res.orderDTO.recmdDTO.recommendType;
if (this.recommendType == '02' || this.recommendType == '11') {
// 电投 团险渠道产品 均为交叉渠道销售
this.isCrossChannel = '1';
}
// ------------------------专为桂/惠企写死--end---------------//
// 处理活动产品
// this.activeFlag = res.orderDTO.orderInfoDTO.activeType
//isActivityCode 有值代表是活动,无值代表是普通产品
this.isActivityCode = res.orderDTO.orderInfoDTO.activityCode
// recommendType 03 银保渠道
this.recommendType = res.orderDTO.recmdDTO.recommendType;
if (this.recommendType == '02' || this.recommendType == '11' || (this.recommendType == '03' && this.isActivityCode)) {
// 电投 团险渠道产品 均为交叉渠道销售
this.isCrossChannel = '1';
}
// ------------------------专为桂/惠企写死--end---------------//
}
resolve(this.isActivityCodeFunc())
},
@@ -168,7 +169,8 @@ export default {
},
isActivityCodeFunc(){
//isActivityCode 有值代表是活动,无值代表是普通产品
if(this.isActivityCode && this.isCrossChannel == '0'){
// if(this.isActivityCode && this.isCrossChannel == '0'){
if(this.isActivityCode){
this.getActProductListFunc()
}else{
this.getMainRiskList()