mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 19:46:43 +08:00
Merge branch 'feature/【保全】' into dev
This commit is contained in:
@@ -87,7 +87,8 @@ export default {
|
|||||||
message: '加载中……'
|
message: '加载中……'
|
||||||
})
|
})
|
||||||
let formdata = new FormData()
|
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 => {
|
uploadImg(formdata).then(res => {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
@@ -182,7 +183,7 @@ export default {
|
|||||||
businessNo: this.customerInfo.edorApplyNo,
|
businessNo: this.customerInfo.edorApplyNo,
|
||||||
businessType: item.imageInfoType,
|
businessType: item.imageInfoType,
|
||||||
imageInfoType: item.imageInfoType,
|
imageInfoType: item.imageInfoType,
|
||||||
rgssUrl: subItem.imgPath,
|
rgssUrl: encodeURI(subItem.imgPath).replace(/\+/g, '%2B'),
|
||||||
subBusinessType: item.imageInfoType,
|
subBusinessType: item.imageInfoType,
|
||||||
subBusinessNo: item.imageInfoType,
|
subBusinessNo: item.imageInfoType,
|
||||||
manageComCode: item.imageInfoType
|
manageComCode: item.imageInfoType
|
||||||
|
|||||||
@@ -135,7 +135,6 @@ export default {
|
|||||||
})
|
})
|
||||||
let formdata = new FormData()
|
let formdata = new FormData()
|
||||||
let imgName = Math.floor(Math.random() * 100).toString() + new Date().getTime() + file.file.name //为图片名加随机数 与时间戳
|
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))
|
formdata.append('imgPath', this.dataURLtoFile(file.content, imgName))
|
||||||
uploadImg(formdata).then(res => {
|
uploadImg(formdata).then(res => {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
|
|||||||
@@ -87,7 +87,8 @@ export default {
|
|||||||
message: '加载中……'
|
message: '加载中……'
|
||||||
})
|
})
|
||||||
let formdata = new FormData()
|
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 => {
|
uploadImg(formdata).then(res => {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
@@ -182,7 +183,7 @@ export default {
|
|||||||
businessNo: this.customerInfo.edorApplyNo,
|
businessNo: this.customerInfo.edorApplyNo,
|
||||||
businessType: item.imageInfoType,
|
businessType: item.imageInfoType,
|
||||||
imageInfoType: item.imageInfoType,
|
imageInfoType: item.imageInfoType,
|
||||||
rgssUrl: subItem.imgPath,
|
rgssUrl: encodeURI(subItem.imgPath).replace(/\+/g, '%2B'),
|
||||||
subBusinessType: item.imageInfoType,
|
subBusinessType: item.imageInfoType,
|
||||||
subBusinessNo: item.imageInfoType,
|
subBusinessNo: item.imageInfoType,
|
||||||
manageComCode: item.imageInfoType
|
manageComCode: item.imageInfoType
|
||||||
|
|||||||
@@ -134,7 +134,8 @@ export default {
|
|||||||
message: '加载中……'
|
message: '加载中……'
|
||||||
})
|
})
|
||||||
let formdata = new FormData()
|
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 => {
|
uploadImg(formdata).then(res => {
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
@@ -229,7 +230,7 @@ export default {
|
|||||||
businessNo: this.customerInfo.edorApplyNo,
|
businessNo: this.customerInfo.edorApplyNo,
|
||||||
businessType: item.imageInfoType,
|
businessType: item.imageInfoType,
|
||||||
imageInfoType: item.imageInfoType,
|
imageInfoType: item.imageInfoType,
|
||||||
rgssUrl: subItem.imgPath,
|
rgssUrl: encodeURI(subItem.imgPath).replace(/\+/g, '%2B'),
|
||||||
subBusinessType: item.imageInfoType,
|
subBusinessType: item.imageInfoType,
|
||||||
subBusinessNo: item.imageInfoType,
|
subBusinessNo: item.imageInfoType,
|
||||||
manageComCode: item.imageInfoType
|
manageComCode: item.imageInfoType
|
||||||
|
|||||||
Reference in New Issue
Block a user