|
@@ -140,7 +140,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="dis a-c" v-if="totalitem.quoteCode=='200'">
|
|
<view class="dis a-c" v-if="totalitem.quoteCode=='200'">
|
|
|
- <text class="sum">总保费:¥{{totalitem.result.sumPermium}}</text>
|
|
|
|
|
|
|
+ <text class="sum">总保费:¥{{totalitem.result.costs.sumPremium}}</text>
|
|
|
<view class="dis a-c" style="margin-left: 10px;"
|
|
<view class="dis a-c" style="margin-left: 10px;"
|
|
|
v-if="totalitem.result.feeDisplay">
|
|
v-if="totalitem.result.feeDisplay">
|
|
|
<text style="color: #FF4D4D;font-size: 12px;"
|
|
<text style="color: #FF4D4D;font-size: 12px;"
|
|
@@ -150,15 +150,15 @@
|
|
|
<ls-loading v-if="totalitem.quoteCode ==1" text="掌柜正在为您报价,请稍等......"
|
|
<ls-loading v-if="totalitem.quoteCode ==1" text="掌柜正在为您报价,请稍等......"
|
|
|
:animation="animation" fontSize="22" />
|
|
:animation="animation" fontSize="22" />
|
|
|
<text v-if="totalitem.quoteCode=='3'" class="quoteFailed"
|
|
<text v-if="totalitem.quoteCode=='3'" class="quoteFailed"
|
|
|
- @tap.stop.prevent="ErrorMsg(totalitem.msg,totalitem.nameSimple)">报价失败,查看原因</text>
|
|
|
|
|
|
|
+ @tap.stop.prevent="ErrorMsg(errorMessage,totalitem.nameSimple)">报价失败,查看原因</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class=" dis j-end a-c mt-2 f-wrap">
|
|
<view class=" dis j-end a-c mt-2 f-wrap">
|
|
|
<view class="ml-2 mb-1 "
|
|
<view class="ml-2 mb-1 "
|
|
|
- v-if="totalitem.nameSimple=='诚泰财险' && totalitem.result.companyId"
|
|
|
|
|
|
|
+ v-if="totalitem.nameSimple=='诚泰财险' && totalitem.result.ordersNo"
|
|
|
style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
|
|
style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
|
|
|
@click="CTadjustmentCoefficient(totalindex)">调整系数</view>
|
|
@click="CTadjustmentCoefficient(totalindex)">调整系数</view>
|
|
|
<view class="ml-2 mb-1 "
|
|
<view class="ml-2 mb-1 "
|
|
|
- v-if="totalitem.nameSimple=='紫金财险' && totalitem.result.companyId"
|
|
|
|
|
|
|
+ v-if="totalitem.nameSimple=='紫金财险' && totalitem.result.ordersNo"
|
|
|
style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
|
|
style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
|
|
|
@click="ZJadjustmentCoefficient(totalindex)">调整系数</view>
|
|
@click="ZJadjustmentCoefficient(totalindex)">调整系数</view>
|
|
|
<view class="ml-2 mb-1"
|
|
<view class="ml-2 mb-1"
|
|
@@ -166,13 +166,13 @@
|
|
|
style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
|
|
style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
|
|
|
@click="specialAgreementSelection(totalitem.id)">调整特约</view>
|
|
@click="specialAgreementSelection(totalitem.id)">调整特约</view>
|
|
|
<view class="ml-2 mb-1"
|
|
<view class="ml-2 mb-1"
|
|
|
- v-if="totalitem.nameSimple=='紫金财险' && totalitem.result.orderstatus"
|
|
|
|
|
|
|
+ v-if="totalitem.nameSimple=='紫金财险' && totalitem.result.ordersNo"
|
|
|
style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
|
|
style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
|
|
|
- @click="zijinspecialAgreementSelection(totalitem.result.companyId)">调整特约</view>
|
|
|
|
|
|
|
+ @click="zijinspecialAgreementSelection(totalitem.result.ordersNo)">调整特约</view>
|
|
|
<view class="ml-2 mb-1"
|
|
<view class="ml-2 mb-1"
|
|
|
- v-if="totalitem.nameSimple=='华泰财险' && totalitem.result.orderstatus"
|
|
|
|
|
|
|
+ v-if="totalitem.nameSimple=='华泰财险' && totalitem.result.ordersNo"
|
|
|
style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
|
|
style="border: 1px solid #06A8DC;border-radius: 2px;padding:1px 6px;color:#06A8DC;font-size: 24rpx;"
|
|
|
- @click="huataispecialAgreementSelection(totalitem.result.companyId)">调整特约</view>
|
|
|
|
|
|
|
+ @click="huataispecialAgreementSelection(totalitem.result.ordersNo)">调整特约</view>
|
|
|
<view class="ml-2 mb-1"
|
|
<view class="ml-2 mb-1"
|
|
|
style="border: 1px solid #FF5600;border-radius: 2px;padding:1px 6px;color:#FF5600;font-size: 24rpx;"
|
|
style="border: 1px solid #FF5600;border-radius: 2px;padding:1px 6px;color:#FF5600;font-size: 24rpx;"
|
|
|
@click="SchemeSelection(totalitem)">
|
|
@click="SchemeSelection(totalitem)">
|
|
@@ -180,7 +180,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="ml-2 mb-1" v-if="totalitem.insurancePlanInfo"
|
|
<view class="ml-2 mb-1" v-if="totalitem.insurancePlanInfo"
|
|
|
style="border: 1px solid #0052FF;border-radius: 2px;padding:1px 6px;color:#0052FF;font-size: 24rpx;"
|
|
style="border: 1px solid #0052FF;border-radius: 2px;padding:1px 6px;color:#0052FF;font-size: 24rpx;"
|
|
|
- @click="checkSelection(totalitem)">查看方案</view>
|
|
|
|
|
|
|
+ @click="checkSelection">查看方案</view>
|
|
|
<view class="ml-2 mb-1" v-if="totalitem.insurancePlanInfo"
|
|
<view class="ml-2 mb-1" v-if="totalitem.insurancePlanInfo"
|
|
|
style="background:#FF4D4D;color: #fff;border: 1px solid #FF4D4D;border-radius: 2px;padding:1px 6px;font-size: 24rpx;"
|
|
style="background:#FF4D4D;color: #fff;border: 1px solid #FF4D4D;border-radius: 2px;padding:1px 6px;font-size: 24rpx;"
|
|
|
@click="individualQuote(totalitem)">单独报价</view>
|
|
@click="individualQuote(totalitem)">单独报价</view>
|
|
@@ -193,12 +193,13 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="dis a-c f-wrap price">
|
|
<view class="dis a-c f-wrap price">
|
|
|
<text
|
|
<text
|
|
|
- v-if="totalitem.result.ciPremium">交强险:¥{{totalitem.result.ciPremium}}</text>
|
|
|
|
|
|
|
+ v-if="totalitem.result.costs.ciPremium">交强险:¥{{totalitem.result.costs.ciPremium}}</text>
|
|
|
<text
|
|
<text
|
|
|
- v-if="totalitem.result.biPremium">商业险:¥{{totalitem.result.biPremium}}</text>
|
|
|
|
|
- <text v-if="totalitem.result.vvTax">车船税:¥{{totalitem.result.vvTax}}</text>
|
|
|
|
|
|
|
+ v-if="totalitem.result.costs.biPremium">商业险:¥{{totalitem.result.costs.biPremium}}</text>
|
|
|
<text
|
|
<text
|
|
|
- v-if="totalitem.result.niPremium">驾意险:¥{{totalitem.result.niPremium}}</text>
|
|
|
|
|
|
|
+ v-if="totalitem.result.costs.vvTax">车船税:¥{{totalitem.result.costs.vvTax}}</text>
|
|
|
|
|
+ <text
|
|
|
|
|
+ v-if="totalitem.result.costs.niPremium">驾意险:¥{{totalitem.result.costs.niPremium}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="dis a-c f-wrap price" style="font-size: 20rpx;color: #FF4D4D;"
|
|
<view class="dis a-c f-wrap price" style="font-size: 20rpx;color: #FF4D4D;"
|
|
|
v-if="totalitem.result.feeDisplay">
|
|
v-if="totalitem.result.feeDisplay">
|
|
@@ -215,17 +216,17 @@
|
|
|
<view class="dis a-c j-s ">
|
|
<view class="dis a-c j-s ">
|
|
|
<view class="dis f-c time">
|
|
<view class="dis f-c time">
|
|
|
<text
|
|
<text
|
|
|
- v-if="totalitem.result.ciStartDate">交强起保时间:{{totalitem.result.ciStartDate}}
|
|
|
|
|
|
|
+ v-if="totalitem.result.ciRiskInfoVo.startDate">交强起保时间:{{totalitem.result.ciRiskInfoVo.startDate}}
|
|
|
|
|
|
|
|
</text>
|
|
</text>
|
|
|
<text
|
|
<text
|
|
|
- v-if="totalitem.result.ciEndDate">交强终保时间:{{totalitem.result.ciEndDate}}
|
|
|
|
|
|
|
+ v-if="totalitem.result.ciRiskInfoVo.endDate">交强终保时间:{{totalitem.result.ciRiskInfoVo.endDate}}
|
|
|
</text>
|
|
</text>
|
|
|
<text
|
|
<text
|
|
|
- v-if="totalitem.result.biStartDate">商业起保时间:{{totalitem.result.biStartDate}}
|
|
|
|
|
|
|
+ v-if="totalitem.result.biRiskInfoVo.startDate">商业起保时间:{{totalitem.result.biRiskInfoVo.startDate}}
|
|
|
</text>
|
|
</text>
|
|
|
<text
|
|
<text
|
|
|
- v-if="totalitem.result.biEndDate">商业终保时间:{{totalitem.result.biEndDate}}
|
|
|
|
|
|
|
+ v-if="totalitem.result.biRiskInfoVo.endDate">商业终保时间:{{totalitem.result.biRiskInfoVo.endDate}}
|
|
|
</text>
|
|
</text>
|
|
|
</view>
|
|
</view>
|
|
|
<image src="/static/image/car-insure/Group30.png" mode=""
|
|
<image src="/static/image/car-insure/Group30.png" mode=""
|
|
@@ -233,31 +234,31 @@
|
|
|
</image>
|
|
</image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="dis a-c f-wrap time">
|
|
<view class="dis a-c f-wrap time">
|
|
|
- <text v-if="totalitem.nameSimple == '永诚财险'">光博分:{{ totalitem.result.ilogPreUdwMess ?
|
|
|
|
|
- totalitem.result.ilogPreUdwMess : '无' }}</text>
|
|
|
|
|
- <text v-else>评分:{{ totalitem.result.ilogPreUdwMess ?
|
|
|
|
|
- totalitem.result.ilogPreUdwMess : '无' }}</text>
|
|
|
|
|
- <text v-if="totalitem.result.jqScore">交强类型评分:{{ totalitem.result.jqScore ?
|
|
|
|
|
- totalitem.result.jqScore : '无' }}</text>
|
|
|
|
|
- <text v-if="totalitem.result.syScore">商业类型评分:{{ totalitem.result.syScore ?
|
|
|
|
|
- totalitem.result.syScore : '无' }}</text>
|
|
|
|
|
- <text v-if="totalitem.result.lossRation">总赔付率:{{ totalitem.result.lossRation ?
|
|
|
|
|
- totalitem.result.lossRation : '无' }}</text>
|
|
|
|
|
- <text v-if="totalitem.result.jqLossRation">交强赔付率:{{ totalitem.result.jqLossRation ?
|
|
|
|
|
- totalitem.result.jqLossRation : '无' }}</text>
|
|
|
|
|
- <text v-if="totalitem.result.syLossRation">商业赔付率:{{ totalitem.result.syLossRation ?
|
|
|
|
|
- totalitem.result.syLossRation : '无' }}</text>
|
|
|
|
|
|
|
+ <text v-if="totalitem.nameSimple == '永诚财险'">光博分:{{ totalitem.result.scoreVo.score ?
|
|
|
|
|
+ totalitem.result.scoreVo.score : '无' }}</text>
|
|
|
|
|
+ <text v-else>评分:{{ totalitem.result.scoreVo.score?
|
|
|
|
|
+ totalitem.result.scoreVo.score : '无' }}</text>
|
|
|
|
|
+ <text v-if="totalitem.result.scoreVo.jqScore">交强类型评分:{{ totalitem.result.scoreVo.jqScore ?
|
|
|
|
|
+ totalitem.result.scoreVo.jqScore : '无' }}</text>
|
|
|
|
|
+ <text v-if="totalitem.result.scoreVo.syScore">商业类型评分:{{ totalitem.result.scoreVo.syScore ?
|
|
|
|
|
+ totalitem.result.scoreVo.syScore : '无' }}</text>
|
|
|
|
|
+ <text v-if="totalitem.result.scoreVo.lossRation">总赔付率:{{ totalitem.result.scoreVo.lossRation ?
|
|
|
|
|
+ totalitem.result.scoreVo.lossRation : '无' }}</text>
|
|
|
|
|
+ <text v-if="totalitem.result.scoreVo.jqLossRation">交强赔付率:{{ totalitem.result.scoreVo.jqLossRation ?
|
|
|
|
|
+ totalitem.result.scoreVo.jqLossRation : '无' }}</text>
|
|
|
|
|
+ <text v-if="totalitem.result.scoreVo.syLossRation">商业赔付率:{{ totalitem.result.scoreVo.syLossRation ?
|
|
|
|
|
+ totalitem.result.scoreVo.syLossRation : '无' }}</text>
|
|
|
<text
|
|
<text
|
|
|
- v-if="totalitem.nameSimple == '紫金财险'">鼎然-车辆风险评分:{{totalitem.result.ubiPredictedInfoScore ?
|
|
|
|
|
- totalitem.result.ubiPredictedInfoScore : '无'}}</text>
|
|
|
|
|
- <text v-if="totalitem.result.jqRenewal">交强续保:{{ totalitem.result.jqRenewal ?
|
|
|
|
|
- totalitem.result.jqRenewal : '无' }}</text>
|
|
|
|
|
- <text v-if="totalitem.result.syRenewal">商业续保:{{ totalitem.result.syRenewal ?
|
|
|
|
|
- totalitem.result.syRenewal : '无' }}</text>
|
|
|
|
|
- <text v-if="totalitem.result.jqClaims">交强出险次数:{{ totalitem.result.jqClaims ?
|
|
|
|
|
- totalitem.result.jqClaims : '无' }}</text>
|
|
|
|
|
- <text v-if="totalitem.result.syClaims">商业出险次数:{{ totalitem.result.syClaims ?
|
|
|
|
|
- totalitem.result.syClaims : '无' }}</text>
|
|
|
|
|
|
|
+ v-if="totalitem.nameSimple == '紫金财险'">鼎然-车辆风险评分:{{totalitem.result.scoreVo.ubiPredictedInfoScore ?
|
|
|
|
|
+ totalitem.result.scoreVo.ubiPredictedInfoScore : '无'}}</text>
|
|
|
|
|
+ <text v-if="totalitem.result.scoreVo.jqRenewal">交强续保:{{ totalitem.result.scoreVo.jqRenewal ?
|
|
|
|
|
+ totalitem.result.scoreVo.jqRenewal : '无' }}</text>
|
|
|
|
|
+ <text v-if="totalitem.result.scoreVo.syRenewal">商业续保:{{ totalitem.result.scoreVo.syRenewal ?
|
|
|
|
|
+ totalitem.result.scoreVo.syRenewal : '无' }}</text>
|
|
|
|
|
+ <text v-if="totalitem.result.scoreVo.jqClaims">交强出险次数:{{ totalitem.result.scoreVo.jqClaims ?
|
|
|
|
|
+ totalitem.result.scoreVo.jqClaims : '无' }}</text>
|
|
|
|
|
+ <text v-if="totalitem.result.scoreVo.syClaims">商业出险次数:{{ totalitem.result.scoreVo.syClaims ?
|
|
|
|
|
+ totalitem.result.scoreVo.syClaims : '无' }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
<template v-if="totalitem.result.iszdj !=null && totalitem.result.iszdj!=''">
|
|
<template v-if="totalitem.result.iszdj !=null && totalitem.result.iszdj!=''">
|
|
|
<text v-if="totalitem.result.iszdj==0" style="color: red;">假单交</text>
|
|
<text v-if="totalitem.result.iszdj==0" style="color: red;">假单交</text>
|
|
@@ -278,20 +279,19 @@
|
|
|
<u-button class="ml-2" type="error" size="mini"
|
|
<u-button class="ml-2" type="error" size="mini"
|
|
|
:custom-style="{borderRadius:'2px'}"
|
|
:custom-style="{borderRadius:'2px'}"
|
|
|
style="background: linear-gradient( 90deg, #10D8D8 0%, #00CBE6 100%);"
|
|
style="background: linear-gradient( 90deg, #10D8D8 0%, #00CBE6 100%);"
|
|
|
- @click="resubmitImage(totalitem.result.companyId)">补传影像</u-button>
|
|
|
|
|
|
|
+ @click="resubmitImage(totalitem.result.ordersNo)">补传影像</u-button>
|
|
|
<u-button class="ml-2" type="error" size="mini"
|
|
<u-button class="ml-2" type="error" size="mini"
|
|
|
:custom-style="{borderRadius:'2px'}"
|
|
:custom-style="{borderRadius:'2px'}"
|
|
|
style="background: linear-gradient( 90deg, #FF4D4D 0%, #FF784D 100%);"
|
|
style="background: linear-gradient( 90deg, #FF4D4D 0%, #FF784D 100%);"
|
|
|
- @click="bjdpreview(totalitem.result.companyId)">报价单</u-button>
|
|
|
|
|
|
|
+ @click="bjdpreview(totalitem.result.ordersNo)">报价单</u-button>
|
|
|
<u-button class="ml-2" type="primary" size="mini"
|
|
<u-button class="ml-2" type="primary" size="mini"
|
|
|
:custom-style="{borderRadius:'2px'}"
|
|
:custom-style="{borderRadius:'2px'}"
|
|
|
style="background: linear-gradient( 90deg, #FF9415 0%, #FFB525 100%);"
|
|
style="background: linear-gradient( 90deg, #FF9415 0%, #FFB525 100%);"
|
|
|
- @click="querydetial(totalitem.result.companyId,totalitem.cnName)">查看详情</u-button>
|
|
|
|
|
|
|
+ @click="querydetial(totalitem.result.ordersNo,totalitem.cnName)">查看详情</u-button>
|
|
|
<u-button class="ml-2" type="primary" size="mini"
|
|
<u-button class="ml-2" type="primary" size="mini"
|
|
|
- v-if="totalitem.result.orderstatus==0"
|
|
|
|
|
- :custom-style="{borderRadius:'2px'}"
|
|
|
|
|
|
|
+ v-if="order.orderStatus==1" :custom-style="{borderRadius:'2px'}"
|
|
|
style="background: linear-gradient( 90deg, #0052FF 0%, #0D8BFF 100%);"
|
|
style="background: linear-gradient( 90deg, #0052FF 0%, #0D8BFF 100%);"
|
|
|
- @click="submitUnderwriting(totalitem.result.companyId,totalitem.result.apiType ,totalitem.nameSimple)">提交核保</u-button>
|
|
|
|
|
|
|
+ @click="submitUnderwriting(totalitem.result.ordersNo,totalitem.result.apiType ,totalitem.nameSimple)">提交核保</u-button>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -1378,6 +1378,9 @@
|
|
|
systartvalue: Number(new Date()), //证件起期
|
|
systartvalue: Number(new Date()), //证件起期
|
|
|
syendvalue: Number(new Date()), //证件起期
|
|
syendvalue: Number(new Date()), //证件起期
|
|
|
transferDatevalue: Number(new Date()), //证件起期
|
|
transferDatevalue: Number(new Date()), //证件起期
|
|
|
|
|
+ order: {},
|
|
|
|
|
+ costs: {}, //价格
|
|
|
|
|
+ accidentalDrivings: {}, //驾意险
|
|
|
imagelist: [{
|
|
imagelist: [{
|
|
|
name: '车辆/人员信息'
|
|
name: '车辆/人员信息'
|
|
|
},
|
|
},
|
|
@@ -1474,7 +1477,7 @@
|
|
|
priceComparisonShow: false, //比价弹窗
|
|
priceComparisonShow: false, //比价弹窗
|
|
|
comparableQuantity: 0, //报价成功总数
|
|
comparableQuantity: 0, //报价成功总数
|
|
|
selectedCount: 0, //比价勾选数量
|
|
selectedCount: 0, //比价勾选数量
|
|
|
- riskList: [], //险种大类
|
|
|
|
|
|
|
+ kindInfoVo: [], //险种大类
|
|
|
ciRiskInfoVo: {
|
|
ciRiskInfoVo: {
|
|
|
amount: 0,
|
|
amount: 0,
|
|
|
endDate: '',
|
|
endDate: '',
|
|
@@ -1498,7 +1501,7 @@
|
|
|
taxPaidAreaCode: "",
|
|
taxPaidAreaCode: "",
|
|
|
},
|
|
},
|
|
|
//车船税form
|
|
//车船税form
|
|
|
- vehicleAndVesselTaxForm: {
|
|
|
|
|
|
|
+ vehicleAndVesselTaxVo: {
|
|
|
taxRelifFlag: "1", //类型
|
|
taxRelifFlag: "1", //类型
|
|
|
identifyNumber: "", //纳税人识别号
|
|
identifyNumber: "", //纳税人识别号
|
|
|
taxpayerIdentifier: "01", //纳税人证件类型
|
|
taxpayerIdentifier: "01", //纳税人证件类型
|
|
@@ -1680,24 +1683,28 @@
|
|
|
this.productId = res.data.order.productsCode; //险种id
|
|
this.productId = res.data.order.productsCode; //险种id
|
|
|
this.productName = res.data.order.productsName; //险种name
|
|
this.productName = res.data.order.productsName; //险种name
|
|
|
this.quotableCompanyList = JSON.parse(JSON.stringify(res.data.insCompanyVo));
|
|
this.quotableCompanyList = JSON.parse(JSON.stringify(res.data.insCompanyVo));
|
|
|
- this.commpanyList();
|
|
|
|
|
|
|
+ this.order = res.data.order;
|
|
|
|
|
+ this.costs = res.data.costs; //价格
|
|
|
|
|
+ this.errorMessage = res.data.errorMessage; //报价失败原因
|
|
|
|
|
+ this.accidentalDrivings = res.data.accidentalDrivings; //驾意险
|
|
|
this.carInfo = res.data.carInfoVo; //车辆信息
|
|
this.carInfo = res.data.carInfoVo; //车辆信息
|
|
|
this.ownerInfo = res.data.ownersInfo; //车主信息
|
|
this.ownerInfo = res.data.ownersInfo; //车主信息
|
|
|
this.policyHolderInfo = res.data.policyHolderInfo; //投保人信息
|
|
this.policyHolderInfo = res.data.policyHolderInfo; //投保人信息
|
|
|
this.insuredPersonInfo = res.data.insuredPersonInfo; //被保人信息
|
|
this.insuredPersonInfo = res.data.insuredPersonInfo; //被保人信息
|
|
|
- this.riskList = res.data.kindInfoVo; //险种大类
|
|
|
|
|
- this.ciRiskInfoVo = res.data.ciRiskInfoVo;
|
|
|
|
|
- this.biRiskInfoVo = res.data.biRiskInfoVo;
|
|
|
|
|
- this.vehicleAndVesselTaxForm = res.data.vehicleAndVesselTax; //车船税信息
|
|
|
|
|
|
|
+ this.kindInfoVo = res.data.kindInfoVo; //险种大类
|
|
|
|
|
+ this.ciRiskInfoVo = res.data.ciRiskInfoVo; //交强险
|
|
|
|
|
+ this.biRiskInfoVo = res.data.biRiskInfoVo; //商业险
|
|
|
|
|
+ this.vehicleAndVesselTaxVo = res.data.vehicleAndVesselTaxVo; //车船税信息
|
|
|
this.orderno = res.data.order.ordersNo;
|
|
this.orderno = res.data.order.ordersNo;
|
|
|
this.quoteno = res.data.order.quoteNo;
|
|
this.quoteno = res.data.order.quoteNo;
|
|
|
|
|
+ await this.commpanyList();
|
|
|
this.imageEcho(this.quoteno) // 影像获取完毕
|
|
this.imageEcho(this.quoteno) // 影像获取完毕
|
|
|
if (this.ciRiskInfoVo) {
|
|
if (this.ciRiskInfoVo) {
|
|
|
if (this.isDateBeforeToday(this.ciRiskInfoVo.startDate)) {
|
|
if (this.isDateBeforeToday(this.ciRiskInfoVo.startDate)) {
|
|
|
this.jqstartDate = this.nextday();
|
|
this.jqstartDate = this.nextday();
|
|
|
this.jqendDate = this.oneYearPast(this.jqstartDate)
|
|
this.jqendDate = this.oneYearPast(this.jqstartDate)
|
|
|
- this.riskList[i].startDate = this.nextday()
|
|
|
|
|
- this.riskList[i].endDate = this.oneYearPast(this.jqstartDate)
|
|
|
|
|
|
|
+ this.ciRiskInfoVo.startDate = this.nextday()
|
|
|
|
|
+ this.ciRiskInfoVo.endDate = this.oneYearPast(this.jqstartDate)
|
|
|
} else {
|
|
} else {
|
|
|
this.jqstartDate = this.ciRiskInfoVo.startDate;
|
|
this.jqstartDate = this.ciRiskInfoVo.startDate;
|
|
|
this.jqendDate = this.ciRiskInfoVo.endDate;
|
|
this.jqendDate = this.ciRiskInfoVo.endDate;
|
|
@@ -1707,8 +1714,8 @@
|
|
|
if (this.isDateBeforeToday(this.biRiskInfoVo.startDate)) {
|
|
if (this.isDateBeforeToday(this.biRiskInfoVo.startDate)) {
|
|
|
this.systartDate = this.nextday();
|
|
this.systartDate = this.nextday();
|
|
|
this.syendDate = this.oneYearPast(this.systartDate)
|
|
this.syendDate = this.oneYearPast(this.systartDate)
|
|
|
- this.riskList[i].startDate = this.nextday()
|
|
|
|
|
- this.riskList[i].endDate = this.oneYearPast(this.systartDate)
|
|
|
|
|
|
|
+ this.biRiskInfoVo.startDate = this.nextday()
|
|
|
|
|
+ this.biRiskInfoVo.endDate = this.oneYearPast(this.systartDate)
|
|
|
} else {
|
|
} else {
|
|
|
this.systartDate = this.biRiskInfoVo.startDate;
|
|
this.systartDate = this.biRiskInfoVo.startDate;
|
|
|
this.syendDate = this.biRiskInfoVo.endDate;
|
|
this.syendDate = this.biRiskInfoVo.endDate;
|
|
@@ -1726,8 +1733,8 @@
|
|
|
this.carInfo = data.carInfo; //车辆信息
|
|
this.carInfo = data.carInfo; //车辆信息
|
|
|
this.ownerInfo = data.ownerInfo; //车主信息
|
|
this.ownerInfo = data.ownerInfo; //车主信息
|
|
|
this.policyHolderInfo = data.policyHolderInfo; //投保人信息
|
|
this.policyHolderInfo = data.policyHolderInfo; //投保人信息
|
|
|
- this.vehicleAndVesselTaxForm.identifyNumber = this.policyHolderInfo.identifyNumber;
|
|
|
|
|
- this.vehicleAndVesselTaxForm.taxpayerName = this.policyHolderInfo.name;
|
|
|
|
|
|
|
+ this.vehicleAndVesselTaxVo.identifyNumber = this.policyHolderInfo.identifyNumber;
|
|
|
|
|
+ this.vehicleAndVesselTaxVo.taxpayerName = this.policyHolderInfo.name;
|
|
|
this.insuredPersonInfo = data.insuredPersonInfo; //被保人信息
|
|
this.insuredPersonInfo = data.insuredPersonInfo; //被保人信息
|
|
|
this.carInfoPositiveList = data.carInfoPositiveList; //车辆
|
|
this.carInfoPositiveList = data.carInfoPositiveList; //车辆
|
|
|
this.ownerInfoPositiveList = data.ownerInfoPositiveList; //车主
|
|
this.ownerInfoPositiveList = data.ownerInfoPositiveList; //车主
|
|
@@ -2274,16 +2281,6 @@
|
|
|
})
|
|
})
|
|
|
this.riskTypeEchoProcessing(this.productId); //更新险种大类日期
|
|
this.riskTypeEchoProcessing(this.productId); //更新险种大类日期
|
|
|
let param = {
|
|
let param = {
|
|
|
- // quoteno: this.quoteno ? this.quoteno : "",
|
|
|
|
|
- // orderNo: this.orderno ? this.orderno : "",
|
|
|
|
|
- // riskList: this.riskList,
|
|
|
|
|
- // carInfo: this.carInfo,
|
|
|
|
|
- // insuredPersonInfo: this.insuredPersonInfo,
|
|
|
|
|
- // ownerInfo: this.ownerInfo,
|
|
|
|
|
- // policyHolderInfo: this.policyHolderInfo,
|
|
|
|
|
- // vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
|
|
|
|
|
- // productId: this.productId,
|
|
|
|
|
- // orderSource: "1",
|
|
|
|
|
licenseNo: this.carInfo.licenseNo,
|
|
licenseNo: this.carInfo.licenseNo,
|
|
|
vinNo: this.carInfo.vinNo,
|
|
vinNo: this.carInfo.vinNo,
|
|
|
engineNo: this.carInfo.engineNo,
|
|
engineNo: this.carInfo.engineNo,
|
|
@@ -2331,12 +2328,12 @@
|
|
|
userId: this.userInfo.sysUser.id,
|
|
userId: this.userInfo.sysUser.id,
|
|
|
quoteno: this.quoteno ? this.quoteno : "",
|
|
quoteno: this.quoteno ? this.quoteno : "",
|
|
|
orderNo: this.orderno ? this.orderno : "",
|
|
orderNo: this.orderno ? this.orderno : "",
|
|
|
- riskList: this.riskList,
|
|
|
|
|
|
|
+ kindInfoVost: thikindInfoVost,
|
|
|
carInfo: this.carInfo,
|
|
carInfo: this.carInfo,
|
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
|
ownerInfo: this.ownerInfo,
|
|
ownerInfo: this.ownerInfo,
|
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
|
- vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
|
|
|
|
|
|
|
+ vehicleAndVesselTax: this.vehicleAndVesselTaxVo,
|
|
|
productId: this.productId,
|
|
productId: this.productId,
|
|
|
orderSource: "1",
|
|
orderSource: "1",
|
|
|
};
|
|
};
|
|
@@ -2371,16 +2368,6 @@
|
|
|
this.riskTypeEchoProcessing(this.productId); //更新险种大类日期
|
|
this.riskTypeEchoProcessing(this.productId); //更新险种大类日期
|
|
|
|
|
|
|
|
let param = {
|
|
let param = {
|
|
|
- // quoteno: this.quoteno ? this.quoteno : "",
|
|
|
|
|
- // orderNo: this.orderno ? this.orderno : "",
|
|
|
|
|
- // riskList: this.riskList,
|
|
|
|
|
- // carInfo: this.carInfo,
|
|
|
|
|
- // insuredPersonInfo: this.insuredPersonInfo,
|
|
|
|
|
- // ownerInfo: this.ownerInfo,
|
|
|
|
|
- // policyHolderInfo: this.policyHolderInfo,
|
|
|
|
|
- // vehicleAndVesselTax: this.vehicleAndVesselTaxForm,
|
|
|
|
|
- // productId: this.productId,
|
|
|
|
|
- // orderSource: "1",
|
|
|
|
|
licenseNo: this.carInfo.licenseNo,
|
|
licenseNo: this.carInfo.licenseNo,
|
|
|
vinNo: this.carInfo.vinNo,
|
|
vinNo: this.carInfo.vinNo,
|
|
|
engineNo: this.carInfo.engineNo,
|
|
engineNo: this.carInfo.engineNo,
|
|
@@ -2447,7 +2434,7 @@
|
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
|
] : [],
|
|
] : [],
|
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
|
- // risks: this.riskList,
|
|
|
|
|
|
|
+ // risks: thikindInfoVost,
|
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
|
.ciRiskInfoVo : null, //交强大类
|
|
.ciRiskInfoVo : null, //交强大类
|
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
@@ -2456,7 +2443,7 @@
|
|
|
ownersInfo: this.ownerInfo,
|
|
ownersInfo: this.ownerInfo,
|
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
|
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxForm,
|
|
|
|
|
|
|
+ vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
|
systemType: '2'
|
|
systemType: '2'
|
|
@@ -2516,7 +2503,7 @@
|
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
|
] : [],
|
|
] : [],
|
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
|
- // risks: this.riskList,
|
|
|
|
|
|
|
+ // risks: thikindInfoVost,
|
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
|
.ciRiskInfoVo : null, //交强大类
|
|
.ciRiskInfoVo : null, //交强大类
|
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
@@ -2525,7 +2512,7 @@
|
|
|
ownersInfo: this.ownerInfo,
|
|
ownersInfo: this.ownerInfo,
|
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
|
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxForm,
|
|
|
|
|
|
|
+ vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
|
systemType: '2'
|
|
systemType: '2'
|
|
@@ -2585,7 +2572,7 @@
|
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
|
] : [],
|
|
] : [],
|
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
|
- // risks: this.riskList,
|
|
|
|
|
|
|
+ // risks: thikindInfoVost,
|
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
|
.ciRiskInfoVo : null, //交强大类
|
|
.ciRiskInfoVo : null, //交强大类
|
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
@@ -2594,7 +2581,7 @@
|
|
|
ownersInfo: this.ownerInfo,
|
|
ownersInfo: this.ownerInfo,
|
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
|
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxForm,
|
|
|
|
|
|
|
+ vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
|
systemType: '2'
|
|
systemType: '2'
|
|
@@ -2654,7 +2641,7 @@
|
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
|
] : [],
|
|
] : [],
|
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
|
- // risks: this.riskList,
|
|
|
|
|
|
|
+ // risks: thikindInfoVost,
|
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
|
.ciRiskInfoVo : null, //交强大类
|
|
.ciRiskInfoVo : null, //交强大类
|
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
@@ -2663,7 +2650,7 @@
|
|
|
ownersInfo: this.ownerInfo,
|
|
ownersInfo: this.ownerInfo,
|
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
|
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxForm,
|
|
|
|
|
|
|
+ vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
|
systemType: '2'
|
|
systemType: '2'
|
|
@@ -2723,7 +2710,7 @@
|
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
|
] : [],
|
|
] : [],
|
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
|
- // risks: this.riskList,
|
|
|
|
|
|
|
+ // risks: thikindInfoVost,
|
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
|
.ciRiskInfoVo : null, //交强大类
|
|
.ciRiskInfoVo : null, //交强大类
|
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
@@ -2732,7 +2719,7 @@
|
|
|
ownersInfo: this.ownerInfo,
|
|
ownersInfo: this.ownerInfo,
|
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
|
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxForm,
|
|
|
|
|
|
|
+ vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
|
systemType: '2'
|
|
systemType: '2'
|
|
@@ -2790,7 +2777,7 @@
|
|
|
orderNo: this.orderno,
|
|
orderNo: this.orderno,
|
|
|
companyId: id,
|
|
companyId: id,
|
|
|
kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
|
- risks: this.riskList,
|
|
|
|
|
|
|
+ risks: thikindInfoVost,
|
|
|
agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
|
coefficient: this.quotableCompanyList[num].coefficient,
|
|
coefficient: this.quotableCompanyList[num].coefficient,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
@@ -2842,15 +2829,27 @@
|
|
|
let isTaxSource = this.quotableCompanyList[num].isTaxSource;
|
|
let isTaxSource = this.quotableCompanyList[num].isTaxSource;
|
|
|
let ccidenttype = this.quotableCompanyList[num].cnName;
|
|
let ccidenttype = this.quotableCompanyList[num].cnName;
|
|
|
let params = {
|
|
let params = {
|
|
|
- accidentalDrivingVo: this.quotableCompanyList[num].insurancePlanInfo.drivingList[0] ? this
|
|
|
|
|
- .quotableCompanyList[num].insurancePlanInfo.drivingList[0] : {},
|
|
|
|
|
- orderNo: this.orderno,
|
|
|
|
|
- companyId: id,
|
|
|
|
|
- kinds: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
|
|
|
- risks: this.riskList,
|
|
|
|
|
- agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
|
|
|
|
|
+ order: {
|
|
|
|
|
+ insuranceCompanyCode: id,
|
|
|
|
|
+ quoteNo: this.quoteno,
|
|
|
|
|
+ productsCode: this.productId,
|
|
|
|
|
+ },
|
|
|
|
|
+ accidentalDrivings: this.quotableCompanyList[num].insurancePlanInfo.drivings[0] ? [this
|
|
|
|
|
+ .quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
|
|
|
+ ] : [],
|
|
|
|
|
+ kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
|
|
|
+ // risks: thikindInfoVost,
|
|
|
|
|
+ ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
|
|
|
+ .ciRiskInfoVo : null, //交强大类
|
|
|
|
|
+ biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
|
|
|
+ .biRiskInfoVo : null, //商业大类
|
|
|
|
|
+ carInfoVo: this.carInfo,
|
|
|
|
|
+ ownersInfo: this.ownerInfo,
|
|
|
|
|
+ policyHolderInfo: this.policyHolderInfo,
|
|
|
|
|
+ insuredPersonInfo: this.insuredPersonInfo,
|
|
|
|
|
+ vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
|
- guoRenSpecialAgreementVo: this.guoRenSpecialAgreementVo,
|
|
|
|
|
|
|
+ // agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
|
systemType: '2'
|
|
systemType: '2'
|
|
|
};
|
|
};
|
|
|
try {
|
|
try {
|
|
@@ -2908,7 +2907,7 @@
|
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
|
] : [],
|
|
] : [],
|
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
|
- // risks: this.riskList,
|
|
|
|
|
|
|
+ // risks: thikindInfoVost,
|
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
|
.ciRiskInfoVo : null, //交强大类
|
|
.ciRiskInfoVo : null, //交强大类
|
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
@@ -2917,7 +2916,7 @@
|
|
|
ownersInfo: this.ownerInfo,
|
|
ownersInfo: this.ownerInfo,
|
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
|
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxForm,
|
|
|
|
|
|
|
+ vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
|
systemType: '2'
|
|
systemType: '2'
|
|
@@ -3014,7 +3013,7 @@
|
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
.quotableCompanyList[num].insurancePlanInfo.drivings[0]
|
|
|
] : [],
|
|
] : [],
|
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
kindInfoVo: this.quotableCompanyList[num].insurancePlanInfo.kinds,
|
|
|
- // risks: this.riskList,
|
|
|
|
|
|
|
+ // risks: thikindInfoVost,
|
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
ciRiskInfoVo: ['0330', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
|
.ciRiskInfoVo : null, //交强大类
|
|
.ciRiskInfoVo : null, //交强大类
|
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
biRiskInfoVo: ['034001', '034002', '0330034002', '0330034001'].includes(this.productId) ? this
|
|
@@ -3023,7 +3022,7 @@
|
|
|
ownersInfo: this.ownerInfo,
|
|
ownersInfo: this.ownerInfo,
|
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
policyHolderInfo: this.policyHolderInfo,
|
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
insuredPersonInfo: this.insuredPersonInfo,
|
|
|
- vehicleAndVesselTaxVo: this.vehicleAndVesselTaxForm,
|
|
|
|
|
|
|
+ vehicleAndVesselTaxVo: this.vehicleAndVesselTaxVo,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
// agreementId: this.quotableCompanyList[num].agreement[0].id,
|
|
|
systemType: '2'
|
|
systemType: '2'
|
|
@@ -3247,14 +3246,14 @@
|
|
|
},
|
|
},
|
|
|
//使用此时间
|
|
//使用此时间
|
|
|
syncData(item) {
|
|
syncData(item) {
|
|
|
- this.jqstartDate = item.startDateJq ? item
|
|
|
|
|
- .startDateJq : this.jqstartDate
|
|
|
|
|
- this.jqendDate = item.endDateJq ? item
|
|
|
|
|
- .endDateJq : this.endDateJq
|
|
|
|
|
- this.systartDate = item.startDateSy ? item
|
|
|
|
|
- .startDateSy : this.systartDate
|
|
|
|
|
- this.syendDate = item.endDateSy ? item
|
|
|
|
|
- .endDateSy : this.syendDate
|
|
|
|
|
|
|
+ this.jqstartDate = item.ciStartDate ? item
|
|
|
|
|
+ .ciStartDate : this.jqstartDate
|
|
|
|
|
+ this.jqendDate = item.ciEndDate ? item
|
|
|
|
|
+ .ciEndDate : this.jqendDate
|
|
|
|
|
+ this.systartDate = item.biStartDate ? item
|
|
|
|
|
+ .biStartDate : this.systartDate
|
|
|
|
|
+ this.syendDate = item.biEndDate ? item
|
|
|
|
|
+ .biEndDate : this.syendDate
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
title: '时间已替换',
|
|
title: '时间已替换',
|
|
|
icon: 'none',
|
|
icon: 'none',
|
|
@@ -3263,14 +3262,14 @@
|
|
|
},
|
|
},
|
|
|
//车船税类型选择
|
|
//车船税类型选择
|
|
|
taxRelifFlagConfirm(val, name) {
|
|
taxRelifFlagConfirm(val, name) {
|
|
|
- this.vehicleAndVesselTaxForm[name] = val[0].value;
|
|
|
|
|
|
|
+ this.vehicleAndVesselTaxVo[name] = val[0].value;
|
|
|
this.model[name] = val[0].label;
|
|
this.model[name] = val[0].label;
|
|
|
},
|
|
},
|
|
|
taxDocumentDateconfirm(e) {
|
|
taxDocumentDateconfirm(e) {
|
|
|
- this.vehicleAndVesselTaxForm.taxDocumentDate = e.year + '-' + e.month + '-' + e.day;
|
|
|
|
|
|
|
+ this.vehicleAndVesselTaxVo.taxDocumentDate = e.year + '-' + e.month + '-' + e.day;
|
|
|
},
|
|
},
|
|
|
taxPaidAreaCodeconfirm(e) {
|
|
taxPaidAreaCodeconfirm(e) {
|
|
|
- this.vehicleAndVesselTaxForm.taxPaidAreaCode = e.province.value;
|
|
|
|
|
|
|
+ this.vehicleAndVesselTaxVo.taxPaidAreaCode = e.province.value;
|
|
|
this.model.taxPaidAreaCode = e.province.label;
|
|
this.model.taxPaidAreaCode = e.province.label;
|
|
|
},
|
|
},
|
|
|
//数据字典
|
|
//数据字典
|
|
@@ -3368,12 +3367,16 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
//查看方案
|
|
//查看方案
|
|
|
- checkSelection(item) {
|
|
|
|
|
|
|
+ checkSelection() {
|
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
|
url: '/pages/quote/checkOption',
|
|
url: '/pages/quote/checkOption',
|
|
|
success: (res) => {
|
|
success: (res) => {
|
|
|
res.eventChannel.emit("acceptData", {
|
|
res.eventChannel.emit("acceptData", {
|
|
|
- item: item,
|
|
|
|
|
|
|
+ item: {
|
|
|
|
|
+ costs: this.costs, //价格
|
|
|
|
|
+ kindInfoVo: this.kindInfoVo, //商业险险别
|
|
|
|
|
+ accidentalDrivings: this.accidentalDrivings, //驾意险
|
|
|
|
|
+ },
|
|
|
seatNum: this.carInfo.seatCount,
|
|
seatNum: this.carInfo.seatCount,
|
|
|
jqstartDate: this.jqstartDate,
|
|
jqstartDate: this.jqstartDate,
|
|
|
jqendDate: this.jqendDate,
|
|
jqendDate: this.jqendDate,
|
|
@@ -3395,10 +3398,6 @@
|
|
|
params: {
|
|
params: {
|
|
|
companyId: item.id,
|
|
companyId: item.id,
|
|
|
productId: this.productId,
|
|
productId: this.productId,
|
|
|
- // seatNum: this.carInfo.seatCount,
|
|
|
|
|
- // vehicleType: this.carInfo.carKindCode,
|
|
|
|
|
- // energyTypeCode: this.carInfo.energyTypeCode,
|
|
|
|
|
- // carNatureCode: this.carInfo.carNatureCode,
|
|
|
|
|
},
|
|
},
|
|
|
nameSimple: item.nameSimple,
|
|
nameSimple: item.nameSimple,
|
|
|
cnName: item.cnName,
|
|
cnName: item.cnName,
|
|
@@ -3413,45 +3412,6 @@
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
}, "navigateTo", true);
|
|
}, "navigateTo", true);
|
|
|
- // let params = {
|
|
|
|
|
- // companyId: item.id,
|
|
|
|
|
- // productId: this.productId,
|
|
|
|
|
- // seatNum: this.carInfo.seatCount,
|
|
|
|
|
- // vehicleType: this.carInfo.carKindCode,
|
|
|
|
|
- // energyTypeCode: this.carInfo.energyTypeCode,
|
|
|
|
|
- // carNatureCode: this.carInfo.carNatureCode,
|
|
|
|
|
- // };
|
|
|
|
|
- // let res = await this.$http.post('/plt/scheme/getCompanySchemeInfo', params);
|
|
|
|
|
- // let res1 = await this.$http.post('/plt/scheme/getCompanyOptionalSchemeInfo', params);
|
|
|
|
|
- // let typelist = [];
|
|
|
|
|
- // this.planDataExpansion.id = item.id;
|
|
|
|
|
- // this.planDataExpansion.nameSimple = item.nameSimple;
|
|
|
|
|
- // this.planDataExpansion.cnName = item.cnName;
|
|
|
|
|
- // if (res.code == '200' && res.data.length > 0) {
|
|
|
|
|
- // this.planDataExpansion.genericPlanList = [...res.data];
|
|
|
|
|
- // this.planDataExpansion.genericPlanInfo = res.data[0];
|
|
|
|
|
- // this.SelectedPlanId = res.data[0].schemeId;
|
|
|
|
|
- // } else {
|
|
|
|
|
- // this.planDataExpansion.genericPlanList = [];
|
|
|
|
|
- // this.planDataExpansion.genericPlanInfo = {};
|
|
|
|
|
- // this.SelectedPlanId = "";
|
|
|
|
|
- // }
|
|
|
|
|
- // if (res1.code == '200') {
|
|
|
|
|
- // this.planDataExpansion.genericPlanList = [...res.data, res1.data];
|
|
|
|
|
- // res1.data.drivingTypeList.map(val => {
|
|
|
|
|
- // if (val.children) {
|
|
|
|
|
- // val.children.map(ele => {
|
|
|
|
|
- // typelist.push(ele)
|
|
|
|
|
- // return ele
|
|
|
|
|
- // })
|
|
|
|
|
- // }
|
|
|
|
|
- // })
|
|
|
|
|
- // } else {
|
|
|
|
|
- // this.planDataExpansion.genericPlanList = [...res.data];
|
|
|
|
|
- // }
|
|
|
|
|
- // this.accidentInsuranceCategoryList = typelist;
|
|
|
|
|
- // this.genericPlanPopup = true;
|
|
|
|
|
-
|
|
|
|
|
},
|
|
},
|
|
|
//即使投保时处理时间
|
|
//即使投保时处理时间
|
|
|
datelyClick(value, name, startDate, endDate, obj) {
|
|
datelyClick(value, name, startDate, endDate, obj) {
|
|
@@ -3491,25 +3451,21 @@
|
|
|
ele['isComparableshowHide'] = false;
|
|
ele['isComparableshowHide'] = false;
|
|
|
ele['isComparableDisabled'] = false;
|
|
ele['isComparableDisabled'] = false;
|
|
|
ele['insurancePlanInfo'] = null;
|
|
ele['insurancePlanInfo'] = null;
|
|
|
- if (ele.editingDto) {
|
|
|
|
|
- if (ele.editingDto.sumPermium) {
|
|
|
|
|
- ele.result = ele.editingDto;
|
|
|
|
|
|
|
+ if (this.order && this.order.orderStatus) {
|
|
|
|
|
+ if (this.costs.sumPremium) {
|
|
|
ele.insurancePlanInfo = {};
|
|
ele.insurancePlanInfo = {};
|
|
|
- ele.insurancePlanInfo.drivingList = ele.editingDto.drivingList;
|
|
|
|
|
- ele.insurancePlanInfo.kinds = ele.editingDto.kindList;
|
|
|
|
|
ele.quoteCode = 200;
|
|
ele.quoteCode = 200;
|
|
|
- list.push(1);
|
|
|
|
|
} else {
|
|
} else {
|
|
|
- ele.msg = ele.editingDto.quoteErrMsg;
|
|
|
|
|
|
|
+ ele.msg = this.errorMessage;
|
|
|
ele.insurancePlanInfo = {};
|
|
ele.insurancePlanInfo = {};
|
|
|
- ele.insurancePlanInfo.drivingList = ele.editingDto.drivingList;
|
|
|
|
|
- ele.insurancePlanInfo.kinds = ele.editingDto.kindList;
|
|
|
|
|
ele.quoteCode = 3;
|
|
ele.quoteCode = 3;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
return ele;
|
|
return ele;
|
|
|
})
|
|
})
|
|
|
|
|
+ console.log(this.quotableCompanyList);
|
|
|
|
|
+ console.log(this.costs);
|
|
|
this.comparableQuantity = list.length;
|
|
this.comparableQuantity = list.length;
|
|
|
|
|
|
|
|
},
|
|
},
|