|
|
@@ -1094,18 +1094,18 @@
|
|
|
<div class="flex f-c Driving-risk">
|
|
|
<div class="dis a-c" style="margin-top:15px">
|
|
|
<span style="margin-right:15px;font-weight:bold;">意外险类型</span>
|
|
|
- <el-select style="width: 250px;" size="small" clearable v-model="anshengInsurancetype" placeholder="未选择"
|
|
|
+ <el-select style="width: 250px;" size="small" clearable v-model="anshengtemplateSelection" placeholder="未选择"
|
|
|
@clear="clearAccidentFormAS" @change="anshengInsuranceChange">
|
|
|
<el-option v-for="(item, index) in anshengInsuranceData" :key="index"
|
|
|
:label="item.projectCode + ' ' + item.projectName" :value="item.projectCode"></el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
- <el-table style='margin-top:20px;' size="small" :data="anshengInsuranceData1" border v-if="anshengInsurancetype" ref="RsTable"
|
|
|
+ <el-table style='margin-top:20px;' size="small" :data="anshengInsuranceData1" border v-if="anshengtemplateSelection" ref="RsTable"
|
|
|
highlight-current-row
|
|
|
:header-cell-style="{ background: '#F7F7F9 ', fontWeight: '700', color: '#333333' }">
|
|
|
<el-table-column align="center" width="55" label="选择">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-radio class="radio" v-model="AStemplateSelection" :label="scope.row.projectCode"
|
|
|
+ <el-radio class="radio" v-model="anshengInsurancetype" :label="scope.row.projectCode"
|
|
|
@click.native.stop.prevent="ASDrivingRadio(scope.row)"> </el-radio>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -1152,14 +1152,14 @@
|
|
|
<div class="flex f-c Driving-risk">
|
|
|
<div class="dis a-c" style="margin:15px 0">
|
|
|
<span style="margin-right:15px;font-weight:bold">选择意外险</span>
|
|
|
- <el-select style="width: 250px;" filterable size="small" clearable v-model="insuranceZA"
|
|
|
+ <el-select style="width: 250px;" filterable size="small" clearable v-model="zhongantemplateSelection"
|
|
|
placeholder="未选择" @clear="clearAccidentFormZA" @change="zhonganInsuranceChange">
|
|
|
<el-option v-for="(item, index) in zhonganInsuranceData" :key="index" :label="item.projectName"
|
|
|
:value="item.projectCode"></el-option>
|
|
|
</el-select>
|
|
|
<!-- 保费: <b>{{ zhonganaccidentalDrivingVo.sumgrosspremium || 0}} 元</b> -->
|
|
|
</div>
|
|
|
- <el-table size="small" :data="ZRInsuranceData" border v-if="insuranceZA" @row-click="ZADrivingChange"
|
|
|
+ <el-table size="small" :data="ZRInsuranceData" border v-if="zhongantemplateSelection" @row-click="ZADrivingChange"
|
|
|
ref="RsTable" highlight-current-row
|
|
|
:header-cell-style="{ background: '#F7F7F9 ', fontWeight: '700', color: '#333333' }">
|
|
|
<el-table-column prop="name" label="险种名称" align="center"></el-table-column>
|
|
|
@@ -2236,13 +2236,12 @@ export default {
|
|
|
isRetractZA: false,
|
|
|
isRetractYC: false,
|
|
|
isRetractRS: false,
|
|
|
- templateSelection: "",
|
|
|
- AStemplateSelection: "",
|
|
|
+ anshengInsurancetype: "",
|
|
|
iscCrownerShow: false,
|
|
|
isApplicantShow: false,
|
|
|
isInsuredShow: false,
|
|
|
formInline: {},
|
|
|
- anshengInsurancetype: "", //安盛
|
|
|
+ anshengtemplateSelection: "", //安盛
|
|
|
anshengInsuranceData: [], //安盛驾意险
|
|
|
anshengInsuranceData1: [], //安盛驾意险
|
|
|
anshengaccidentalDrivingVo: {}, //安盛驾意险
|
|
|
@@ -2268,7 +2267,7 @@ export default {
|
|
|
// ------------紫金意外险
|
|
|
insuranceRS: "", //人寿
|
|
|
RSInsuranceData: [],
|
|
|
- insuranceZA: "", //众安
|
|
|
+ zhongantemplateSelection: "", //众安
|
|
|
ZRInsuranceData: [],
|
|
|
insuranceTP: "", //太平
|
|
|
taipingInsuranceData: [], //太平驾意险
|
|
|
@@ -4491,6 +4490,7 @@ export default {
|
|
|
ele.quantity = 1;
|
|
|
return ele;
|
|
|
});
|
|
|
+ // this.nonVehicle(res.data,item.cnName)
|
|
|
this[item.cnName + "InsuranceData"] = res.data;
|
|
|
break;
|
|
|
}
|
|
|
@@ -4609,7 +4609,7 @@ export default {
|
|
|
},
|
|
|
nonVehicle(data,type){
|
|
|
if( data.some(e=>e.isDefault)){
|
|
|
- this[type]=res.data.find(ele=>ele.isDefault).projectCode
|
|
|
+ this[type + "templateSelection"]=data.find(ele=>ele.isDefault).projectCode
|
|
|
}
|
|
|
},
|
|
|
CheckboxChange(select, row) {
|
|
|
@@ -4641,7 +4641,7 @@ export default {
|
|
|
},
|
|
|
//安盛驾意险选择
|
|
|
ASDrivingRadio(row) {
|
|
|
- this.AStemplateSelection = row.projectCode;
|
|
|
+ this.anshengInsurancetype = row.projectCode;
|
|
|
this.anshengaccidentalDrivingVo=Object.assign({...row,...this.anshengaccidentalDrivingVo})
|
|
|
// this.anshengaccidentalDrivingVo.projectCode = row.projectCode;
|
|
|
// this.anshengaccidentalDrivingVo.projectName = row.projectName;
|
|
|
@@ -8168,7 +8168,7 @@ export default {
|
|
|
|
|
|
// 清空保险公司选中的意外险
|
|
|
this.insuranceZJ = "";
|
|
|
- this.insuranceZA = "";
|
|
|
+ this.zhongantemplateSelection = "";
|
|
|
this.insuranceHB = "";
|
|
|
this.insuranceTP = "";
|
|
|
this.insuranceHN = "";
|