微信端上传资料

This commit is contained in:
mengxiaolong
2020-08-27 13:02:35 +08:00
parent eb1e122ccf
commit 728ed6982c

View File

@@ -375,9 +375,19 @@ export default {
return this.$toast('请输入4-400个字符')
// 校验补充资料
if (this.issueType === '828601') {
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') {
if (!this.policyholderSigned || !this.insurantSigned) return this.$toast('签名未完成, 请先进行签名')
}
if (!this.checkSupplementData()) return this.$toast('请上传补充资料')
if (this.isWeixin) {
this.$toast.loading()
this.imageResultList.splice(0)
for (let image of this.imageList) {
let res = await this.afterRead(image)
let result = {