mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 02:16:44 +08:00
柳州,空签调整toAirSign方法时,originStatus由2变成3,twoimgBase64Data变成threeimgBase64Data存储
This commit is contained in:
@@ -107,7 +107,6 @@
|
||||
<div class='p15 pl40 flex align-items-c'>
|
||||
<span class='mr10'>本人签名 :</span>
|
||||
<div v-if="signVal == '0' || signVal == '2'">
|
||||
{{appntSign.documentStatus}}
|
||||
<van-button type='danger' size='small' @click='sign()' v-no-more-click='1000'>
|
||||
{{ appntSign.documentStatus == '2' ? '签名' : '已签名' }}
|
||||
</van-button>
|
||||
@@ -170,13 +169,13 @@ export default {
|
||||
}, 100)
|
||||
window.appCallBack = this.appCallBack
|
||||
}
|
||||
if (this.isWeixin) {
|
||||
let imgBase64Data = sessionStorage.getItem('twoimgBase64Data')
|
||||
let wxSigned = sessionStorage.getItem('twowxSigned')
|
||||
if (this.isWeixin) {
|
||||
let imgBase64Data = sessionStorage.getItem('threeimgBase64Data')
|
||||
let wxSigned = sessionStorage.getItem('threewxSigned')
|
||||
let signInfo = JSON.parse(localStorage.getItem('signInfo'))
|
||||
console.log('`````````````````````````````````')
|
||||
|
||||
console.log('imgBase64Data: twoimgBase64Data:' + imgBase64Data)
|
||||
console.log('imgBase64Data: threeimgBase64Data:' + imgBase64Data)
|
||||
console.log('wxSigned: ' + wxSigned)
|
||||
if (wxSigned) {
|
||||
//答题数据反显
|
||||
@@ -195,7 +194,12 @@ export default {
|
||||
this.isSign = false
|
||||
this.isDisabledComplite = false
|
||||
}
|
||||
} else {
|
||||
console.log('第一次进入电子保单')
|
||||
this.getOrderDetail()
|
||||
}
|
||||
}else{
|
||||
this.getOrderDetail()
|
||||
}
|
||||
// 调用初始化方法
|
||||
this.init()
|
||||
@@ -252,8 +256,6 @@ export default {
|
||||
this.idNo = this.saleInsuredInfo.idNo
|
||||
// 调用获取柳州分红万能投连型产品编码集合的方法
|
||||
this.getUniversalCodeLstFunc()
|
||||
// 调用查询详情数据的方法
|
||||
this.getOrderDetail()
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -291,7 +293,9 @@ export default {
|
||||
getOrderDetail(data).then(res => {
|
||||
if (res.result == '0') {
|
||||
res.orderDTO.ebizSignDTOS.map(item => {
|
||||
if (item.documentCode == '11') {
|
||||
//documentCode 签字文档编号
|
||||
if (item.documentCode == '11') {
|
||||
//signType 签名类型 0 投保人 1 被保人 2 本人
|
||||
if (item.signType == '0' || item.signType == '2') {
|
||||
that.appntSign = item
|
||||
that.tipsPolicyUrl = item.policyUrl
|
||||
@@ -300,6 +304,7 @@ export default {
|
||||
})
|
||||
if (that.isWeixin) {
|
||||
if (res.orderDTO.ebizSignDTOS.length > 1) {
|
||||
//0 未读 1 已读 2 未签名 3 已签名
|
||||
if (that.appntSign.documentStatus == '3') {
|
||||
that.isDisabledComplite = false
|
||||
}
|
||||
@@ -395,7 +400,7 @@ export default {
|
||||
}
|
||||
}
|
||||
if (this.isWeixin) {
|
||||
this.toAirSign('0', '投保人签字', '10', '2')
|
||||
this.toAirSign('0', '投保人签字', '10', '3')
|
||||
} else {
|
||||
EWebBridge.webCallAppInJs('ca_sign', {
|
||||
number: that.saleInsuredInfo.idNo, // 身份证号码
|
||||
@@ -480,7 +485,7 @@ export default {
|
||||
if (res.result == '0') {
|
||||
this.$toast.clear()
|
||||
window.localStorage.setItem('detailJump', '')
|
||||
sessionStorage.twowxSigned = false
|
||||
sessionStorage.threewxSigned = false
|
||||
let doubleRecordFlag = localStorage.doubleRecordFlag
|
||||
let routeUrl = '/sale/signatureOfElectronic'
|
||||
if (doubleRecordFlag == '1') {
|
||||
@@ -536,7 +541,7 @@ export default {
|
||||
if (res.result == '0') {
|
||||
this.$toast.clear()
|
||||
window.localStorage.setItem('detailJump', '')
|
||||
sessionStorage.twowxSigned = false
|
||||
sessionStorage.threewxSigned = false
|
||||
let doubleRecordFlag = localStorage.doubleRecordFlag
|
||||
let routeUrl = '/sale/signatureOfElectronic'
|
||||
if (doubleRecordFlag == '1') {
|
||||
|
||||
Reference in New Issue
Block a user