|
@@ -53,6 +53,11 @@
|
|
<label>考生编号</label>
|
|
<label>考生编号</label>
|
|
<input type="text" name="studentId" id="studentId" value="${query.studentId}" maxlength="10" class="input-medium"onkeyup="this.value=this.value.replace(/\D/g,'')"/>
|
|
<input type="text" name="studentId" id="studentId" value="${query.studentId}" maxlength="10" class="input-medium"onkeyup="this.value=this.value.replace(/\D/g,'')"/>
|
|
|
|
|
|
|
|
+ <label>总分:从</label>
|
|
|
|
+ <input type="text" number="true" id="startScroe" name="startScroe"value="${query.startScroe}" class="input-medium"/>
|
|
|
|
+ <label> 到 </label>
|
|
|
|
+ <input type="text" number="true" id="endScroe" name="endScroe" value="${query.endScroe}" class="input-medium"/>
|
|
|
|
+
|
|
<input id="btnSubmit" class="btn btn-primary" type="button" value="查询" onclick="goSearch()"/>
|
|
<input id="btnSubmit" class="btn btn-primary" type="button" value="查询" onclick="goSearch()"/>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</form>
|
|
@@ -194,6 +199,20 @@ function page(n,s){
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
function goSearch(){
|
|
function goSearch(){
|
|
|
|
+ var startScroe = $("#startScroe").val();var endScore = $("#endScroe").val();
|
|
|
|
+ if(startScroe.length>0){
|
|
|
|
+ if(endScore.length == 0){
|
|
|
|
+ alert("请输入结束分数值!");return false;
|
|
|
|
+ }
|
|
|
|
+ }if(endScore.length>0){
|
|
|
|
+ if(startScroe.length == 0){
|
|
|
|
+ alert("请输入开始分数值!");return false;
|
|
|
|
+ }
|
|
|
|
+ }if(endScore.length>0 && startScroe.length > 0){
|
|
|
|
+ if(parseInt(startScroe) > parseInt(endScore)){
|
|
|
|
+ alert("开始分值必须小于结束分值");return false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
$("#pageNumber").val(1);
|
|
$("#pageNumber").val(1);
|
|
var studentId = parseInt($("#studentId").val());
|
|
var studentId = parseInt($("#studentId").val());
|
|
if( $("#studentId").val()!="" && studentId>2147483647 ){
|
|
if( $("#studentId").val()!="" && studentId>2147483647 ){
|