|
|
@@ -5939,7 +5939,6 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
} else {
|
|
|
- console.log(3333333333333)
|
|
|
document.getElementById("toubaor").scrollIntoView();
|
|
|
_this.$message({ message: "请检查投保人信息", type: "warning" });
|
|
|
}
|
|
|
@@ -6218,7 +6217,6 @@ export default {
|
|
|
showTypeDialog(item, index) {
|
|
|
item.programme99.kinds.map(item=>{
|
|
|
const itemamtList=item.amtList.map(val=>{return val.label})
|
|
|
- console.log(itemamtList)
|
|
|
if(!itemamtList.includes('不投保')){
|
|
|
item.checked=true;
|
|
|
item.Required=true;
|
|
|
@@ -6302,8 +6300,13 @@ export default {
|
|
|
});
|
|
|
// _this.systartDate = ele.startDate;
|
|
|
// _this.syendDate = ele.endDate;
|
|
|
- _this.systartDate = this.transformTime1();
|
|
|
- _this.syendDate = this.oneYearPast1(this.systartDate);
|
|
|
+ if (new Date(ele.startDate).getTime() > new Date().getTime()) {
|
|
|
+ _this.systartDate = ele.startDate;
|
|
|
+ _this.syendDate = ele.endDate;
|
|
|
+ } else {
|
|
|
+ _this.systartDate = this.transformTime1();
|
|
|
+ _this.syendDate = this.oneYearPast1(this.systartDate);
|
|
|
+ }
|
|
|
_this.insureList.map((eleA) => {
|
|
|
paramsEdit.king.map((eleB) => {
|
|
|
if (eleA.kindCode == eleB.kindCode) {
|
|
|
@@ -7183,8 +7186,6 @@ export default {
|
|
|
},
|
|
|
// 回显
|
|
|
async obtainProtocol(data) {
|
|
|
- console.log(data)
|
|
|
- console.log(this.isLetter)
|
|
|
let res = {};
|
|
|
if (this.isLetter == "1") {
|
|
|
this.getCompanyList(data)
|
|
|
@@ -7735,7 +7736,6 @@ export default {
|
|
|
//勾选保险公司
|
|
|
initchange(e, code, name, index) {
|
|
|
if (e) {
|
|
|
- console.log(e, code, name, index)
|
|
|
console.log(this.totalCompanyList[index], 'this.totalCompanyList[index]')
|
|
|
this.totalCompanyList[index].checked = e;
|
|
|
this.getCompanyProgramme(e, code, name, index)
|
|
|
@@ -9098,6 +9098,10 @@ export default {
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
} else {
|
|
|
this.totalCompanyList[num].quoteCode = "3";
|
|
|
@@ -9226,6 +9230,10 @@ export default {
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
}
|
|
|
});
|
|
|
@@ -9327,6 +9335,10 @@ export default {
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
} else {
|
|
|
this.totalCompanyList[num].quoteCode = "3";
|
|
|
@@ -9412,6 +9424,10 @@ export default {
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
} else {
|
|
|
this.totalCompanyList[num].quoteCode = "3";
|
|
|
@@ -9483,6 +9499,10 @@ export default {
|
|
|
} else if (!!res.data) {
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
} else {
|
|
|
this.totalCompanyList[num].quoteCode = "3";
|
|
|
@@ -9558,6 +9578,10 @@ export default {
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
} else {
|
|
|
this.totalCompanyList[num].quoteCode = "3";
|
|
|
@@ -9644,6 +9668,10 @@ export default {
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
} else if (res.code == "101") {
|
|
|
this.totalCompanyList[num].quoteCode = "101";
|
|
|
@@ -9761,6 +9789,10 @@ export default {
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
} else if (res.code == "101") {
|
|
|
this.totalCompanyList[num].quoteCode = "101";
|
|
|
@@ -9870,6 +9902,10 @@ export default {
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
} else if (res.code == "101") {
|
|
|
this.totalCompanyList[num].quoteCode = "101";
|
|
|
@@ -9952,7 +9988,10 @@ export default {
|
|
|
if (namesimple == "中国人寿" && res.data.companyId) {
|
|
|
this.lastCompanyId = res.data.companyId;
|
|
|
}
|
|
|
- console.log(res.data, 'res.data111111111111111111111111111')
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
} else {
|
|
|
this.totalCompanyList[num].quoteCode = "3";
|
|
|
@@ -9987,7 +10026,10 @@ export default {
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
-
|
|
|
+ this.jqstartDate = res.data.startDateJq
|
|
|
+ this.jqendDate = res.data.endDateJq
|
|
|
+ this.systartDate = res.data.startDateSy
|
|
|
+ this.syendDate = res.data.endDateSy
|
|
|
this.QuotationHistory();
|
|
|
} else {
|
|
|
this.totalCompanyList[num].quoteCode = "3";
|