|
|
@@ -140,8 +140,13 @@
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="资质文件">
|
|
|
- <el-upload multiple style="margin-top: 10px;" action="" ref="refuploadattach"
|
|
|
- :http-request="uploadrequest" class="attach-uploader" :before-upload="beforeAvatarUpload">
|
|
|
+ <!--<el-upload multiple style="margin-top: 10px;" action="" ref="refuploadattach"-->
|
|
|
+ <!--:http-request="uploadrequest" class="attach-uploader" :before-upload="beforeAvatarUpload">-->
|
|
|
+ <!--<i class="el-icon-plus attach-uploader-icon"></i>-->
|
|
|
+ <!--<div slot="tip" class="el-upload__tip">大小为512KB-5MB</div>-->
|
|
|
+ <!--</el-upload>-->
|
|
|
+ <el-upload multiple style="margin-top: 10px;" action="" ref="refuploadattach" :http-request="uploadrequest"
|
|
|
+ class="attach-uploader" :before-upload="beforeAvatarUpload">
|
|
|
<i class="el-icon-plus attach-uploader-icon"></i>
|
|
|
<div slot="tip" class="el-upload__tip">大小为512KB-5MB</div>
|
|
|
</el-upload>
|
|
|
@@ -411,6 +416,7 @@
|
|
|
},
|
|
|
Id: '', //传的参数
|
|
|
editFlag: '', //编辑操作标记
|
|
|
+ waituploads: [], // 等待上传的附件列表
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
@@ -612,7 +618,8 @@
|
|
|
message: res.data.message,
|
|
|
})
|
|
|
this.visible = false
|
|
|
- this.initData()
|
|
|
+ // this.initData()
|
|
|
+ this.getFileList()
|
|
|
this.$refs.refuploadattach.uploadFiles = []
|
|
|
} else {
|
|
|
_this.$message({
|
|
|
@@ -679,7 +686,7 @@
|
|
|
},
|
|
|
uploadrequest(option) {
|
|
|
let _this = this
|
|
|
- _this.$axios.post(process.env.upfilehost, {})
|
|
|
+ axios.post(process.env.upfilehost, {})
|
|
|
.then(function (res) {
|
|
|
if (res.data && res.data.fid && res.data.fid !== '') {
|
|
|
option.action = `http://${res.data.url}/${res.data.fid}`
|