|
@@ -71,19 +71,19 @@ export default {
|
|
|
} else {
|
|
|
const { termid, batchid, classid, userid } = this.user;
|
|
|
if (!termid) {
|
|
|
- this.$toast({ type: 'fail', message: '学生缺少期信息' });
|
|
|
+ this.$notify({ type: 'danger', message: '学生缺少期信息' });
|
|
|
return;
|
|
|
}
|
|
|
if (!batchid) {
|
|
|
- this.$toast({ type: 'fail', message: '学生缺少批次信息' });
|
|
|
+ this.$notify({ type: 'danger', message: '学生缺少批次信息' });
|
|
|
return;
|
|
|
}
|
|
|
if (!classid) {
|
|
|
- this.$toast({ type: 'fail', message: '学生缺少班级信息' });
|
|
|
+ this.$notify({ type: 'danger', message: '学生缺少班级信息' });
|
|
|
return;
|
|
|
}
|
|
|
if (!userid) {
|
|
|
- this.$toast({ type: 'fail', message: '缺少学生信息' });
|
|
|
+ this.$notify({ type: 'danger', message: '缺少学生信息' });
|
|
|
return;
|
|
|
}
|
|
|
duplicate = { ...duplicate, termid, batchid, classid, studentid: userid };
|