diff --git a/app/views/challenges/_edit_evaluating_page.html.erb b/app/views/challenges/_edit_evaluating_page.html.erb
index 3dd94163..777fbfd8 100644
--- a/app/views/challenges/_edit_evaluating_page.html.erb
+++ b/app/views/challenges/_edit_evaluating_page.html.erb
@@ -191,7 +191,7 @@
-
+
@@ -330,7 +330,9 @@
function startSystem_score_percentage(){
getpercentage()
}
-
+ // function customSystem_score_percentage(){
+ //
+ // }
$(function(){
//填写百分比初始化
//$("#All_tests").attr('checked', 'checked');
@@ -426,12 +428,11 @@
if ($("#Custom_ratio").is(":checked")) {
for (var i = 0; i < percentagelist.length; i++) {
maxnum = maxnum+parseInt($(percentagelist[i]).val());
-
}
}
}
- if(maxnum != 100){
+ if(maxnum<100||maxnum>100){
$("#occupy_type").show()
return
}