|
|
@@ -944,7 +944,7 @@
|
|
|
<h3>意外险信息</h3>
|
|
|
<div class="dis a-c " style="margin-bottom:15px">
|
|
|
<span style="margin-right:15px;color:#606266;">选择意外险:</span>
|
|
|
- <el-select style="width: 250px;" filterable size="small" clearable v-model="insuranceZJ" placeholder="选择类型" @clear="clearAccidentFormZJ"
|
|
|
+ <el-select style="width: 250px;" filterable multiple size="small" clearable v-model="insuranceZJ" placeholder="选择类型" @clear="clearAccidentFormZJ"
|
|
|
@change="zijinInsuranceChange">
|
|
|
<el-option v-for="(item, index) in ziJinInsuranceData" :key="index" :label="item.projectName"
|
|
|
:value="item.projectCode"></el-option>
|
|
|
@@ -3678,18 +3678,40 @@ export default {
|
|
|
this.anshengaccidentalDrivingVo.planSeries=data.planSeries;
|
|
|
this.anshengInsuranceData1=[];
|
|
|
this.anshengInsuranceData1=data.departmentProductList;
|
|
|
+ if(this.anshengInsuranceData1.length){
|
|
|
+ this.ASDrivingChange(this.anshengInsuranceData1[0])
|
|
|
+ }
|
|
|
},
|
|
|
hengbangInsuranceChange(index){
|
|
|
this.HBInsuranceData=[(this.hengbangInsuranceData).find(val=>val.programcode==index)]
|
|
|
+ if(this.HBInsuranceData.length){
|
|
|
+ this.HBDrivingChange(this.HBInsuranceData[0])
|
|
|
+ }
|
|
|
},
|
|
|
zijinInsuranceChange(index){
|
|
|
- this.ZJInsuranceData=[(this.ziJinInsuranceData).find(val=>val.projectCode==index)]
|
|
|
+ this.ZJInsuranceData=[]
|
|
|
+ this.$refs.expandTable[0].clearSelection()
|
|
|
+ index.forEach(item=>{
|
|
|
+ this.ZJInsuranceData.push((this.ziJinInsuranceData).find(val=>val.projectCode==item))
|
|
|
+ })
|
|
|
+ this.ZJInsuranceData.forEach(item=>{
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.$refs.expandTable[0].toggleRowSelection(item);
|
|
|
+ })
|
|
|
+ })
|
|
|
+ this.CheckboxChange(this.ZJInsuranceData)
|
|
|
},
|
|
|
renshouInsuranceChange(index){
|
|
|
this.RSInsuranceData=[(this.renshouInsuranceData).find(val=>val.id==index)]
|
|
|
+ if(index){
|
|
|
+ this.RSDrivingChange(this.RSInsuranceData[0])
|
|
|
+ }
|
|
|
},
|
|
|
zhonganInsuranceChange(index){
|
|
|
this.ZRInsuranceData=[(this.zhonganInsuranceData).find(val=>val.combination==index)]
|
|
|
+ if(index){
|
|
|
+ this.ZADrivingChange(this.ZRInsuranceData[0])
|
|
|
+ }
|
|
|
},
|
|
|
// 选择意外险类型
|
|
|
async ywxxxchange(index) {
|
|
|
@@ -3862,7 +3884,6 @@ export default {
|
|
|
this.HBtemplateSelection=row.programcode;
|
|
|
this.hengbangaccidentalDrivingVo=row;
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
//人寿驾意险选择
|
|
|
RSDrivingChange(row){
|
|
|
@@ -3873,7 +3894,6 @@ export default {
|
|
|
this.RStemplateSelection=row.id;
|
|
|
this.renshouaccidentalDrivingVo=row;
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
|
|
|
//安盛驾意险选择
|
|
|
@@ -3896,7 +3916,6 @@ export default {
|
|
|
this.ZAtemplateSelection=row.combination;
|
|
|
this.zhonganaccidentalDrivingVo=row;
|
|
|
}
|
|
|
-
|
|
|
},
|
|
|
RSDrivingRadio(row){
|
|
|
this.RSDrivingChange(row)
|
|
|
@@ -3912,7 +3931,6 @@ export default {
|
|
|
},
|
|
|
//紫金特约选择
|
|
|
zijinengageChange(select, row) {
|
|
|
- console.log(select,row)
|
|
|
this.zijinengageList = [];
|
|
|
select.map(val => {
|
|
|
this.zijinengageList.push({
|