|
|
|
@@ -110,11 +110,11 @@ function update(url){
|
|
|
|
var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
|
|
|
|
var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
|
|
|
|
var cked = $("tbody tr td input.i-checks:checkbox:checked");
|
|
|
|
var cked = $("tbody tr td input.i-checks:checkbox:checked");
|
|
|
|
|
|
|
|
|
|
|
|
var schedulerFlag = $(cked).parent().parent().find(".schedulerFlag").find("span").attr("isScheduler");
|
|
|
|
/* var schedulerFlag = $(cked).parent().parent().find(".schedulerFlag").find("span").attr("isScheduler");
|
|
|
|
if(schedulerFlag!= "undefined" && schedulerFlag=="yes"){//验证配置是否是定时任务,如果是定时任务,不允许修改
|
|
|
|
if(schedulerFlag!= "undefined" && schedulerFlag=="yes"){//验证配置是否是定时任务,如果是定时任务,不允许修改
|
|
|
|
top.$.jBox.tip("<spring:message code='scheduler_warning'/>", "<spring:message code='info'/>");
|
|
|
|
top.$.jBox.tip("<spring:message code='scheduler_warning'/>", "<spring:message code='info'/>");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
} */
|
|
|
|
if($(checkboxes).filter(":checked").length==1){
|
|
|
|
if($(checkboxes).filter(":checked").length==1){
|
|
|
|
if(cked.val()==1){
|
|
|
|
if(cked.val()==1){
|
|
|
|
top.$.jBox.tip("<spring:message code='has_approved'/>", "<spring:message code='info'/>");
|
|
|
|
top.$.jBox.tip("<spring:message code='has_approved'/>", "<spring:message code='info'/>");
|
|
|
|
@@ -143,10 +143,10 @@ function passOpt(url){
|
|
|
|
var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
|
|
|
|
var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
|
|
|
|
|
|
|
|
|
|
|
|
if($(checkboxes).filter(":checked").length>0){
|
|
|
|
if($(checkboxes).filter(":checked").length>0){
|
|
|
|
if(validateIsScheduler(checkboxes)){//验证配置是否是定时任务,如果是定时任务,不允许手动审核
|
|
|
|
/* if(validateIsScheduler(checkboxes)){//验证配置是否是定时任务,如果是定时任务,不允许手动审核
|
|
|
|
top.$.jBox.tip("<spring:message code='scheduler_warning'/>", "<spring:message code='info'/>");
|
|
|
|
top.$.jBox.tip("<spring:message code='scheduler_warning'/>", "<spring:message code='info'/>");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
} */
|
|
|
|
if(validateAllNoAudit(checkboxes)){
|
|
|
|
if(validateAllNoAudit(checkboxes)){
|
|
|
|
top.$.jBox.tip("<spring:message code='has_prohibit_pass'/>", "<spring:message code='info'/>");
|
|
|
|
top.$.jBox.tip("<spring:message code='has_prohibit_pass'/>", "<spring:message code='info'/>");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|