|
|
@ -591,12 +591,20 @@ export default {
|
|
|
|
this.$refs.upload.clearFiles();
|
|
|
|
this.$refs.upload.clearFiles();
|
|
|
|
//刷新大屏页面
|
|
|
|
//刷新大屏页面
|
|
|
|
this.initEchartData();
|
|
|
|
this.initEchartData();
|
|
|
|
|
|
|
|
if (response.code == '200') {
|
|
|
|
this.$message({
|
|
|
|
this.$message({
|
|
|
|
message: "导入成功!",
|
|
|
|
message: "导入成功!",
|
|
|
|
type: "success"
|
|
|
|
type: "success"
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
this.$message({
|
|
|
|
|
|
|
|
message: response.message,
|
|
|
|
|
|
|
|
type: "error"
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
handleError() {
|
|
|
|
handleError(err) {
|
|
|
|
this.$message({
|
|
|
|
this.$message({
|
|
|
|
message: "上传失败!",
|
|
|
|
message: "上传失败!",
|
|
|
|
type: "error"
|
|
|
|
type: "error"
|
|
|
|