From c097ca7a40183c5ba22d9efd4440b7ff2226e1f7 Mon Sep 17 00:00:00 2001 From: mengxiaolong Date: Thu, 10 Sep 2020 18:07:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E8=A2=AB=E5=90=8C=E4=BA=BA=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/questions/QuestionsDetail.vue | 29 +++++++------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/src/views/ebiz/questions/QuestionsDetail.vue b/src/views/ebiz/questions/QuestionsDetail.vue index e08018fca..15d69a223 100644 --- a/src/views/ebiz/questions/QuestionsDetail.vue +++ b/src/views/ebiz/questions/QuestionsDetail.vue @@ -67,7 +67,7 @@
-
+
投保人亲笔签名: {{ policyholderSigned ? '已签名' : '未签名' }}
@@ -276,7 +276,7 @@ export default { name, type: '1', number, - keyword: personType === 0 ? '投保人签名:' : this.releationType ? '投保人/被保险人签名' : '被保险人签名:', + keyword: personType === 0 ? '投保人签名:' : this.releationType ? '投保人/被保险人签名' : '被保险人/监护人签名:', pageNo: '1', index: 1, offset: 20, @@ -301,9 +301,11 @@ export default { if (personType === 0) { this.toAirSign('0', '投保人签名:', '10', '2', personType) } else { - let keyword = '被保险人签名:' + let keyword = '' if (this.releationType) { - keyword = '投保人/' + keyword + keyword = '投保人/被保险人签名:' + } else { + keyword = '被保险人/监护人签名:' } this.toAirSign('0', keyword, '10', '2', personType) } @@ -373,23 +375,16 @@ export default { // 下一步 async submit() { // 校验回复内容 - if (this.issueType === 'TB89' && this.newContract.feedback.trim() === '') return this.$toast('请填写具体回复信息') - if (this.issueType === 'TB89' && (this.newContract.feedback.trim().length < 4 || this.newContract.feedback.trim().length > 400)) - return this.$toast('请输入4-400个字符') + if (this.issueType === 'TB89') { + if (this.newContract.feedback.trim() === '') return this.$toast('请填写具体回复信息') + if (this.newContract.feedback.trim().length < 4 || this.newContract.feedback.trim().length > 400) return this.$toast('请输入4-400个字符') + } // 校验补充资料 if (this.issueType === '828601') { if (!this.checkSupplementData()) return this.$toast('请上传补充资料') if (!this.checked) { return this.$toast('请先阅读并勾选协议') } - // 校验签名 - if (this.$route.query.receiveType === '0') { - if (!this.policyholderSigned) return this.$toast('签名未完成, 请先进行签名') - } else if (this.$route.query.receiveType === '1' && !this.releationType) { - if (!this.policyholderSigned || !this.insurantSigned) return this.$toast('签名未完成, 请先进行签名') - } else if (this.$route.query.receiveType === '1' && this.releationType) { - if (!this.insurantSigned) return this.$toast('签名未完成, 请先进行签名') - } this.$toast.loading() this.imageResultList.splice(0) if (this.isWeixin) { @@ -426,10 +421,6 @@ export default { } // 转账不成功 if (this.issueType === '818901') { - // 校验处理方式 - if (this.transfer.mode === '') { - return this.$toast('请先选择处理方式') - } // 非终止转账 if (this.transfer.mode === 3) { // 校验开户行