mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 12:16:43 +08:00
附件上传受益人证件上传失败数据清空
This commit is contained in:
@@ -1037,7 +1037,7 @@ export default {
|
||||
// console.log(res)
|
||||
if (res.result == '0') {
|
||||
this.$toast.clear()
|
||||
// res.responseObject.imgList.map(item => {
|
||||
if(res.path){
|
||||
if (
|
||||
that.type == 'fileListIdFront' ||
|
||||
that.type == 'fileListIdBack' ||
|
||||
@@ -1047,9 +1047,6 @@ export default {
|
||||
that.type == 'fileListNotify' ||
|
||||
that.type == 'saleInsuredInfoOther'
|
||||
) {
|
||||
// 是投保人
|
||||
// console.log(that.file)
|
||||
// 证件类型
|
||||
let imageInfoType = ''
|
||||
let name = ''
|
||||
// if (that.type == 'fileListIdFront' && that.id == '1') {
|
||||
@@ -1376,8 +1373,53 @@ export default {
|
||||
this.IDCardOCRValite(that.id, this.orderNo, imgPath, "OTHER", '')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}else{
|
||||
switch (that.type) {
|
||||
case 'fileListIdFront':
|
||||
that.fileListIdFront = []
|
||||
break
|
||||
case 'fileListIdBack':
|
||||
that.fileListIdBack = []
|
||||
break
|
||||
case 'fileLIstImg':
|
||||
that.fileLIstImg = []
|
||||
break
|
||||
case 'fileListBank':
|
||||
that.fileListBank = []
|
||||
break
|
||||
case 'fileListOther':
|
||||
that.fileListOther = []
|
||||
break
|
||||
case 'fileListIdFrontInsured':
|
||||
that.fileListIdFrontInsured = []
|
||||
break
|
||||
case 'fileListIdBackInsured':
|
||||
that.fileListIdBackInsured = []
|
||||
break
|
||||
case 'fileListBankInsured':
|
||||
that.fileListBankInsured = []
|
||||
break
|
||||
case 'fileLIstImgInsured':
|
||||
that.fileLIstImgInsured = []
|
||||
break
|
||||
case 'saleInsuredInfoOther':
|
||||
that.saleInsuredInfoOther = []
|
||||
break
|
||||
case 'saleInsuredPersonInfoOther':
|
||||
that.saleInsuredPersonInfoOther = []
|
||||
break
|
||||
case 'fileListIdFrontBeneficiary':
|
||||
that.fileListIdFrontBeneficiary = []
|
||||
break
|
||||
case 'fileListIdBackBeneficiary':
|
||||
that.fileListIdBackBeneficiary = []
|
||||
break
|
||||
case 'fileLIstImgBeneficiary':
|
||||
that.fileLIstImgBeneficiary = []
|
||||
break
|
||||
}
|
||||
this.$toast.clear()
|
||||
}
|
||||
} else {
|
||||
switch (that.type) {
|
||||
case 'fileListIdFront':
|
||||
@@ -1413,6 +1455,15 @@ export default {
|
||||
case 'saleInsuredPersonInfoOther':
|
||||
that.saleInsuredPersonInfoOther = []
|
||||
break
|
||||
case 'fileListIdFrontBeneficiary':
|
||||
that.fileListIdFrontBeneficiary = []
|
||||
break
|
||||
case 'fileListIdBackBeneficiary':
|
||||
that.fileListIdBackBeneficiary = []
|
||||
break
|
||||
case 'fileLIstImgBeneficiary':
|
||||
that.fileLIstImgBeneficiary = []
|
||||
break
|
||||
}
|
||||
this.$toast.clear()
|
||||
this.$toast(res.resultMessage)
|
||||
|
||||
Reference in New Issue
Block a user