mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 07:06:44 +08:00
微信端上传资料修改
This commit is contained in:
@@ -375,6 +375,7 @@ export default {
|
|||||||
return this.$toast('请输入4-400个字符')
|
return this.$toast('请输入4-400个字符')
|
||||||
// 校验补充资料
|
// 校验补充资料
|
||||||
if (this.issueType === '828601') {
|
if (this.issueType === '828601') {
|
||||||
|
if (!this.checkSupplementData()) return this.$toast('请上传补充资料')
|
||||||
if (!this.checked) {
|
if (!this.checked) {
|
||||||
return this.$toast('请先阅读并勾选协议')
|
return this.$toast('请先阅读并勾选协议')
|
||||||
}
|
}
|
||||||
@@ -384,12 +385,11 @@ export default {
|
|||||||
} else if (this.$route.query.receiveType === '1') {
|
} else if (this.$route.query.receiveType === '1') {
|
||||||
if (!this.policyholderSigned || !this.insurantSigned) return this.$toast('签名未完成, 请先进行签名')
|
if (!this.policyholderSigned || !this.insurantSigned) return this.$toast('签名未完成, 请先进行签名')
|
||||||
}
|
}
|
||||||
if (!this.checkSupplementData()) return this.$toast('请上传补充资料')
|
|
||||||
if (this.isWeixin) {
|
if (this.isWeixin) {
|
||||||
this.$toast.loading()
|
this.$toast.loading()
|
||||||
this.imageResultList.splice(0)
|
this.imageResultList.splice(0)
|
||||||
for (let image of this.imageList) {
|
for (let image of this.imageList) {
|
||||||
let res = await this.afterRead(image)
|
let res = await this.afterRead(image.file)
|
||||||
let result = {
|
let result = {
|
||||||
rgssUrl: res.path,
|
rgssUrl: res.path,
|
||||||
imageInfoType: 1,
|
imageInfoType: 1,
|
||||||
@@ -607,16 +607,7 @@ export default {
|
|||||||
localStorage.removeItem('problemCard')
|
localStorage.removeItem('problemCard')
|
||||||
localStorage.removeItem('problemBankCode')
|
localStorage.removeItem('problemBankCode')
|
||||||
// 补充资料问题件保存数据
|
// 补充资料问题件保存数据
|
||||||
localStorage.removeItem('insurantIdCardAUploadResult')
|
localStorage.removeItem('supplementImages')
|
||||||
localStorage.removeItem('insurantIdCardBUploadResult')
|
|
||||||
localStorage.removeItem('policyholderIdCardAUploadResult')
|
|
||||||
localStorage.removeItem('policyholderIdCardBUploadResult')
|
|
||||||
localStorage.removeItem('policyholderBankCardAUploadResult')
|
|
||||||
localStorage.removeItem('insurantIdCardA')
|
|
||||||
localStorage.removeItem('insurantIdCardB')
|
|
||||||
localStorage.removeItem('policyholderIdCardA')
|
|
||||||
localStorage.removeItem('policyholderIdCardB')
|
|
||||||
localStorage.removeItem('policyholderBankCardA')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// localstorage存在投保人签名信息
|
// localstorage存在投保人签名信息
|
||||||
|
|||||||
Reference in New Issue
Block a user