|
@@ -116,7 +116,7 @@
|
|
|
<div style="padding:0 20px">
|
|
<div style="padding:0 20px">
|
|
|
<div class="ORcode ">
|
|
<div class="ORcode ">
|
|
|
<div style="padding:5px;position: relative;">
|
|
<div style="padding:5px;position: relative;">
|
|
|
- <div v-if="['永安财险', '人保财险', '永诚财险', '中煤财险'].includes(inscompany)" id="qrcode" ref="qrcode">
|
|
|
|
|
|
|
+ <div v-if="['永安财险', '人保财险', '永诚财险', '中煤财险','众安财险'].includes(inscompany)" id="qrcode" ref="qrcode">
|
|
|
</div>
|
|
</div>
|
|
|
<img v-if="['恒邦财险', '安盛财险'].includes(inscompany)" :src="paycodeimg" alt="" style="width:100%">
|
|
<img v-if="['恒邦财险', '安盛财险'].includes(inscompany)" :src="paycodeimg" alt="" style="width:100%">
|
|
|
</div>
|
|
</div>
|
|
@@ -1174,11 +1174,10 @@ export default {
|
|
|
});
|
|
});
|
|
|
break;
|
|
break;
|
|
|
case "人保财险":
|
|
case "人保财险":
|
|
|
- this.$nextTick(() => {
|
|
|
|
|
- this.creatQrCode(res.data.paymentLink);
|
|
|
|
|
- });
|
|
|
|
|
- break;
|
|
|
|
|
case "中煤财险":
|
|
case "中煤财险":
|
|
|
|
|
+ case "永诚财险":
|
|
|
|
|
+ case "中国人寿":
|
|
|
|
|
+ case "众安财险":
|
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
|
this.creatQrCode(res.data.paymentLink);
|
|
this.creatQrCode(res.data.paymentLink);
|
|
|
});
|
|
});
|
|
@@ -1186,12 +1185,7 @@ export default {
|
|
|
case "恒邦财险":
|
|
case "恒邦财险":
|
|
|
this.paycodeimg = res.data.paymentLink;
|
|
this.paycodeimg = res.data.paymentLink;
|
|
|
break;
|
|
break;
|
|
|
- case "永诚财险":
|
|
|
|
|
- this.$nextTick(() => {
|
|
|
|
|
- this.creatQrCode(res.data.paymentLink);
|
|
|
|
|
- });
|
|
|
|
|
- break;
|
|
|
|
|
- case "安盛财险":
|
|
|
|
|
|
|
+ case "安盛天平":
|
|
|
let anresult = res.data.paymentLink.replace(/[\r\n]/g, "");
|
|
let anresult = res.data.paymentLink.replace(/[\r\n]/g, "");
|
|
|
let animgBase64 = `data:image/png;base64,${anresult}`;
|
|
let animgBase64 = `data:image/png;base64,${anresult}`;
|
|
|
base64ToPath(animgBase64)
|
|
base64ToPath(animgBase64)
|
|
@@ -1431,27 +1425,42 @@ export default {
|
|
|
}
|
|
}
|
|
|
break;
|
|
break;
|
|
|
case "恒邦财险":
|
|
case "恒邦财险":
|
|
|
|
|
+ case "安盛天平":
|
|
|
|
|
+ case "中国人寿":
|
|
|
|
|
+ case "众安财险":
|
|
|
|
|
+ this.$api.letter.pychonverifyPayment({
|
|
|
|
|
+ subOrderNo: item.id,
|
|
|
|
|
+ }).then(res=>{
|
|
|
|
|
+ console.log(res)
|
|
|
|
|
+ })
|
|
|
if (this.orderInfo.jqpolicyno) {
|
|
if (this.orderInfo.jqpolicyno) {
|
|
|
- this.$api.letter.hengbanggetPolicyPrint({
|
|
|
|
|
- orderno: this.orderInfo.orderno,
|
|
|
|
|
|
|
+ this.$api.letter.pythongetPolicyPrint({
|
|
|
|
|
+ subOrderNo: item.id,
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
if (res.data) {
|
|
if (res.data) {
|
|
|
this.oldfileList.push({
|
|
this.oldfileList.push({
|
|
|
fileTitle: "交强电子保单",
|
|
fileTitle: "交强电子保单",
|
|
|
filename: this.orderInfo.jqpolicyno,
|
|
filename: this.orderInfo.jqpolicyno,
|
|
|
- fileurl: res.data.jqx_policy_url,
|
|
|
|
|
|
|
+ fileurl: res.data.jqxPolicyUrl,
|
|
|
});
|
|
});
|
|
|
this.oldfileList.push({
|
|
this.oldfileList.push({
|
|
|
fileTitle: "交强电子标志",
|
|
fileTitle: "交强电子标志",
|
|
|
filename: this.orderInfo.jqpolicyno,
|
|
filename: this.orderInfo.jqpolicyno,
|
|
|
- fileurl: res.data.jqx_flag_url,
|
|
|
|
|
|
|
+ fileurl: res.data.jqxFlagUrl,
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
- if (res.data.syx_policy_url) {
|
|
|
|
|
|
|
+ if (res.data.syxPolicyUrl) {
|
|
|
this.oldfileList.push({
|
|
this.oldfileList.push({
|
|
|
fileTitle: "商业电子保单",
|
|
fileTitle: "商业电子保单",
|
|
|
filename: this.orderInfo.sypolicyno,
|
|
filename: this.orderInfo.sypolicyno,
|
|
|
- fileurl: res.data.syx_policy_url,
|
|
|
|
|
|
|
+ fileurl: res.data.syxPolicyUrl,
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
|
|
+ if(res.data.jyxPolicyUrl){
|
|
|
|
|
+ this.oldfileList.push({
|
|
|
|
|
+ fileTitle: "驾意险保单",
|
|
|
|
|
+ filename: 'xxxxxxxxxxxxxxxxxxxxxx',
|
|
|
|
|
+ fileurl: res.data.jyxPolicyUrl,
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
@@ -1910,4 +1919,4 @@ export default {
|
|
|
padding: 10px 50px;
|
|
padding: 10px 50px;
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
}
|
|
}
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|