|
|
@ -317,11 +317,11 @@ export default { |
|
|
|
console.log("resresresresresresres", res); |
|
|
|
|
|
|
|
this.getTableData(); |
|
|
|
if (res.data.code == 0) { |
|
|
|
return this.$message.success(res.data.data || '导入中,请到系统管理-导入记录中查看进度'); |
|
|
|
} else { |
|
|
|
return this.$message.error(res.data.msg); |
|
|
|
} |
|
|
|
this.$message({ |
|
|
|
showClose: true, |
|
|
|
message: '导入中,请到系统管理-导入记录中查看进度', |
|
|
|
duration: 0 |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch((err) => { |
|
|
|
console.log("失败", err); |
|
|
|