|
@@ -477,7 +477,7 @@ var bootstrap = function ($, learun) { |
|
|
var TermEndScoreScale = $('#TermEndScoreScale').html(); |
|
|
var TermEndScoreScale = $('#TermEndScoreScale').html(); |
|
|
var OtherScoreScale = $('#OtherScoreScale').html(); |
|
|
var OtherScoreScale = $('#OtherScoreScale').html(); |
|
|
var totalScale = Number(OrdinaryScoreScale) + Number(TermInScoreScale) + Number(TermEndScoreScale) + Number(OtherScoreScale); |
|
|
var totalScale = Number(OrdinaryScoreScale) + Number(TermInScoreScale) + Number(TermEndScoreScale) + Number(OtherScoreScale); |
|
|
if (totalScale == 100) { |
|
|
|
|
|
|
|
|
if (totalScale !== 100) { |
|
|
learun.alert.warning("成绩比例设置不合理!"); |
|
|
learun.alert.warning("成绩比例设置不合理!"); |
|
|
return false; |
|
|
return false; |
|
|
} else { |
|
|
} else { |
|
@@ -682,10 +682,10 @@ var bootstrap = function ($, learun) { |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
judgeSelect = function () { |
|
|
judgeSelect = function () { |
|
|
//if (CanInputFlag != "True") { |
|
|
|
|
|
// top.learun.layerConfirm('当前时间不是成绩录入时间!', function (res) { }); |
|
|
|
|
|
// return false; |
|
|
|
|
|
//} |
|
|
|
|
|
|
|
|
if (CanInputFlag != "True") { |
|
|
|
|
|
top.learun.layerConfirm('当前时间不是成绩录入时间!', function (res) { }); |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
var $content = $('body').find('.lr-layout-tool-left'); |
|
|
var $content = $('body').find('.lr-layout-tool-left'); |
|
|
var query = $content.lrGetFormData(); |
|
|
var query = $content.lrGetFormData(); |
|
|