【保全】犹豫期退保、受益人变更、续期账号变更-影像信息上传修改

This commit is contained in:
yuweiqi
2020-06-13 13:27:05 +08:00
parent a85f41f012
commit 152a66adc8
4 changed files with 9 additions and 7 deletions

View File

@@ -87,7 +87,8 @@ export default {
message: '加载中……'
})
let formdata = new FormData()
formdata.append('imgPath', this.dataURLtoFile(file.content, file.file.name))
let imgName = Math.floor(Math.random() * 100).toString() + new Date().getTime() + file.file.name //为图片名加随机数 与时间戳
formdata.append('imgPath', this.dataURLtoFile(file.content, imgName))
uploadImg(formdata).then(res => {
this.$toast.clear()
if (res.result == '0') {
@@ -182,7 +183,7 @@ export default {
businessNo: this.customerInfo.edorApplyNo,
businessType: item.imageInfoType,
imageInfoType: item.imageInfoType,
rgssUrl: subItem.imgPath,
rgssUrl: encodeURI(subItem.imgPath).replace(/\+/g, '%2B'),
subBusinessType: item.imageInfoType,
subBusinessNo: item.imageInfoType,
manageComCode: item.imageInfoType

View File

@@ -135,7 +135,6 @@ export default {
})
let formdata = new FormData()
let imgName = Math.floor(Math.random() * 100).toString() + new Date().getTime() + file.file.name //为图片名加随机数 与时间戳
console.log('imgName----', imgName)
formdata.append('imgPath', this.dataURLtoFile(file.content, imgName))
uploadImg(formdata).then(res => {
this.$toast.clear()

View File

@@ -87,7 +87,8 @@ export default {
message: '加载中……'
})
let formdata = new FormData()
formdata.append('imgPath', this.dataURLtoFile(file.content, file.file.name))
let imgName = Math.floor(Math.random() * 100).toString() + new Date().getTime() + file.file.name //为图片名加随机数 与时间戳
formdata.append('imgPath', this.dataURLtoFile(file.content, imgName))
uploadImg(formdata).then(res => {
this.$toast.clear()
if (res.result == '0') {
@@ -182,7 +183,7 @@ export default {
businessNo: this.customerInfo.edorApplyNo,
businessType: item.imageInfoType,
imageInfoType: item.imageInfoType,
rgssUrl: subItem.imgPath,
rgssUrl: encodeURI(subItem.imgPath).replace(/\+/g, '%2B'),
subBusinessType: item.imageInfoType,
subBusinessNo: item.imageInfoType,
manageComCode: item.imageInfoType

View File

@@ -134,7 +134,8 @@ export default {
message: '加载中……'
})
let formdata = new FormData()
formdata.append('imgPath', this.dataURLtoFile(file.content, file.file.name))
let imgName = Math.floor(Math.random() * 100).toString() + new Date().getTime() + file.file.name //为图片名加随机数 与时间戳
formdata.append('imgPath', this.dataURLtoFile(file.content, imgName))
uploadImg(formdata).then(res => {
this.$toast.clear()
if (res.result == '0') {
@@ -229,7 +230,7 @@ export default {
businessNo: this.customerInfo.edorApplyNo,
businessType: item.imageInfoType,
imageInfoType: item.imageInfoType,
rgssUrl: subItem.imgPath,
rgssUrl: encodeURI(subItem.imgPath).replace(/\+/g, '%2B'),
subBusinessType: item.imageInfoType,
subBusinessNo: item.imageInfoType,
manageComCode: item.imageInfoType