|
|
@ -1315,8 +1315,11 @@ export default { |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// 选择上传文件时 |
|
|
// 选择上传文件时 |
|
|
onChange (file) { |
|
|
|
|
|
this.fileList.push(file) |
|
|
|
|
|
|
|
|
onRemove(file, fileList){ |
|
|
|
|
|
this.fileList = fileList |
|
|
|
|
|
}, |
|
|
|
|
|
onChange(file, fileList){ |
|
|
|
|
|
this.fileList = fileList |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// 下载 |
|
|
// 下载 |
|
|
@ -1666,7 +1669,7 @@ export default { |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-col :span="24"> |
|
|
<el-col :span="24"> |
|
|
<el-upload class="customer-upload" drag action="javascript:void(0);" ref="uploadFile" :limit="1" accept=".xlsx,.xls" |
|
|
<el-upload class="customer-upload" drag action="javascript:void(0);" ref="uploadFile" :limit="1" accept=".xlsx,.xls" |
|
|
:before-upload="beforeUploadHandle" :on-change="onChange" :auto-upload="false" style="text-align: left;"> |
|
|
|
|
|
|
|
|
:before-upload="beforeUploadHandle" :on-remove="onRemove" :on-change="onChange" :auto-upload="false" style="text-align: left;"> |
|
|
<i class="el-icon-upload"></i> |
|
|
<i class="el-icon-upload"></i> |
|
|
<div class="el-upload__text">Drag the file here,or<em> click to upload</em></div> |
|
|
<div class="el-upload__text">Drag the file here,or<em> click to upload</em></div> |
|
|
</el-upload> |
|
|
</el-upload> |
|
|
|