提交更改bug

This commit is contained in:
皮伟
2019-11-08 15:01:34 +08:00
parent 4da4533756
commit 4e43b338d5
3 changed files with 32 additions and 11 deletions

View File

@@ -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,

View File

@@ -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 //证件类型

View File

@@ -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,