This commit is contained in:
parent
07dab299bc
commit
6c949166db
|
@ -619,6 +619,11 @@ export default {
|
|||
type: 'error'
|
||||
});
|
||||
|
||||
} else if (data == 0){
|
||||
this.$message({
|
||||
message: '导入失败',
|
||||
type: 'error'
|
||||
});
|
||||
} else {
|
||||
const datas = data.split(';');
|
||||
const column = datas[1].match(/\d+/)[0];
|
||||
|
@ -655,12 +660,10 @@ export default {
|
|||
columnValue = "教学形式";
|
||||
break;
|
||||
}
|
||||
|
||||
this.$message({
|
||||
message: '导入失败,' + data + '(' + columnValue + ')数据错误',
|
||||
type: 'error'
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
event.target.type = "text";
|
||||
|
@ -669,10 +672,10 @@ export default {
|
|||
event.target.name = "file";
|
||||
vm.$forceUpdate();
|
||||
}).catch((err) => {
|
||||
/* this.$message({
|
||||
this.$message({
|
||||
message: '请求失败!',
|
||||
type: 'error'
|
||||
}); */
|
||||
});
|
||||
});
|
||||
},
|
||||
daortanshows() {
|
||||
|
|
Loading…
Reference in New Issue