| | |
| | | console.log(this.uploadFileList1) |
| | | let _this = this |
| | | |
| | | if(this.formData.status=='是') |
| | | this.formData.status = 1 |
| | | else |
| | | this.formData.status = 0 |
| | | |
| | | this.uploading = true; |
| | | uploadPic(formData).then(response => { |
| | | _this.uploadFileList1 = [] |
| | |
| | | updateSelfEconomy(_this.formData).then(response => { |
| | | this.$modal.msgSuccess("文档上传成功"); |
| | | // this.open = false; |
| | | if(this.formData.status=='是') |
| | | this.formData.status = 1 |
| | | else |
| | | this.formData.status = 0 |
| | | |
| | | }); |
| | | }) |
| | | |
| | | this.uploading = false; |
| | | }, |
| | | picUpload() |
| | | { |
| | |
| | | else |
| | | _this.formData.status = '否' |
| | | }); |
| | | |
| | | // } |
| | | // else{ |
| | | // _this.fileListOther.push({name:response.data.fileName, url:response.data.url}) |
| | | |
| | | // } |
| | | }); |
| | | this.uploading = false; |
| | | }, |
| | | requestUpload(params) |
| | | { |