diff --git a/src/views/ebiz/sale/InsuranceTip.vue b/src/views/ebiz/sale/InsuranceTip.vue index a5dd8b819..e741acb94 100644 --- a/src/views/ebiz/sale/InsuranceTip.vue +++ b/src/views/ebiz/sale/InsuranceTip.vue @@ -176,7 +176,7 @@ export default { } }) that.pdfUrl = encodeURIComponent(config.imgDomain + `/returnDirectStream?imgPath=${that.tipsPolicyUrl}`) - console.log(" that.pdfUrl", that.pdfUrl) + console.log(' that.pdfUrl', that.pdfUrl) if (that.isWeixin) { if (res.orderDTO.ebizSignDTOS.length > 1) { if (that.appntSign.documentStatus == '3') { @@ -215,7 +215,7 @@ export default { if (this.detailJump != '1') { if (this.relationToAppnt == '1') { if (this.isWeixin) { - this.toAirSign('1', '签字日期', '-150') + this.toAirSign('1', '签字日期', '-150', '1') } else { EWebBridge.webCallAppInJs('ca_sign', { //身份证号码 @@ -239,7 +239,7 @@ export default { } } else { if (this.isWeixin) { - this.toAirSign('1', '签字日期', '-150') + this.toAirSign('1', '签字日期', '-150', '1') } else { EWebBridge.webCallAppInJs('ca_sign', { //身份证号码 @@ -294,7 +294,7 @@ export default { break } if (this.isWeixin) { - this.toAirSign('1', '签字日期', '-150') + this.toAirSign('1', '签字日期', '-150', '1') } else { EWebBridge.webCallAppInJs('ca_sign', { //身份证号码 @@ -320,11 +320,11 @@ export default { } } }, - toAirSign(status, keyword, offset) { + toAirSign(status, keyword, offset, originStatus) { localStorage.setItem( 'signInfo', JSON.stringify({ - originStatus: '1', + originStatus: originStatus, idNo: this.saleInsuredInfo.idNo, name: this.saleInsuredInfo.name, type: this.saleInsuredInfo.idType, diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue index 9970ed841..fcb839085 100644 --- a/src/views/ebiz/sale/InsuredPerson.vue +++ b/src/views/ebiz/sale/InsuredPerson.vue @@ -956,7 +956,12 @@ export default { }) let { customerName, customerSex } = data this.userInfo.name = customerName //用户名 - this.userInfo.sex = String(customerSex) //性别 + if (customerSex == null) { + this.userInfo.sex = 's' + } else { + this.userInfo.sex = String(customerSex) //性别s + } + this.userInfo.nativeplace = data.country //国家地区 this.userInfo.birthday = data.birthday //出生日期 this.userInfo.idType = data.customerIdType //证件类型 diff --git a/src/views/ebiz/sale/productTip.vue b/src/views/ebiz/sale/productTip.vue index 8f60e643a..441a82080 100644 --- a/src/views/ebiz/sale/productTip.vue +++ b/src/views/ebiz/sale/productTip.vue @@ -210,7 +210,7 @@ export default { if (this.detailJump != '1') { if (this.relationToAppnt == '1') { if (this.isWeixin) { - this.toAirSign('1', '投保人签名', '5') + this.toAirSign('1', '投保人签名', '5', '1') } else { EWebBridge.webCallAppInJs('ca_sign', { //身份证号码 @@ -234,7 +234,7 @@ export default { } } else { if (this.isWeixin) { - this.toAirSign('1', '投保人签名', '5') + this.toAirSign('1', '投保人签名', '5', '1') } else { EWebBridge.webCallAppInJs('ca_sign', { //身份证号码 @@ -289,7 +289,7 @@ export default { break } if (this.isWeixin) { - this.toAirSign('1', '投保人签名', '5') + this.toAirSign('1', '投保人签名', '5', '1') } else { EWebBridge.webCallAppInJs('ca_sign', { //身份证号码 @@ -315,10 +315,26 @@ export default { } } }, - toAirSign(status, keyword, offset) { + // toAirSign(status, keyword, offset) { + // localStorage.setItem( + // 'signInfo', + // JSON.stringify({ + // idNo: this.saleInsuredInfo.idNo, + // name: this.saleInsuredInfo.name, + // type: this.saleInsuredInfo.idType, + // keyword: keyword, + // status: status, + // offset: offset, + // originUrl: location.href + // }) + // ) + // window.location.href = this.$mainUrl + '/sign/index.html' + // }, + toAirSign(status, keyword, offset, originStatus) { localStorage.setItem( 'signInfo', JSON.stringify({ + originStatus: originStatus, idNo: this.saleInsuredInfo.idNo, name: this.saleInsuredInfo.name, type: this.saleInsuredInfo.idType,