|
|
|
|
@ -503,7 +503,8 @@
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item label="现场照片" prop="files_list">
|
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :file-list="filesList"
|
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther"
|
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther"
|
|
|
|
|
:on-error="handleError"
|
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,1)}">
|
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
|
<div slot="file" slot-scope="{file}">
|
|
|
|
|
@ -550,7 +551,8 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" v-if="form.is_solve==1">
|
|
|
|
|
<el-form-item label="处理后照片" prop="files_deal_list">
|
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card"
|
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card"
|
|
|
|
|
:on-error="handleError"
|
|
|
|
|
:file-list="dealFilesList" ref="pictureUploads" :limit="3" :auto-upload="true" :data="uploadOther"
|
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,2)}">
|
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
|
@ -602,7 +604,8 @@
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item label="现场照片" prop="files_list">
|
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :file-list="filesList"
|
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther"
|
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther"
|
|
|
|
|
:on-error="handleError"
|
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,1)}">
|
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
|
<div slot="file" slot-scope="{file}">
|
|
|
|
|
@ -641,7 +644,8 @@
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" v-if="form.is_solve==1">
|
|
|
|
|
<el-form-item label="处理后照片" prop="files_deal_list">
|
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card"
|
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card"
|
|
|
|
|
:on-error="handleError"
|
|
|
|
|
:file-list="dealFilesList" ref="pictureUploads" :limit="3" :auto-upload="true" :data="uploadOther"
|
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,2)}">
|
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
|
@ -693,7 +697,8 @@
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<el-form-item label="附件" prop="files_list">
|
|
|
|
|
<el-upload multiple action="/api/admin/upload-file" list-type="picture-card" :file-list="filesList"
|
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther"
|
|
|
|
|
ref="pictureUpload" :auto-upload="true" :data="uploadOther"
|
|
|
|
|
:on-error="handleError"
|
|
|
|
|
:on-success="function(responsose,file,fileList) {return handlesuccess(responsose,file,fileList,1)}">
|
|
|
|
|
<i slot="default" class="el-icon-plus"></i>
|
|
|
|
|
<div slot="file" slot-scope="{file}">
|
|
|
|
|
@ -1242,8 +1247,15 @@
|
|
|
|
|
file.photoType = "after"
|
|
|
|
|
this.dealFilesList = fileList
|
|
|
|
|
}
|
|
|
|
|
this.$message({
|
|
|
|
|
message: '上传成功',
|
|
|
|
|
type: 'success'
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
handleError(err,file,fileList){
|
|
|
|
|
this.$message.error('上传失败,重新上传');
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
resetrainType() {
|
|
|
|
|
this.rainTypeVisible = false
|
|
|
|
|
},
|
|
|
|
|
|