|
@@ -344,11 +344,11 @@ export default {
|
|
.drCourseSectionimportData(formData)
|
|
.drCourseSectionimportData(formData)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
- if (!res.msg) {
|
|
|
|
|
|
+ if (!res.data.errorLog) {
|
|
self.$message.success("导入成功");
|
|
self.$message.success("导入成功");
|
|
self.dialogDR = false;
|
|
self.dialogDR = false;
|
|
} else {
|
|
} else {
|
|
- self.errorData = res.msg;
|
|
|
|
|
|
+ self.errorData = res.data.errorLog;
|
|
self.dialogERROR = true;
|
|
self.dialogERROR = true;
|
|
}
|
|
}
|
|
}
|
|
}
|