|
|
@@ -3223,8 +3223,12 @@ export default {
|
|
|
},
|
|
|
//更新报价历史
|
|
|
QuotationHistory() {
|
|
|
- this.$api.letter.getByOrderNo({ orderNo: this.orderno }).then(res => {
|
|
|
- this.HistoryList = res.data.insAreaCompanyList;
|
|
|
+ let params = {
|
|
|
+ orderNo: this.orderno,
|
|
|
+ orderStatus: ""
|
|
|
+ };
|
|
|
+ this.$api.letter.queryQuoteHistory(params).then(res => {
|
|
|
+ this.HistoryList = res.data;
|
|
|
});
|
|
|
},
|
|
|
open2(Name, Msg) {
|
|
|
@@ -3571,6 +3575,7 @@ export default {
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.QuotationHistory();
|
|
|
} else if (res.code == "101") {
|
|
|
this.totalCompanyList[num].quoteCode = "101";
|
|
|
this.totalCompanyList[num].msg = res.msg;
|
|
|
@@ -3660,6 +3665,7 @@ export default {
|
|
|
} else if (res.code == "200") {
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.QuotationHistory();
|
|
|
} else if (res.code == "101") {
|
|
|
this.totalCompanyList[num].quoteCode = "101";
|
|
|
this.totalCompanyList[num].msg = res.msg;
|
|
|
@@ -4056,6 +4062,7 @@ export default {
|
|
|
message: "核保成功",
|
|
|
type: "success"
|
|
|
});
|
|
|
+ this.QuotationHistory();
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
@@ -4102,6 +4109,7 @@ export default {
|
|
|
message: "核保成功",
|
|
|
type: "success"
|
|
|
});
|
|
|
+ this.QuotationHistory();
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
@@ -4149,6 +4157,7 @@ export default {
|
|
|
message: "核保成功",
|
|
|
type: "success"
|
|
|
});
|
|
|
+ this.QuotationHistory();
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
@@ -4176,9 +4185,6 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
break;
|
|
|
- case "恒邦财险":
|
|
|
- case "安盛天平":
|
|
|
- case "众安财险":
|
|
|
case "国任财险":
|
|
|
await this.$api.letter
|
|
|
.insguorensubmitImage({
|
|
|
@@ -4202,6 +4208,7 @@ export default {
|
|
|
message: "核保成功",
|
|
|
type: "success"
|
|
|
});
|
|
|
+ this.QuotationHistory();
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
@@ -4226,6 +4233,9 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
break;
|
|
|
+ case "恒邦财险":
|
|
|
+ case "安盛天平":
|
|
|
+ case "众安财险":
|
|
|
case "中国人寿":
|
|
|
let hengbangapi = "";
|
|
|
hengbangapi = this.apiType == 2 ? "pythonsubmitImage" : "anshengsubmitImage"
|
|
|
@@ -4248,6 +4258,7 @@ export default {
|
|
|
message: "核保成功",
|
|
|
type: "success"
|
|
|
});
|
|
|
+ this.QuotationHistory();
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
@@ -4295,6 +4306,7 @@ export default {
|
|
|
message: "核保成功",
|
|
|
type: "success"
|
|
|
});
|
|
|
+ this.QuotationHistory();
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
@@ -4459,7 +4471,7 @@ export default {
|
|
|
default:
|
|
|
for (let key in this.policyHolderInfo) {
|
|
|
this.policyHolderInfo[key] = "";
|
|
|
- this.selectedOptions2=[];
|
|
|
+ this.selectedOptions2 = [];
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -4473,7 +4485,7 @@ export default {
|
|
|
default:
|
|
|
for (let key in this.insuredPersonInfo) {
|
|
|
this.insuredPersonInfo[key] = "";
|
|
|
- this.selectedOptions3=[];
|
|
|
+ this.selectedOptions3 = [];
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -5021,9 +5033,9 @@ export default {
|
|
|
this.imgList3 = [];
|
|
|
this.imgList4 = [];
|
|
|
this.imgList5 = [];
|
|
|
- this.selectedOptions1=[];
|
|
|
- this.selectedOptions2=[];
|
|
|
- this.selectedOptions3=[];
|
|
|
+ this.selectedOptions1 = [];
|
|
|
+ this.selectedOptions2 = [];
|
|
|
+ this.selectedOptions3 = [];
|
|
|
this.orderno = "";
|
|
|
this.quoteno = "";
|
|
|
this.jqstartDate = this.transformTime1();
|