|
|
@ -453,7 +453,6 @@ export default { |
|
|
|
}, |
|
|
|
created: function () { |
|
|
|
this.uploadUrl = `${window.SITE_CONFIG['apiURL']}/oss/file/uploadImg?token=${Cookies.get('token')}` |
|
|
|
this.uploadFileUrl = `${window.SITE_CONFIG['apiURL']}/oss/file/uploadAllFile?token=${Cookies.get('token')}` |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
beforeAvatarUpload (file) { |
|
|
@ -748,8 +747,6 @@ export default { |
|
|
|
this.postDataForm.evaluateDeptDTOS = [] |
|
|
|
} |
|
|
|
this.isAble = true |
|
|
|
|
|
|
|
|
|
|
|
// 将对象遍历成数组 |
|
|
|
for (let oimg = 0; oimg < this.postDataForm.outHandleImagesPC.length; oimg++) { |
|
|
|
this.postDataForm.outHandleImages[oimg] = this.postDataForm.outHandleImagesPC[oimg].url |
|
|
@ -757,9 +754,6 @@ export default { |
|
|
|
for (let himg = 0; himg < this.postDataForm.handleImagesPC.length; himg++) { |
|
|
|
this.postDataForm.handleImages[himg] = this.postDataForm.handleImagesPC[himg].url |
|
|
|
} |
|
|
|
console.log(this.postDataForm) |
|
|
|
return false |
|
|
|
|
|
|
|
this.$http['post']( |
|
|
|
'/events/item/itemHandleSubmit', this.postDataForm).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|