|
@@ -77,7 +77,6 @@
|
|
btn-type="success"
|
|
btn-type="success"
|
|
:upload-url="uploadUrl"
|
|
:upload-url="uploadUrl"
|
|
:format="['xls', 'xlsx']"
|
|
:format="['xls', 'xlsx']"
|
|
- @upload-error="uplaodError"
|
|
|
|
@upload-success="uploadSuccess"
|
|
@upload-success="uploadSuccess"
|
|
>
|
|
>
|
|
</upload-button>
|
|
</upload-button>
|
|
@@ -290,9 +289,9 @@ export default {
|
|
.catch(() => {});
|
|
.catch(() => {});
|
|
},
|
|
},
|
|
// import
|
|
// import
|
|
- uplaodError(errorData) {
|
|
|
|
- this.$notify.error({ title: "错误提示", message: errorData.message });
|
|
|
|
- },
|
|
|
|
|
|
+ // uplaodError(errorData) {
|
|
|
|
+ // this.$notify.error({ title: "错误提示", message: errorData.message });
|
|
|
|
+ // },
|
|
uploadSuccess() {
|
|
uploadSuccess() {
|
|
this.$message.success("文件上传成功,后台正在导入!");
|
|
this.$message.success("文件上传成功,后台正在导入!");
|
|
this.getList();
|
|
this.getList();
|