Raod 3 years ago
parent fe923da9f4
commit 405cbf772a

@ -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"

Loading…
Cancel
Save