mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 15:26:45 +08:00
调试微信端签名
This commit is contained in:
@@ -353,6 +353,10 @@ export default {
|
|||||||
},
|
},
|
||||||
// 签名
|
// 签名
|
||||||
async autograph(personType) {
|
async autograph(personType) {
|
||||||
|
if (this.isWeixin && this.checked) {
|
||||||
|
localStorage.setItem('agreementChecked', true)
|
||||||
|
}
|
||||||
|
|
||||||
// 新契约问题件签名前必须输入回复内容
|
// 新契约问题件签名前必须输入回复内容
|
||||||
if (this.issueType === 'TB89') {
|
if (this.issueType === 'TB89') {
|
||||||
if (!this.newContract.feedback.trim()) {
|
if (!this.newContract.feedback.trim()) {
|
||||||
@@ -389,6 +393,10 @@ export default {
|
|||||||
localStorage.setItem('problemBank', this.transfer.bank)
|
localStorage.setItem('problemBank', this.transfer.bank)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.transfer.bankCode) {
|
||||||
|
localStorage.setItem('problemBankCode', this.transfer.bankCode)
|
||||||
|
}
|
||||||
|
|
||||||
if (this.transfer.card) {
|
if (this.transfer.card) {
|
||||||
localStorage.setItem('problemCard', this.transfer.card)
|
localStorage.setItem('problemCard', this.transfer.card)
|
||||||
}
|
}
|
||||||
@@ -423,9 +431,9 @@ export default {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (personType === 0) {
|
if (personType === 0) {
|
||||||
this.toAirSign('0', '投保人签名:', '-150', '2', personType)
|
this.toAirSign('0', '投保人签名:', '10', '2', personType)
|
||||||
} else {
|
} else {
|
||||||
this.toAirSign('0', '被保人签名:', '-150', '2', personType)
|
this.toAirSign('0', '被保人签名:', '10', '2', personType)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -522,8 +530,6 @@ export default {
|
|||||||
}
|
}
|
||||||
if (!this.checked) {
|
if (!this.checked) {
|
||||||
return this.$toast('请先同意协议')
|
return this.$toast('请先同意协议')
|
||||||
} else {
|
|
||||||
localStorage.setItem('agreementChecked', true)
|
|
||||||
}
|
}
|
||||||
// 校验签名
|
// 校验签名
|
||||||
if (this.$route.query.receiveType === '0') {
|
if (this.$route.query.receiveType === '0') {
|
||||||
@@ -582,9 +588,11 @@ export default {
|
|||||||
problemData.list.push(this.transfer.cardUploadResult)
|
problemData.list.push(this.transfer.cardUploadResult)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.$toast.loading()
|
||||||
// 更新问题件数据
|
// 更新问题件数据
|
||||||
let res = await updateQuestionDetail(problemData)
|
let res = await updateQuestionDetail(problemData)
|
||||||
console.dir(res)
|
console.dir(res)
|
||||||
|
this.$toast.clear()
|
||||||
if (res.result === '1') {
|
if (res.result === '1') {
|
||||||
localStorage.setItem('failedReason', res.resultMessage)
|
localStorage.setItem('failedReason', res.resultMessage)
|
||||||
}
|
}
|
||||||
@@ -689,7 +697,8 @@ export default {
|
|||||||
this.newContract.feedbackAvailable = true
|
this.newContract.feedbackAvailable = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (localStorage.getItem('agreementChecked')) {
|
// 微信签名后回显同意协议
|
||||||
|
if (localStorage.getItem('agreementChecked') === 'true') {
|
||||||
this.checked = true
|
this.checked = true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -713,6 +722,11 @@ export default {
|
|||||||
this.transfer.card = localStorage.getItem('problemCard')
|
this.transfer.card = localStorage.getItem('problemCard')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (localStorage.getItem('problemBankCode')) {
|
||||||
|
console.log('转账不成功类型:::保存银行编码')
|
||||||
|
this.transfer.bankCode = localStorage.getItem('problemBankCode')
|
||||||
|
}
|
||||||
|
|
||||||
// 签名回调回显银行卡照片
|
// 签名回调回显银行卡照片
|
||||||
if (localStorage.getItem('bankcardA')) {
|
if (localStorage.getItem('bankcardA')) {
|
||||||
console.log('转账不成功类型:::回显银行卡照片')
|
console.log('转账不成功类型:::回显银行卡照片')
|
||||||
@@ -739,6 +753,13 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 签名回调回显被保人身份证国徽面照片
|
||||||
|
if (localStorage.getItem('policyholderIdCardB')) {
|
||||||
|
this.supplement.insurantIdCardB.push({
|
||||||
|
content: localStorage.getItem('policyholderIdCardB')
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 签名回调回显被保人身份证国徽面
|
// 签名回调回显被保人身份证国徽面
|
||||||
if (localStorage.getItem('insurantIdCardBUploadResult')) {
|
if (localStorage.getItem('insurantIdCardBUploadResult')) {
|
||||||
this.supplement.insurantIdCardB.push({
|
this.supplement.insurantIdCardB.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user