|
|
@@ -504,8 +504,7 @@
|
|
|
<span>保额(元)</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="flex a-c more-data back" v-for="(insureitem, insureindex) in insureList" :key="insureindex"
|
|
|
- v-show="insureindex < insureLength">
|
|
|
+ <div class="flex a-c more-data back" v-for="(insureitem, insureindex) in insureList" :key="insureindex">
|
|
|
<div style="width:700px;padding-left: 100px;" class="flex j-s a-c">
|
|
|
<div style="width:auto;">
|
|
|
<span style="text-align:center;">{{ insureitem.kindName }}<el-input
|
|
|
@@ -523,7 +522,7 @@
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
- <div style="margin:0 auto;font-size: 14px;cursor: pointer;margin-top:15px;">
|
|
|
+ <!-- <div style="margin:0 auto;font-size: 14px;cursor: pointer;margin-top:15px;">
|
|
|
<span v-show="insureMore" @click="selectMore(insureList.length)">
|
|
|
查看更多
|
|
|
<i class="el-icon-arrow-down"></i>
|
|
|
@@ -532,7 +531,7 @@
|
|
|
收起
|
|
|
<i class="el-icon-arrow-up"></i>
|
|
|
</span>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="Enclosure flex f-c back">
|
|
|
@@ -2591,7 +2590,7 @@ export default {
|
|
|
companyId: "",
|
|
|
apiType: "",
|
|
|
insureMore: true,
|
|
|
- insureLength: 5,
|
|
|
+ // insureLength: 5,
|
|
|
HistoryList: [], //历史记录数据
|
|
|
image1: "",
|
|
|
image2: "",
|
|
|
@@ -2974,16 +2973,16 @@ export default {
|
|
|
syChange(e) {
|
|
|
this.syendDate = this.oneYearPast1(e);
|
|
|
},
|
|
|
- //查看更多
|
|
|
- selectMore(leg) {
|
|
|
- this.insureMore = false;
|
|
|
- this.insureLength = leg;
|
|
|
- },
|
|
|
- //收起
|
|
|
- packup() {
|
|
|
- this.insureMore = true;
|
|
|
- this.insureLength = 5;
|
|
|
- },
|
|
|
+ // //查看更多
|
|
|
+ // selectMore(leg) {
|
|
|
+ // this.insureMore = false;
|
|
|
+ // this.insureLength = leg;
|
|
|
+ // },
|
|
|
+ // //收起
|
|
|
+ // packup() {
|
|
|
+ // this.insureMore = true;
|
|
|
+ // this.insureLength = 5;
|
|
|
+ // },
|
|
|
//险别选择框事件
|
|
|
insureitemChange(e) {
|
|
|
if (e != 0) {
|
|
|
@@ -3287,6 +3286,7 @@ export default {
|
|
|
kindList: this.kindList,
|
|
|
riskList: this.riskList,
|
|
|
};
|
|
|
+ console.log(param.riskList)
|
|
|
this.$api.letter.generateOrder(param).then(res => {
|
|
|
if (res.code == "200") {
|
|
|
this.orderno = res.data.orderno;
|
|
|
@@ -3541,7 +3541,6 @@ export default {
|
|
|
res.msg.indexOf("车险平台返回") > -1 &&
|
|
|
res.msg.indexOf(";终保日期") > -1
|
|
|
) {
|
|
|
- this.totalCompanyList[num].lastYearMsg = "<b>交强险</b><br>" + res.msg.slice(res.msg.indexOf("起保日期 "), res.msg.indexOf("地区 山西。") + 6);
|
|
|
let time =
|
|
|
res.msg.substr(res.msg.indexOf(";终保日期 ") + 6, 16) + ":00";
|
|
|
this.jqstartDate = time;
|
|
|
@@ -3571,7 +3570,11 @@ export default {
|
|
|
});
|
|
|
} else if (res.code == "200") {
|
|
|
if (res.data.warnMessageList.length > 0) {
|
|
|
- this.totalCompanyList[num].lastYearMsg += "<br><b>商业险</b><br>" + res.data.warnMessageList[0];
|
|
|
+ this.totalCompanyList[num].lastYearMsg = "";
|
|
|
+ let dat = res.data.warnMessageList;
|
|
|
+ dat.map(ele => {
|
|
|
+ this.totalCompanyList[num].lastYearMsg += ele + '<br>';
|
|
|
+ })
|
|
|
}
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
@@ -3897,7 +3900,7 @@ export default {
|
|
|
}
|
|
|
break;
|
|
|
case '众安财险':
|
|
|
- if (!!res.data) {
|
|
|
+ if (!!res.data) {
|
|
|
this.totalCompanyList[num].quoteCode = 200;
|
|
|
this.totalCompanyList[num].result = res.data;
|
|
|
this.QuotationHistory();
|
|
|
@@ -3918,7 +3921,7 @@ export default {
|
|
|
this.quoteInsurance(num, id, namesimple, this.totalCompanyList[num].apiType);
|
|
|
},
|
|
|
//众安
|
|
|
- zhongan(num, id) {
|
|
|
+ zhongan(num, id,namesimple) {
|
|
|
this.quoteInsurance(num, id, namesimple, this.totalCompanyList[num].apiType);
|
|
|
},
|
|
|
//人寿
|
|
|
@@ -4384,9 +4387,17 @@ export default {
|
|
|
var strMonth = d.getMonth() + 1;
|
|
|
var strDay = d.getDate();
|
|
|
var hh = d.getHours();
|
|
|
+ var minutes = d.getMinutes(); // 分
|
|
|
+ var Seconds = d.getSeconds();
|
|
|
if (hh < 10) {
|
|
|
hh = "0" + hh;
|
|
|
}
|
|
|
+ if (minutes < 10) {
|
|
|
+ minutes = "0" + minutes;
|
|
|
+ }
|
|
|
+ if (Seconds < 10) {
|
|
|
+ Seconds = "0" + Seconds;
|
|
|
+ }
|
|
|
if (strMonth < 10) {
|
|
|
strMonth = "0" + strMonth;
|
|
|
}
|
|
|
@@ -4394,7 +4405,7 @@ export default {
|
|
|
strDay = "0" + strDay;
|
|
|
}
|
|
|
var datetime =
|
|
|
- strYear + "-" + strMonth + "-" + strDay + " " + hh + ":00:00";
|
|
|
+ strYear + "-" + strMonth + "-" + strDay + " " + hh + ":" + minutes + ":" + Seconds;
|
|
|
return datetime;
|
|
|
},
|
|
|
timeformat(date) {
|
|
|
@@ -4425,7 +4436,7 @@ export default {
|
|
|
var strMonth = date.getMonth() + 1;
|
|
|
var hh = date.getHours();
|
|
|
var minutes = date.getMinutes(); // 分
|
|
|
- var Seconds=date.getSeconds();
|
|
|
+ var Seconds = date.getSeconds();
|
|
|
if (hh < 10) {
|
|
|
hh = "0" + hh;
|
|
|
}
|
|
|
@@ -4442,7 +4453,7 @@ export default {
|
|
|
strDay = "0" + strDay;
|
|
|
}
|
|
|
var datastr =
|
|
|
- strYear + "-" + strMonth + "-" + strDay + " " + hh + ":" + minutes + ":"+Seconds;
|
|
|
+ strYear + "-" + strMonth + "-" + strDay + " " + hh + ":" + minutes + ":" + Seconds;
|
|
|
return datastr;
|
|
|
},
|
|
|
tbczcarShowChange() {
|