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