|
@@ -120,7 +120,7 @@
|
|
|
class="sum" style="color: #999;font-size: 12px;"
|
|
|
@click="ErrorMsg(totalitem.msg,totalitem.namesimple)">报价失败,请点击查看</text>
|
|
|
</view>
|
|
|
- <view v-show="totalitem.quoteCode==200" class="dis j-s"
|
|
|
+ <view v-show="totalitem.quoteCode==200" class="dis j-s f-wrap"
|
|
|
style="font-size: 12px;color: #ee7000;">
|
|
|
<text v-if="totalitem.result.jqPremium">交强险:¥{{totalitem.result.jqPremium}}</text>
|
|
|
<text v-if="totalitem.result.jqPremium"
|
|
@@ -132,11 +132,12 @@
|
|
|
style="font-size: 12px;color: #6495ed;border-top: 1px solid #f2f2f2;">
|
|
|
<text
|
|
|
v-if="totalitem.result.jqPremium">交强险:{{totalitem.result.startDateJq}}~{{totalitem.result.endDateJq}}
|
|
|
+ <u-icon style="color:#ee7000;margin-left: 20px;font-size: 16px;" name="clock"
|
|
|
+ @click="syncData(totalitem.result)"></u-icon>
|
|
|
</text>
|
|
|
<text
|
|
|
v-if="totalitem.result.startDateSy">商业险:{{totalitem.result.startDateSy}}~{{totalitem.result.endDateSy}}
|
|
|
- <u-icon style="color:#ee7000;margin-left: 20px;font-size: 16px;" name="clock"
|
|
|
- @click="syncData(totalitem.result)"></u-icon>
|
|
|
+
|
|
|
</text>
|
|
|
<text v-if="totalitem.namesimple == '永诚财险'">光博分:{{ totalitem.result.ilogPreUdwMess ?
|
|
|
totalitem.result.ilogPreUdwMess : '无' }}</text>
|
|
@@ -147,23 +148,27 @@
|
|
|
</view>
|
|
|
<text v-if="totalitem.result.tips && totalitem.namesimple == '众安财险'"
|
|
|
style="color: red;">{{ totalitem.result.tips}}</text>
|
|
|
- <view class="" v-if="totalitem.checked">
|
|
|
+ <view class="dis a-c " v-if="totalitem.checked">
|
|
|
<u-form-item label="报价协议选择" :prop="totalitem.agreementId" label-width="200"
|
|
|
:border-bottom='false' style="width: 280px;padding: 0;">
|
|
|
<u-input type="select" :select-open="totalitem.selectShow"
|
|
|
v-model="totalitem.agreementName" placeholder="请选择协议"
|
|
|
- @click="totalitem.selectShow = true"></u-input>
|
|
|
+ @click="totalitem.selectShow = true"
|
|
|
+ :custom-style="{fontSize:'14px'}"></u-input>
|
|
|
<u-select mode="single-column" :list="totalitem.agreement" value-name="id"
|
|
|
label-name="agreementName" v-model="totalitem.selectShow"
|
|
|
@confirm="val=>selectConfirm(val,totalindex)"></u-select>
|
|
|
</u-form-item>
|
|
|
+ <u-button v-if="totalitem.namesimple == '紫金财险'" size="mini " type="warning"
|
|
|
+ :hair-line="false" @click="zijinPopupshow=true"
|
|
|
+ style="margin-left: 10px;">意外险选择</u-button>
|
|
|
</view>
|
|
|
<template
|
|
|
v-if="totalitem.namesimple == '中国人寿' && totalitem.checked && totalitem.agreementId && renshouaccidentalDrivingVo.id">
|
|
|
<view class="accident-style dis f-c ">
|
|
|
<view class=" accident-ins dis a-c j-s">
|
|
|
<u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
|
|
|
- @change="RScheckboxChange($event,totalindex)"
|
|
|
+ @change="checkboxChangeInfo($event,totalindex)"
|
|
|
active-color="rgb(255, 170, 0)"></u-checkbox>
|
|
|
<view class=" dis a-c j-s " @click="renshouPopupshow=true">
|
|
|
<text
|
|
@@ -172,10 +177,47 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class=" dis j-s a-c">
|
|
|
- <text style="font-size: 14px;">份数:</text>
|
|
|
- <u-number-box v-model="renshouaccidentalDrivingVo.quantity" :min="1"
|
|
|
- :max="100" :input-width="70" :input-height="44"
|
|
|
- size="26"></u-number-box>
|
|
|
+ <view class="">
|
|
|
+ <text style="font-size: 14px;">保费:</text>
|
|
|
+ <text
|
|
|
+ style="font-size: 14px;color: #ee7000;">{{renshouaccidentalDrivingVo.totalPremium*renshouaccidentalDrivingVo.quantity}}元</text>
|
|
|
+ </view>
|
|
|
+ <view class="">
|
|
|
+ <text style="font-size: 14px;">份数:</text>
|
|
|
+ <u-number-box v-model="renshouaccidentalDrivingVo.quantity" :min="1"
|
|
|
+ :max="100" :input-width="70" :input-height="44"
|
|
|
+ size="26"></u-number-box>
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+ <template
|
|
|
+ v-if="totalitem.namesimple == '紫金财险' && totalitem.checked && totalitem.agreementId ">
|
|
|
+ <text style="font-weight: bold;font-size: 12px;"
|
|
|
+ v-if="zijinaccidentalDrivingVo.length>0">意外险信息</text>
|
|
|
+ <view class="accident-style dis f-c "
|
|
|
+ v-for="(item,index) in zijinaccidentalDrivingVo">
|
|
|
+ <view class=" accident-ins dis a-c j-s">
|
|
|
+
|
|
|
+ <view class=" dis a-c j-s ">
|
|
|
+ <text style="font-size: 14px;">{{item.projectName}}</text>
|
|
|
+ <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class=" dis j-s a-c">
|
|
|
+ <view class="">
|
|
|
+ <text style="font-size: 14px;">保费:</text>
|
|
|
+ <text
|
|
|
+ style="font-size: 14px;color: #ee7000;">{{item.sumPremium*item.quantity}}元</text>
|
|
|
+ </view>
|
|
|
+ <view class="">
|
|
|
+ <text style="font-size: 14px;">份数:</text>
|
|
|
+ <u-number-box v-model="item.quantity" :min="1" :max="item.maxQuantity"
|
|
|
+ :disabled-input="item.maxQuantity==1?true :false" :input-width="70"
|
|
|
+ :input-height="44" size="26"></u-number-box>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -184,7 +226,7 @@
|
|
|
<view class="accident-style dis f-c ">
|
|
|
<view class=" accident-ins dis a-c j-s">
|
|
|
<u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
|
|
|
- @change="HBcheckboxChange($event,totalindex)"
|
|
|
+ @change="checkboxChangeInfo($event,totalindex)"
|
|
|
active-color="rgb(255, 170, 0)"></u-checkbox>
|
|
|
<view class=" dis a-c j-s " @click="hengbangPopupshow=true">
|
|
|
<text
|
|
@@ -193,10 +235,18 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class=" dis j-s a-c">
|
|
|
- <text style="font-size: 14px;">份数:</text>
|
|
|
- <u-number-box v-model="hengbangaccidentalDrivingVo.quantity" :min="1"
|
|
|
- :max="100" :input-width="70" :input-height="44"
|
|
|
- size="26"></u-number-box>
|
|
|
+ <view class="">
|
|
|
+ <text style="font-size: 14px;">保费:</text>
|
|
|
+ <text
|
|
|
+ style="font-size: 14px;color: #ee7000;">{{hengbangaccidentalDrivingVo.sumgrosspremium*hengbangaccidentalDrivingVo.quantity}}元</text>
|
|
|
+ </view>
|
|
|
+ <view class="">
|
|
|
+ <text style="font-size: 14px;">份数:</text>
|
|
|
+ <u-number-box v-model="hengbangaccidentalDrivingVo.quantity" :min="1"
|
|
|
+ :max="100" :input-width="70" :input-height="44"
|
|
|
+ size="26"></u-number-box>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -205,7 +255,7 @@
|
|
|
<view class="accident-style dis f-c ">
|
|
|
<view class=" accident-ins dis a-c j-s">
|
|
|
<u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
|
|
|
- @change="ZAcheckboxChange($event,totalindex)"
|
|
|
+ @change="checkboxChangeInfo($event,totalindex)"
|
|
|
active-color="rgb(255, 170, 0)"></u-checkbox>
|
|
|
<view class=" dis a-c j-s " @click="zhonganPopupshow=true">
|
|
|
<text
|
|
@@ -221,6 +271,66 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
|
+ <template
|
|
|
+ v-if="totalitem.namesimple == '永诚财险' && totalitem.checked && totalitem.agreementId && yongchengaccidentalDrivingVo.rideRiskCode">
|
|
|
+ <view class="accident-style dis f-c ">
|
|
|
+ <view class=" accident-ins dis a-c j-s">
|
|
|
+ <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
|
|
|
+ @change="checkboxChangeInfo($event,totalindex)"
|
|
|
+ active-color="rgb(255, 170, 0)"></u-checkbox>
|
|
|
+ <view class=" dis a-c j-s " @click="yongchengPopupshow=true">
|
|
|
+ <text
|
|
|
+ style="font-size: 14px;">{{yongchengaccidentalDrivingVo.rideRiskName}}</text>
|
|
|
+ <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class=" dis j-s a-c">
|
|
|
+ <view class="">
|
|
|
+ <text style="font-size: 14px;">保费:</text>
|
|
|
+ <text
|
|
|
+ style="font-size: 14px;color: #ee7000;">{{yongchengaccidentalDrivingVo.premium*yongchengaccidentalDrivingVo.quantity}}元</text>
|
|
|
+ </view>
|
|
|
+ <view class="">
|
|
|
+ <text style="font-size: 14px;">份数:</text>
|
|
|
+ <u-number-box v-model="yongchengaccidentalDrivingVo.quantity" :min="1"
|
|
|
+ :max="100" :input-width="70" :input-height="44"
|
|
|
+ size="26"></u-number-box>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+ <template
|
|
|
+ v-if="totalitem.namesimple == '安盛天平' && totalitem.checked && totalitem.agreementId && anshengaccidentalDrivingVo.planCode">
|
|
|
+ <view class="accident-style dis f-c ">
|
|
|
+ <view class=" accident-ins dis a-c j-s">
|
|
|
+ <text style="font-size: 14px;">分类</text>
|
|
|
+ <view class=" dis a-c j-s " @click="anshengPopupshow=true">
|
|
|
+ <text
|
|
|
+ style="font-size: 14px;">{{anshengaccidentalDrivingVo.planChineseName}}</text>
|
|
|
+ <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <template v-if="anshengInsuranceData.length>0">
|
|
|
+ <view class=" accident-ins dis a-c j-s">
|
|
|
+ <u-checkbox shape="circle" size="30" v-model="totalitem.jychecked"
|
|
|
+ @change="checkboxChangeInfo($event,totalindex)"
|
|
|
+ active-color="rgb(255, 170, 0)"></u-checkbox>
|
|
|
+ <view class=" dis a-c j-s " @click="anshengPopupshow1=true">
|
|
|
+ <text
|
|
|
+ style="font-size: 14px;">{{anshengaccidentalDrivingVo.productName}}</text>
|
|
|
+ <u-icon name="arrow-right" style="color: #999;" size="24"></u-icon>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class=" dis j-s a-c">
|
|
|
+ <text style="font-size: 14px;">份数:</text>
|
|
|
+ <u-number-box v-model="anshengaccidentalDrivingVo.quantity" :min="1"
|
|
|
+ :max="100" :input-width="70" :input-height="44"
|
|
|
+ size="26"></u-number-box>
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ </view>
|
|
|
+ </template>
|
|
|
<view v-show="totalitem.quoteCode==200" class="dis j-end"
|
|
|
style="border-top: 1px solid #f2f2f2;padding: 10px 0;">
|
|
|
<u-button v-if="totalitem.lastYearMsg" size="mini " type="warning"
|
|
@@ -282,6 +392,45 @@
|
|
|
</u-radio-group>
|
|
|
</view>
|
|
|
</u-popup>
|
|
|
+ <u-popup v-model="yongchengPopupshow" mode="center" width="50%" border-radius="10">
|
|
|
+ <view class="popContent dis f-c a-c">
|
|
|
+ <u-radio-group v-model="popupvalue" size="30" active-color="rgb(255, 170, 0)">
|
|
|
+ <u-radio style="margin: 4px 0;flex: auto;" @change="YCradioChange"
|
|
|
+ v-for="(item, index) in yongchengInsuranceData" :key="index" :name="item.id">
|
|
|
+ {{item.name}}
|
|
|
+ </u-radio>
|
|
|
+ </u-radio-group>
|
|
|
+ </view>
|
|
|
+ </u-popup>
|
|
|
+ <u-popup v-model="anshengPopupshow" mode="center" width="70%" border-radius="10">
|
|
|
+ <view class="popContent dis f-c a-c">
|
|
|
+ <u-radio-group v-model="popupvalue" size="30" active-color="rgb(255, 170, 0)">
|
|
|
+ <u-radio style="margin: 4px 0;flex: auto;" @change="ASprogrammeradioChange"
|
|
|
+ v-for="(item, index) in anshengprogrammeData" :key="index" :name="item.planCode">
|
|
|
+ {{item.planChineseName}}
|
|
|
+ </u-radio>
|
|
|
+ </u-radio-group>
|
|
|
+ </view>
|
|
|
+ </u-popup>
|
|
|
+ <u-popup v-model="anshengPopupshow1" mode="center" width="70%" border-radius="10">
|
|
|
+ <view class="popContent dis f-c a-c">
|
|
|
+ <u-radio-group v-model="popupvalue" size="30" active-color="rgb(255, 170, 0)">
|
|
|
+ <u-radio style="margin: 4px 0;flex: auto;" @change="ASInsuranceradioChange"
|
|
|
+ v-for="(item, index) in anshengInsuranceData" :key="index" :name="item.productCode">
|
|
|
+ {{item.productName}}
|
|
|
+ </u-radio>
|
|
|
+ </u-radio-group>
|
|
|
+ </view>
|
|
|
+ </u-popup>
|
|
|
+ <u-modal v-model="zijinPopupshow" title="意外险">
|
|
|
+ <view class="slot-content">
|
|
|
+ <u-checkbox-group @change="ZJcheckboxGroupChange">
|
|
|
+ <u-checkbox style="margin: 4px 0;flex: auto;" v-model="item.checked" active-color="rgb(255, 153, 0)"
|
|
|
+ v-for="(item, index) in zijinInsuranceData" :key="index"
|
|
|
+ :name="item.projectCode">{{item.projectName}}</u-checkbox>
|
|
|
+ </u-checkbox-group>
|
|
|
+ </view>
|
|
|
+ </u-modal>
|
|
|
<view class="infoBottom d-flex a-center j-center j-sb">
|
|
|
<button type="default" class="d-flex a-center j-center" @tap="toNext">保费计算</button>
|
|
|
</view>
|
|
@@ -324,6 +473,17 @@
|
|
|
minute: true, //分
|
|
|
second: true, //秒
|
|
|
},
|
|
|
+ zijinPopupshow: false,
|
|
|
+ zijinInsuranceData: [], //紫金意外险list
|
|
|
+ zijinaccidentalDrivingVo: [], //紫金意外险
|
|
|
+ anshengPopupshow: false,
|
|
|
+ anshengPopupshow1: false,
|
|
|
+ anshengprogrammeData: [],
|
|
|
+ anshengInsuranceData: [], //安盛意外险list
|
|
|
+ anshengaccidentalDrivingVo: {}, //安盛意外险
|
|
|
+ yongchengPopupshow: false,
|
|
|
+ yongchengInsuranceData: [], //永诚意外险list
|
|
|
+ yongchengaccidentalDrivingVo: {}, //永诚意外险
|
|
|
zhonganPopupshow: false,
|
|
|
zhonganInsuranceData: [], //-众安意外险list
|
|
|
zhonganaccidentalDrivingVo: {}, //众安意外险
|
|
@@ -920,6 +1080,7 @@
|
|
|
jqstartconfirm(e) {
|
|
|
this.jqstartDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
|
|
|
this.jqendDate = this.oneYearPast(this.jqstartDate)
|
|
|
+
|
|
|
},
|
|
|
jqendconfirm(e) {
|
|
|
this.jqendDate = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + e.second;
|
|
@@ -1042,16 +1203,70 @@
|
|
|
.agreementName;
|
|
|
this.totalCompanyList[index].apiType = this.totalCompanyList[index].agreement[0].extra;
|
|
|
switch (ins) {
|
|
|
- case '安盛天平':
|
|
|
-
|
|
|
- break;
|
|
|
case '永诚财险':
|
|
|
+ let ycres = await this.$http.post('/api/yongCheng/gainAccidentList', {
|
|
|
+ agreementId: this.totalCompanyList[index].agreement[0].id,
|
|
|
+ companyCode: code
|
|
|
+ });
|
|
|
+ if (ycres.code == '200') {
|
|
|
+ let data = ycres.data;
|
|
|
+ data.map(ele => {
|
|
|
+ ele.quantity = 1;
|
|
|
+ return ele;
|
|
|
+ })
|
|
|
+ this.yongchengInsuranceData = data;
|
|
|
+ this.yongchengaccidentalDrivingVo = {
|
|
|
+ rideRiskCode: data[0].code,
|
|
|
+ rideRiskName: data[0].name,
|
|
|
+ quantity: data[0].quantity,
|
|
|
+ premium: data[0].premium,
|
|
|
+ };
|
|
|
+ }
|
|
|
break;
|
|
|
case '紫金财险':
|
|
|
+ let zjres = await this.$http.post('/order/zijin/queryVehicleProducts', {
|
|
|
+ agreementId: this.totalCompanyList[index].agreement[0].id,
|
|
|
+ seatCount: Number(this.carInfo.seatCount)
|
|
|
+ });
|
|
|
+ if (zjres.code == '200') {
|
|
|
+ let data = zjres.data;
|
|
|
+ data.map(ele => {
|
|
|
+ ele.quantity = 1;
|
|
|
+ return ele;
|
|
|
+ })
|
|
|
+ this.zijinInsuranceData = data;
|
|
|
+
|
|
|
+ }
|
|
|
+ break;
|
|
|
+ case '安盛天平':
|
|
|
+ let asres = await this.$http.post('/insurance/crawler/getDrivingInsurance', {
|
|
|
+ agreementId: this.totalCompanyList[index].agreement[0].id
|
|
|
+ });
|
|
|
+ if (asres.code == '200') {
|
|
|
+ let data = asres.data;
|
|
|
+ data.map(ele => {
|
|
|
+ ele.departmentProductList.map(val => {
|
|
|
+ val.quantity = 1;
|
|
|
+ })
|
|
|
+ return ele;
|
|
|
+ })
|
|
|
+ this.anshengprogrammeData = data;
|
|
|
+ this.anshengInsuranceData = data[0].departmentProductList;
|
|
|
+ this.anshengaccidentalDrivingVo = {
|
|
|
+ personFlag: data[0].personFlag,
|
|
|
+ planChineseName: data[0].planChineseName,
|
|
|
+ planCode: data[0].planCode,
|
|
|
+ planSeries: data[0].planSeries,
|
|
|
+ productCode: data[0].departmentProductList[0].productCode,
|
|
|
+ productName: data[0].departmentProductList[0].productName,
|
|
|
+ quantity: data[0].departmentProductList[0].quantity
|
|
|
+ }
|
|
|
+ }
|
|
|
break;
|
|
|
case '中国人寿':
|
|
|
case '恒邦财险':
|
|
|
case '众安财险':
|
|
|
+
|
|
|
let Insuranceres = await this.$http.post('/insurance/crawler/getDrivingInsurance', {
|
|
|
agreementId: this.totalCompanyList[index].agreement[0].id
|
|
|
});
|
|
@@ -1071,33 +1286,55 @@
|
|
|
} else {}
|
|
|
},
|
|
|
//驾意险勾选框
|
|
|
- RScheckboxChange(event, index) {
|
|
|
- this.totalCompanyList[index].jychecked = event.value;
|
|
|
- },
|
|
|
- //驾意险勾选框
|
|
|
- HBcheckboxChange(event, index) {
|
|
|
- this.totalCompanyList[index].jychecked = event.value;
|
|
|
- },
|
|
|
- //驾意险勾选框
|
|
|
- ZAcheckboxChange(event, index) {
|
|
|
+ checkboxChangeInfo(event, index) {
|
|
|
this.totalCompanyList[index].jychecked = event.value;
|
|
|
},
|
|
|
- //驾意险选择
|
|
|
+
|
|
|
+ //人寿意外险
|
|
|
RSradioChange(id) {
|
|
|
this.renshouaccidentalDrivingVo = this.renshouInsuranceData.find(val => val.id == id)
|
|
|
this.renshouPopupshow = false;
|
|
|
},
|
|
|
- //驾意险选择
|
|
|
+ //恒邦意外险
|
|
|
HBradioChange(id) {
|
|
|
- this.renshouaccidentalDrivingVo = this.hengbangInsuranceData.find(val => val.programcode == id)
|
|
|
+ this.hengbangaccidentalDrivingVo = this.hengbangInsuranceData.find(val => val.programcode == id)
|
|
|
this.hengbangPopupshow = false;
|
|
|
},
|
|
|
- //驾意险选择
|
|
|
+ //众安意外险
|
|
|
ZAradioChange(id) {
|
|
|
this.zhonganaccidentalDrivingVo = this.zhonganInsuranceData.find(val => val.combination == id)
|
|
|
- console.log(this.zhonganaccidentalDrivingVo)
|
|
|
this.zhonganPopupshow = false;
|
|
|
},
|
|
|
+ //永诚意外险
|
|
|
+ YCradioChange(id) {
|
|
|
+ let info = this.yongchengInsuranceData.find(val => val.id == id)
|
|
|
+ this.yongchengaccidentalDrivingVo.rideRiskCode = info.code;
|
|
|
+ this.yongchengaccidentalDrivingVo.rideRiskName = info.name;
|
|
|
+ this.yongchengaccidentalDrivingVo.quantity = info.quantity;
|
|
|
+ this.yongchengaccidentalDrivingVo.premium = info.premium;
|
|
|
+ this.yongchengPopupshow = false;
|
|
|
+ },
|
|
|
+ //安盛一级选择
|
|
|
+ ASprogrammeradioChange(id) {
|
|
|
+ let info = this.anshengprogrammeData.find((val => val.planCode == id))
|
|
|
+ this.anshengPopupshow = false;
|
|
|
+ this.anshengInsuranceData = info.departmentProductList;
|
|
|
+ Object.assign(this.anshengaccidentalDrivingVo, info.departmentProductList[0]);
|
|
|
+ },
|
|
|
+ //安盛二级选择
|
|
|
+ ASInsuranceradioChange(id) {
|
|
|
+ let info = this.anshengInsuranceData.find((val => val.productCode == id))
|
|
|
+ Object.assign(this.anshengaccidentalDrivingVo, info);
|
|
|
+ this.anshengPopupshow1 = false;
|
|
|
+ },
|
|
|
+ //紫金意外险
|
|
|
+ ZJcheckboxGroupChange(detail) {
|
|
|
+ this.zijinaccidentalDrivingVo = [];
|
|
|
+ detail.map(val => {
|
|
|
+ let list = this.zijinInsuranceData.find(item => item.projectCode == val)
|
|
|
+ this.zijinaccidentalDrivingVo.push(list)
|
|
|
+ })
|
|
|
+ },
|
|
|
//获取保险公司列表
|
|
|
async commpanyList() {
|
|
|
let commpanykad = await this.$http.get('/insurance/order/getAgreementInsCompany');
|
|
@@ -1136,6 +1373,15 @@
|
|
|
quoteNo: this.quoteno,
|
|
|
})
|
|
|
}
|
|
|
+ this.riskList.map(val => {
|
|
|
+ if (val.riskCode == '0507') {
|
|
|
+ val.startDate = this.jqstartDate;
|
|
|
+ val.endDate = this.jqendDate;
|
|
|
+ } else if (val.riskCode == '0510') {
|
|
|
+ val.startDate = this.systartDate;
|
|
|
+ val.endDate = this.syendDate;
|
|
|
+ }
|
|
|
+ })
|
|
|
let param = {
|
|
|
userId: this.userInfo.sysUser.id,
|
|
|
quoteno: this.quoteno,
|
|
@@ -1282,19 +1528,9 @@
|
|
|
},
|
|
|
//永诚报价
|
|
|
async yongcheng(num, id) {
|
|
|
- let accidentalDrivingVo = {};
|
|
|
- if (this.accidentForm.id) {
|
|
|
- let data = this.accidentDataList.find(
|
|
|
- val => val.id == this.accidentForm.accidentType
|
|
|
- );
|
|
|
- accidentalDrivingVo = {
|
|
|
- rideRiskCode: data.code ? data.code : "",
|
|
|
- rideRiskName: data.name ? data.name : "",
|
|
|
- quantity: this.accidentForm.fen ? this.accidentForm.fen : ""
|
|
|
- };
|
|
|
- }
|
|
|
+ let jychecked = this.totalCompanyList[num].jychecked
|
|
|
let params = {
|
|
|
- accidentalDrivingVo,
|
|
|
+ accidentalDrivingVo: jychecked ? this.yongchengaccidentalDrivingVo : {},
|
|
|
orderNo: this.orderno,
|
|
|
companyId: id,
|
|
|
cqryCdeJq: this.cqryCdeJq,
|
|
@@ -1340,7 +1576,7 @@
|
|
|
//紫金报价
|
|
|
async zijin(num, id) {
|
|
|
let params = {
|
|
|
- accidentalDrivingVo: this.zjaccidentalDrivingVo,
|
|
|
+ accidentalDrivingVo: this.zijinaccidentalDrivingVo,
|
|
|
orderNo: this.orderno,
|
|
|
companyId: id,
|
|
|
agreementId: this.totalCompanyList[num].agreementId,
|
|
@@ -1411,7 +1647,6 @@
|
|
|
let api = apiType === 2 ? "/insurance/crawler/quote" : "anshengquote";
|
|
|
let ccidenttype = this.totalCompanyList[num].cnName;
|
|
|
let namesimple = this.totalCompanyList[num].namesimple;
|
|
|
- console.log(jychecked, ccidenttype)
|
|
|
let params = {
|
|
|
orderNo: this.orderno,
|
|
|
companyId: id,
|
|
@@ -2159,6 +2394,11 @@
|
|
|
margin: 0upx 30upx;
|
|
|
}
|
|
|
|
|
|
+ .slot-content {
|
|
|
+ padding: 10px;
|
|
|
+ height: 300px;
|
|
|
+ overflow-y: auto;
|
|
|
+ }
|
|
|
|
|
|
/* 查看详情按钮End */
|
|
|
</style>
|