From 827958ad7fbe562d2c3d45781200be61e5601a62 Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Fri, 21 Apr 2023 15:53:02 +0800 Subject: [PATCH] 'commit' --- WebRoot/html/ypzs/view/apply.html | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/WebRoot/html/ypzs/view/apply.html b/WebRoot/html/ypzs/view/apply.html index 1317680..2ee3f74 100644 --- a/WebRoot/html/ypzs/view/apply.html +++ b/WebRoot/html/ypzs/view/apply.html @@ -11,7 +11,8 @@

-
+
报名申请表
@@ -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("报名学段的名额已满!"); } } }