|
|
@@ -4216,7 +4216,7 @@ export default {
|
|
|
// appnum:Number(list.appnum)
|
|
|
};
|
|
|
this.guoRenInsuranceDataTable = list.son;
|
|
|
- this.guoRenaccidentalDrivingVo=Object.assign({...list,...this.guoRenaccidentalDrivingVo})
|
|
|
+ this.guoRenaccidentalDrivingVo=Object.assign({...list,...this.guoRenaccidentalDrivingVo})
|
|
|
|
|
|
},
|
|
|
// 选择意外险类型
|
|
|
@@ -4442,7 +4442,8 @@ export default {
|
|
|
let selectRow = row.find(item => {
|
|
|
return item.id == val;
|
|
|
});
|
|
|
- this.totalCompanyList[index].apiType = obj.apiType;
|
|
|
+ let info=row.find(ele=>ele.id==val);
|
|
|
+ this.totalCompanyList[index].apiType = info.apiType;
|
|
|
this.totalCompanyList[index].underwritingDescription = val
|
|
|
? selectRow.underwritingDescription
|
|
|
: ""; //重新赋值修改选中协议承保描述
|
|
|
@@ -4648,7 +4649,7 @@ export default {
|
|
|
//安盛驾意险选择
|
|
|
ASDrivingRadio(row) {
|
|
|
this.anshengInsurancetype = row.projectCode;
|
|
|
- this.anshengaccidentalDrivingVo=Object.assign({...row,...this.anshengaccidentalDrivingVo})
|
|
|
+ this.anshengaccidentalDrivingVo=Object.assign({...row,...this.anshengaccidentalDrivingVo})
|
|
|
// this.anshengaccidentalDrivingVo.projectCode = row.projectCode;
|
|
|
// this.anshengaccidentalDrivingVo.projectName = row.projectName;
|
|
|
},
|
|
|
@@ -5687,15 +5688,16 @@ export default {
|
|
|
},
|
|
|
//华泰报价
|
|
|
huatai(num, id) {
|
|
|
+ let type=this.totalCompanyList[num].apiType;
|
|
|
+ let api = type == 2 ? "pythonquote" : "huataiquote";
|
|
|
let isTaxSource = this.totalCompanyList[num].isTaxSource;
|
|
|
let params = {
|
|
|
orderNo: this.orderno,
|
|
|
companyId: id,
|
|
|
agreementId: this.totalCompanyList[num].agreementId,
|
|
|
isTaxSource: isTaxSource == 1 ? isTaxSource : null,
|
|
|
-
|
|
|
};
|
|
|
- this.$api.letter.huataiquote(params).then(res => {
|
|
|
+ this.$api.letter[api](params).then(res => {
|
|
|
this.totalCompanyList[num].msg = res.msg;
|
|
|
if (!!res.msg && res.msg.indexOf("不存在有效协议") >= 0) {
|
|
|
this.totalCompanyList[num].quoteCode = "4";
|
|
|
@@ -6654,13 +6656,19 @@ export default {
|
|
|
});
|
|
|
break;
|
|
|
case "华泰财险":
|
|
|
- await this.$api.letter
|
|
|
- .insHuataisubmitImage({
|
|
|
+ let HtApiImage = "";
|
|
|
+ HtApiImage =
|
|
|
+ this.apiType == 2
|
|
|
+ ? "pythonsubmitImage"
|
|
|
+ : "insHuataisubmitImage";
|
|
|
+ await this.$api.letter[HtApiImage]({
|
|
|
companyId: this.companyId
|
|
|
})
|
|
|
.then(res => {
|
|
|
if (res.code == "200") {
|
|
|
var _this = this;
|
|
|
+ let HtApiaudit = "";
|
|
|
+ HtApiaudit = this.apiType == 2 ? "pythonaudit" : "yonganaudit";
|
|
|
let engageList = [];
|
|
|
this.zijinengageList.forEach(val => {
|
|
|
engageList.push({
|
|
|
@@ -6670,8 +6678,7 @@ export default {
|
|
|
riskCode: val.riskCode
|
|
|
});
|
|
|
});
|
|
|
- _this.$api.letter
|
|
|
- .huataiaudit({
|
|
|
+ _this.$api.letter[HtApiaudit]({
|
|
|
companyId: this.companyId,
|
|
|
engageList
|
|
|
})
|