mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 22:26:44 +08:00
增加log输出
This commit is contained in:
@@ -191,10 +191,10 @@ export default {
|
|||||||
},
|
},
|
||||||
issueType: 0,
|
issueType: 0,
|
||||||
// 投保人是否已签名
|
// 投保人是否已签名
|
||||||
policyholderSigned: true,
|
policyholderSigned: false,
|
||||||
policyholderBase64: '',
|
policyholderBase64: '',
|
||||||
// 被保人是否已签名
|
// 被保人是否已签名
|
||||||
insurantSigned: true,
|
insurantSigned: false,
|
||||||
insurantBase64: '',
|
insurantBase64: '',
|
||||||
// 接收验证码手机号码
|
// 接收验证码手机号码
|
||||||
phoneNum: '',
|
phoneNum: '',
|
||||||
@@ -528,30 +528,37 @@ export default {
|
|||||||
localStorage.setItem('insurantSignInfo', imgBase64Data)
|
localStorage.setItem('insurantSignInfo', imgBase64Data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
}
|
||||||
|
if (!signInfo) {
|
||||||
localStorage.removeItem('insurantSignInfo')
|
localStorage.removeItem('insurantSignInfo')
|
||||||
localStorage.removeItem('policyholderSignInfo')
|
localStorage.removeItem('policyholderSignInfo')
|
||||||
|
localStorage.removeItem('agreementChecked')
|
||||||
|
localStorage.removeItem('problemReplay')
|
||||||
}
|
}
|
||||||
|
|
||||||
// localstorage存在投保人签名信息
|
// localstorage存在投保人签名信息
|
||||||
if (localStorage.getItem('policyholderSignInfo')) {
|
if (localStorage.getItem('policyholderSignInfo')) {
|
||||||
|
console.log('policyholderSignInfo', localStorage.getItem('policyholderSignInfo'))
|
||||||
this.policyholderBase64 = localStorage.getItem('policyholderSignInfo')
|
this.policyholderBase64 = localStorage.getItem('policyholderSignInfo')
|
||||||
this.policyholderSigned = true
|
this.policyholderSigned = true
|
||||||
}
|
}
|
||||||
|
|
||||||
// localstorage存在被保人签名信息
|
// localstorage存在被保人签名信息
|
||||||
if (localStorage.getItem('insurantSignInfo')) {
|
if (localStorage.getItem('insurantSignInfo')) {
|
||||||
|
console.log('insurantSignInfo', localStorage.getItem('insurantSignInfo'))
|
||||||
this.insurantBase64 = localStorage.getItem('insurantSignInfo')
|
this.insurantBase64 = localStorage.getItem('insurantSignInfo')
|
||||||
this.insurantSigned = true
|
this.insurantSigned = true
|
||||||
}
|
}
|
||||||
|
|
||||||
// localstorage存在回复内容时不允许修改回复内容
|
// localstorage存在回复内容时不允许修改回复内容
|
||||||
if (localStorage.getItem('problemReplay')) {
|
if (localStorage.getItem('problemReplay')) {
|
||||||
|
console.log('problemReplay', localStorage.getItem('problemReplay'))
|
||||||
this.newContract.feedback = localStorage.getItem('problemReplay')
|
this.newContract.feedback = localStorage.getItem('problemReplay')
|
||||||
this.newContract.feedbackAvailable = true
|
this.newContract.feedbackAvailable = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (localStorage.getItem('agreementChecked')) {
|
if (localStorage.getItem('agreementChecked')) {
|
||||||
|
console.log('agreementChecked', localStorage.getItem('agreementChecked'))
|
||||||
this.checked = true
|
this.checked = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user