mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 20:26:44 +08:00
【保全】犹豫期退保、受益人变更、续期账号变更-影像信息上传修改
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user