|
@@ -1092,11 +1092,7 @@ export default {
|
|
if (this.activeType == "HIGH_ONLINE") {
|
|
if (this.activeType == "HIGH_ONLINE") {
|
|
superFindClassGroups({ classGroupId: this.activeClass }).then(res => {
|
|
superFindClassGroups({ classGroupId: this.activeClass }).then(res => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
- let maxNum = res.data.rows[0].expectStudentNum;
|
|
|
|
- if (arr.length + this.activeListStudent.length > maxNum) {
|
|
|
|
- this.$message.error("超过预计招生人数");
|
|
|
|
- return;
|
|
|
|
- } else if (
|
|
|
|
|
|
+ if (
|
|
this.activeListStudent.length > 5 ||
|
|
this.activeListStudent.length > 5 ||
|
|
this.activeListStudent.length < 3
|
|
this.activeListStudent.length < 3
|
|
) {
|
|
) {
|