diff --git a/src/components/ebiz/question/ShortMessage.vue b/src/components/ebiz/question/ShortMessage.vue index 0dabc6472..226555152 100644 --- a/src/components/ebiz/question/ShortMessage.vue +++ b/src/components/ebiz/question/ShortMessage.vue @@ -65,7 +65,6 @@ export default { ` }, sendTime(nv) { - console.log('time change ... ', this.sendTime) if (nv === 0) { clearInterval(this.timer) this.timer = null @@ -103,7 +102,6 @@ export default { smsId: this.sid, code: this.code }) - console.log(res) if (res.result === '0') { this.$emit('getMessage', { type: 'confirm', @@ -182,11 +180,9 @@ export default { padding: 0 10px 15px; p { font-size: 13px; - padding: 10px 0 15px 0; + padding: 10px 0; } .enter { - border-bottom: 1px solid #eee; - padding: 0 10px 5px; display: flex; justify-content: space-between; input, diff --git a/src/views/ebiz/questions/QuestionsDetail.vue b/src/views/ebiz/questions/QuestionsDetail.vue index 90e161145..f6294c7db 100644 --- a/src/views/ebiz/questions/QuestionsDetail.vue +++ b/src/views/ebiz/questions/QuestionsDetail.vue @@ -395,17 +395,21 @@ export default { async submit() { // 校验回复内容 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个字符') + let reply = this.newContract.feedback.trim() + if (reply === '') return this.$toast('请填写具体回复信息') + if (reply.length < 4 || reply.length > 400) return this.$toast('请输入4-400个字符') } // 校验补充资料 if (this.issueType === '828601') { if (!this.checkSupplementData()) return this.$toast('请上传补充资料') - if (!this.checked) { - return this.$toast('请先阅读并勾选协议') - } this.$toast.loading() this.imageResultList.splice(0) + /** + * 上传补充资料 + * 微信端特殊处理: + * 因为微信端签名会跳转页面, 为了签名回跳回显用户填过的信息, 用户填写过的信息都会被保存在localstorage中 + * 补充资料图片是以base64格式存储, 所以需要转换为file之后再上传 + */ if (this.isWeixin) { for (let image of this.imageList) { let file = this.dataURLtoFile(image.content, '.png') @@ -621,6 +625,7 @@ export default { async created() { // 问题件类型 this.issueType = this.$route.params.type + // 根据问题件类型修改标题 if (this.issueType === 'TB89') { document.title = '新契约基本问题件通知书' } else if (this.issueType === '818901') {