mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 10:16:43 +08:00
@@ -1037,7 +1037,7 @@ export default {
|
|||||||
// console.log(res)
|
// console.log(res)
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
// res.responseObject.imgList.map(item => {
|
if(res.path){
|
||||||
if (
|
if (
|
||||||
that.type == 'fileListIdFront' ||
|
that.type == 'fileListIdFront' ||
|
||||||
that.type == 'fileListIdBack' ||
|
that.type == 'fileListIdBack' ||
|
||||||
@@ -1047,9 +1047,6 @@ export default {
|
|||||||
that.type == 'fileListNotify' ||
|
that.type == 'fileListNotify' ||
|
||||||
that.type == 'saleInsuredInfoOther'
|
that.type == 'saleInsuredInfoOther'
|
||||||
) {
|
) {
|
||||||
// 是投保人
|
|
||||||
// console.log(that.file)
|
|
||||||
// 证件类型
|
|
||||||
let imageInfoType = ''
|
let imageInfoType = ''
|
||||||
let name = ''
|
let name = ''
|
||||||
// if (that.type == 'fileListIdFront' && that.id == '1') {
|
// if (that.type == 'fileListIdFront' && that.id == '1') {
|
||||||
@@ -1376,8 +1373,6 @@ export default {
|
|||||||
this.IDCardOCRValite(that.id, this.orderNo, imgPath, "OTHER", '')
|
this.IDCardOCRValite(that.id, this.orderNo, imgPath, "OTHER", '')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
switch (that.type) {
|
switch (that.type) {
|
||||||
case 'fileListIdFront':
|
case 'fileListIdFront':
|
||||||
@@ -1413,6 +1408,62 @@ export default {
|
|||||||
case 'saleInsuredPersonInfoOther':
|
case 'saleInsuredPersonInfoOther':
|
||||||
that.saleInsuredPersonInfoOther = []
|
that.saleInsuredPersonInfoOther = []
|
||||||
break
|
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':
|
||||||
|
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()
|
this.$toast.clear()
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
|
|||||||
Reference in New Issue
Block a user