|
|
|
@ -314,6 +314,12 @@
|
|
|
|
|
|
|
|
|
|
//系统单选
|
|
|
|
|
form.on('checkbox(select_xt)', function (obj) {
|
|
|
|
|
if($.isEmpty($("select[name='universitiesCollegesId']").val())){
|
|
|
|
|
$("input[name='xt_id']").prop("checked", false);
|
|
|
|
|
loadxtInfo();
|
|
|
|
|
Common.info("请选择授权院校!!!");
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if ($("input[name='xt_id']:checked").length == xtList.length) {
|
|
|
|
|
$("input[name='allSelect_1']").prop("checked", true);
|
|
|
|
|
} else {
|
|
|
|
@ -321,7 +327,6 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
loadkcInfo();
|
|
|
|
|
|
|
|
|
|
form.render();
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -513,6 +518,13 @@
|
|
|
|
|
|
|
|
|
|
//系统全选
|
|
|
|
|
form.on('checkbox(allSelect_1)', function (obj) {
|
|
|
|
|
if($.isEmpty($("select[name='universitiesCollegesId']").val())){
|
|
|
|
|
$("input[name='allSelect_1']").prop("checked", false);
|
|
|
|
|
loadxtInfo();
|
|
|
|
|
Common.info("请选择授权院校!!!");
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (obj.elem.checked) {
|
|
|
|
|
$("input[name='xt_id']").prop("checked", true);
|
|
|
|
|
} else {
|
|
|
|
|