@@ -186,11 +187,16 @@
icon: 2,
time: 2500
});
- } else {
+ } else if (stageId == -2) {
layer.msg("年龄不符合本次报名范围!", {
icon: 2,
time: 2500
});
+ } else {
+ layer.msg("报名学段的名额已满!", {
+ icon: 2,
+ time: 2500
+ });
}
return;
}
@@ -215,8 +221,10 @@
stageId = res.bx_id;
if (stageId == -1) {
$("#stageTag").html("身份证输入有误,请重新输入!");
- } else {
+ } else if (stageId == -2) {
$("#stageTag").html("年龄不符合本次报名范围!");
+ } else {
+ $("#stageTag").html("报名学段的名额已满!");
}
}
}
@@ -239,8 +247,10 @@
stageId = res.bx_id;
if (stageId == -1) {
$("#stageTag").html("身份证输入有误,请重新输入!");
- } else {
+ } else if (stageId == -2) {
$("#stageTag").html("年龄不符合本次报名范围!");
+ } else {
+ $("#stageTag").html("报名学段的名额已满!");
}
}
}