diff --git a/src/views/ebiz/questions/QuestionsDetail.vue b/src/views/ebiz/questions/QuestionsDetail.vue index 72e1151dc..4144ff5ff 100644 --- a/src/views/ebiz/questions/QuestionsDetail.vue +++ b/src/views/ebiz/questions/QuestionsDetail.vue @@ -89,11 +89,11 @@
投保人/监护人亲笔签名: - {{ policyholderSigned ? '已签名' : '签名' }} + {{ policyholderSigned ? '已签名' : '未签名' }}
被投保人亲笔签名: - {{ insurantSigned ? '已签名' : '签名' }} + {{ insurantSigned ? '已签名' : '未签名' }}
@@ -405,8 +405,8 @@ export default { async getMessage({ data }) { // 获取dialog信息,type为confirm时为短信框,alert时是确定框 let problemData = { - id: this.currentProblem.id, - businessType: this.currentProblem.businessType, + id: this.$route.params.id, + businessType: this.$route.params.type, content: '', disposeStatus: '', bankType: '', @@ -481,9 +481,8 @@ export default { this.problemDetail.receiveType = this.$route.query.receiveType this.supplement.descriptionInsurant = this.problemDetail.content this.supplement.descriptionPolicyholder = this.problemDetail.issueContent - this.currentProblem = JSON.parse(localStorage.getItem('currentProblemItem')) }, - //微信空签 + // 微信空签 toAirSign(status, keyword, offset, originStatus, personType) { sessionStorage.removeItem('twoimgBase64Data') sessionStorage.removeItem('twowxSigned') @@ -500,13 +499,14 @@ export default { keyword: keyword, status: status, offset: offset, - originUrl: location.href + originUrl: location.href + '&fromSign=true' }) ) window.location.href = this.$mainUrl + '/sign/index.html' } }, async created() { + // 问题件类型 this.issueType = this.$route.params.type if (this.isWeixin) { localStorage.setItem('token', this.$route.query.token) @@ -518,7 +518,7 @@ export default { console.log('wxSigned ::: ', wxSigned) console.dir('signInfo ::: ', signInfo) - if (wxSigned) { + if (this.$route.query.fromSign) { console.log('微信签名回调') // 0代表投保人签名 if (Number(localStorage.getItem('signedPersonType')) === 0) { @@ -532,8 +532,7 @@ export default { localStorage.setItem('insurantSignInfo', imgBase64Data) } } - } - if (!signInfo) { + } else { localStorage.removeItem('insurantSignInfo') localStorage.removeItem('policyholderSignInfo') localStorage.removeItem('agreementChecked')