mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-07 08:56:44 +08:00
在“投保人信息录入”页面,删除现有的【保单形式】字段及选项
点击【下一步】按钮将不在进行【保单形式】是否选择的判断 在现有“选择产品(已选择)”页面,增加【保单形式】字段及选项
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<index-bar :key="renovate"></index-bar>
|
||||
</div>
|
||||
<div class="mt8"></div>
|
||||
<div v-for="(item, index) in chooseProducts" :key="index" class="mb20 bg-white mh15 pv15 pr15 pl10 radius5">
|
||||
<div v-for="(item, index) in chooseProducts" :key="index" class="mb20 bg-white pv15 pr15 pl10 radius5">
|
||||
<div class="flex mv10 align-items-c">
|
||||
<div class="fs14 w45">
|
||||
<van-tag plain type="danger">主险</van-tag>
|
||||
@@ -27,12 +27,27 @@
|
||||
<van-button size="small" round @click="deteleInsure(index)" plain type="danger">删除</van-button>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="isFrom == 'sale' && isShow == false">
|
||||
<div class="p15 pl8 fs14" style="margin-bottom: 20px;background: #fff;">
|
||||
<van-radio-group v-model="isElecCont" class="flex" style="display: flex;align-items: center;">
|
||||
<label>
|
||||
<i class="red pr5">*</i>
|
||||
保单形式
|
||||
</label>
|
||||
<van-radio name="1" class="ml10" style="display: flex;align-items: center;color: red;">
|
||||
电子(不打印保单)
|
||||
</van-radio>
|
||||
<van-radio name="2" v-if="chooseProducts[0].mainRiskCode != 'GFRS_M0076' && chooseProducts[0].mainRiskCode != 'GFRS_M0077'" class="ml10" style="display: flex;align-items: center;color: red;">
|
||||
电子+纸质
|
||||
</van-radio>
|
||||
</van-radio-group>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pt30 bg-white pb50">
|
||||
<div class="text-center m20 pv15 border-dotted c-gray-base bg-white" @click="addProduct" v-if="isShow == true">
|
||||
<span class="v-middle mr10" style="font-size:32px">+</span>添加产品
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<van-dialog v-model="active_show" :show-confirm-button="false" class="dialog_class" style="position: relative; overflow: visible;">
|
||||
<img class="icon_image" src="@/assets/images/kmh/close_bg.png" @click="active_show = false" />
|
||||
<div class="pl20 pr20 mt30">
|
||||
@@ -133,7 +148,7 @@
|
||||
import { orderDetail, deleteOrderInfo, mainRiskList, mainRiskListProposal, calculatePremium } from '@/api/ebiz/common/common'
|
||||
import { formatAllRisk } from '@/assets/js/utils/formatRiskList'
|
||||
import { getDetail, deleteProposal } from '@/api/ebiz/proposal/proposal.js'
|
||||
import { saveOrderActiveType,getActivityList, getDoubleRecordProductLst } from '@/api/ebiz/sale/sale.js'
|
||||
import { saveOrderActiveType,getActivityList, getDoubleRecordProductLst, saveOrUpdateOrderInfo } from '@/api/ebiz/sale/sale.js'
|
||||
import utilsAge from '@/assets/js/utils/age'
|
||||
import IndexBar from '@/components/ebiz/sale/IndexBar'
|
||||
import riskRules from './risk-rules'
|
||||
@@ -162,6 +177,7 @@
|
||||
renovate:'',//刷新子组件
|
||||
manageComCode:'',//代理人管理机构 52贵州 45广西
|
||||
isCrossChannel: 0, // 是否选择交叉渠道列表 0-否 1-是
|
||||
isElecCont: '', // 保单形式
|
||||
}
|
||||
},
|
||||
components: {
|
||||
@@ -384,6 +400,9 @@
|
||||
}
|
||||
if (!isProposal) {
|
||||
if (this.chooseProducts.length > 0) {
|
||||
if(this.chooseProducts[0].mainRiskCode == 'GFRS_M0076' || this.chooseProducts[0].mainRiskCode == 'GFRS_M0077') {
|
||||
this.isElecCont = '1'
|
||||
}
|
||||
if (this.chooseProducts[0].mainRiskCode == 'GFRS_M0026' && this.chooseProducts.length == 1) {
|
||||
this.isShow = true
|
||||
} else {
|
||||
@@ -981,17 +1000,55 @@
|
||||
localStorage.beneficiaryInfo = ''
|
||||
localStorage.fromAddBeneficiaryInfo = ''
|
||||
localStorage.removeItem('applicant')
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
forbidSwipeBack: '1',
|
||||
url: location.origin + '/#' + thismyurl,
|
||||
needRefresh: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: thismyurl
|
||||
if(this.isFrom == 'sale') {
|
||||
if(!this.isElecCont) {
|
||||
this.$toast('请选择保单形式')
|
||||
return false
|
||||
} else {
|
||||
let params = {
|
||||
orderType: 'APPNT_ORDER',
|
||||
orderDTO: {
|
||||
orderInfoDTO: {
|
||||
orderNo: this.$route.query.orderNo,
|
||||
isElecCont: ''
|
||||
},
|
||||
appntDTO: this.appntDTO
|
||||
}
|
||||
}
|
||||
if(this.isElecCont == '1') {
|
||||
params.orderDTO.orderInfoDTO.isElecCont = '0'
|
||||
}
|
||||
saveOrUpdateOrderInfo(params).then(res => {
|
||||
if(res.result == 0) {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
forbidSwipeBack: '1',
|
||||
url: location.origin + '/#' + thismyurl,
|
||||
needRefresh: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: thismyurl
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
forbidSwipeBack: '1',
|
||||
url: location.origin + '/#' + thismyurl,
|
||||
needRefresh: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: thismyurl
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1072,5 +1129,15 @@
|
||||
padding-right: 0px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
/deep/ .van-radio__icon--round{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
/deep/ .van-icon{
|
||||
line-height: 100%;
|
||||
}
|
||||
/deep/ .van-radio__label{
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -187,16 +187,16 @@
|
||||
v-validate="'required'"
|
||||
@click="toSelect('11')"
|
||||
/>
|
||||
<div class="p15 pl8 fs14">
|
||||
<van-radio-group v-model="isElecCont" class="flex">
|
||||
<label>
|
||||
<i class="red pr5">*</i>
|
||||
保单形式
|
||||
</label>
|
||||
<van-radio name="0" class="ml30">电子(不打印保单)</van-radio>
|
||||
<van-radio name="2" class="ml20">电子+纸质</van-radio>
|
||||
</van-radio-group>
|
||||
</div>
|
||||
<!-- <div class="p15 pl8 fs14">-->
|
||||
<!-- <van-radio-group v-model="isElecCont" class="flex">-->
|
||||
<!-- <label>-->
|
||||
<!-- <i class="red pr5">*</i>-->
|
||||
<!-- 保单形式-->
|
||||
<!-- </label>-->
|
||||
<!-- <van-radio name="0" class="ml30">电子(不打印保单)</van-radio>-->
|
||||
<!-- <van-radio name="2" class="ml20">电子+纸质</van-radio>-->
|
||||
<!-- </van-radio-group>-->
|
||||
<!-- </div>-->
|
||||
</van-cell-group>
|
||||
<!-- <van-radio-group :border="false" v-model="userInfo.addressStatus" v-validate="'required'" label="设置为联系地址" name="设置为联系地址"> -->
|
||||
<!-- 工作信息 -->
|
||||
@@ -1147,10 +1147,10 @@
|
||||
return false
|
||||
}
|
||||
}
|
||||
if(this.isElecCont == '' || this.isElecCont == null || this.isElecCont == undefined){
|
||||
this.$toast('请选择保单形式')
|
||||
return false
|
||||
}
|
||||
// if(this.isElecCont == '' || this.isElecCont == null || this.isElecCont == undefined){
|
||||
// this.$toast('请选择保单形式')
|
||||
// return false
|
||||
// }
|
||||
// .then(valid => {
|
||||
if (true === valid) {
|
||||
localStorage.chooseProductCodesNew = localStorage.chooseProductCodes
|
||||
|
||||
Reference in New Issue
Block a user