|
@@ -40,7 +40,13 @@ var bootstrap = function ($, learun) { |
|
|
if (item.id === "01" || item.id === "07") { //留级、转班 |
|
|
if (item.id === "01" || item.id === "07") { //留级、转班 |
|
|
$(".NewContainer").find('.contentDiv.zhuanban').removeAttr('readonly'); |
|
|
$(".NewContainer").find('.contentDiv.zhuanban').removeAttr('readonly'); |
|
|
$("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet()); |
|
|
$("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet()); |
|
|
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet()); |
|
|
|
|
|
|
|
|
var timer1 = setInterval(function () { |
|
|
|
|
|
if ($("#NewDeptNo").lrselectGet()) { |
|
|
|
|
|
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet()); |
|
|
|
|
|
console.log("系部赋值后,在赋值专业:" + $("#NewMajorNo").lrselectGet()); |
|
|
|
|
|
clearInterval(timer1); |
|
|
|
|
|
} |
|
|
|
|
|
}, 1000); |
|
|
} else if (item.id === "02") {//转校 |
|
|
} else if (item.id === "02") {//转校 |
|
|
$(".NewContainer").find('.contentDiv').removeAttr("isvalid"); |
|
|
$(".NewContainer").find('.contentDiv').removeAttr("isvalid"); |
|
|
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession"); |
|
|
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession"); |
|
@@ -55,8 +61,19 @@ var bootstrap = function ($, learun) { |
|
|
$(".NewSchool").show(); |
|
|
$(".NewSchool").show(); |
|
|
} else if (item.id === "03") { //复学 |
|
|
} else if (item.id === "03") { //复学 |
|
|
$("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet()); |
|
|
$("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet()); |
|
|
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet()); |
|
|
|
|
|
$("#NewClassNo").lrselectSet($("#ClassNo").lrselectGet()); |
|
|
|
|
|
|
|
|
var timer2 = setInterval(function () { |
|
|
|
|
|
if ($("#NewDeptNo").lrselectGet()) { |
|
|
|
|
|
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet()); |
|
|
|
|
|
console.log("系部赋值后,在赋值专业:" + $("#NewMajorNo").lrselectGet()); |
|
|
|
|
|
clearInterval(timer2); |
|
|
|
|
|
} |
|
|
|
|
|
}, 1000); |
|
|
|
|
|
var timer3 = setInterval(function () { |
|
|
|
|
|
if ($("#NewMajorNo").lrselectGet()) { |
|
|
|
|
|
$("#NewClassNo").lrselectSet($("#ClassNo").lrselectGet()); |
|
|
|
|
|
clearInterval(timer3); |
|
|
|
|
|
} |
|
|
|
|
|
}, 1000); |
|
|
} else if (item.id === "04") { //转入/进 |
|
|
} else if (item.id === "04") { //转入/进 |
|
|
learun.alert.warning("异动转进请点击学籍信息管理-异动转入按钮!"); |
|
|
learun.alert.warning("异动转进请点击学籍信息管理-异动转入按钮!"); |
|
|
$("#StuNo").val(""); |
|
|
$("#StuNo").val(""); |
|
@@ -86,6 +103,7 @@ var bootstrap = function ($, learun) { |
|
|
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' }); |
|
|
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' }); |
|
|
$('#NewDeptNo').lrDataSourceSelect({ |
|
|
$('#NewDeptNo').lrDataSourceSelect({ |
|
|
code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (item) { |
|
|
code: 'CdDeptInfo', value: 'deptno', text: 'deptname', select: function (item) { |
|
|
|
|
|
//console.log("选择的系部为:" + JSON.stringify(item)); |
|
|
if (item != null && item != undefined) { |
|
|
if (item != null && item != undefined) { |
|
|
$('#NewMajorNo').lrselectRefresh({ |
|
|
$('#NewMajorNo').lrselectRefresh({ |
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', |
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=CdMajorInfo', |
|
@@ -101,6 +119,7 @@ var bootstrap = function ($, learun) { |
|
|
}); |
|
|
}); |
|
|
$('#NewMajorNo').lrDataSourceSelect({ |
|
|
$('#NewMajorNo').lrDataSourceSelect({ |
|
|
code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (item) { |
|
|
code: 'CdMajorInfo', value: 'majorno', text: 'majorname', select: function (item) { |
|
|
|
|
|
//console.log("选择的专业为:" + JSON.stringify(item)); |
|
|
if (item != null && item != undefined) { |
|
|
if (item != null && item != undefined) { |
|
|
$('#NewClassNo').lrselectRefresh({ |
|
|
$('#NewClassNo').lrselectRefresh({ |
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj', |
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj', |
|
@@ -221,6 +240,7 @@ var bootstrap = function ($, learun) { |
|
|
}; |
|
|
}; |
|
|
// 保存数据 |
|
|
// 保存数据 |
|
|
acceptClick = function (callBack) { |
|
|
acceptClick = function (callBack) { |
|
|
|
|
|
//console.log($('body').lrGetFormData()); |
|
|
if (!$('body').lrValidform()) { |
|
|
if (!$('body').lrValidform()) { |
|
|
return false; |
|
|
return false; |
|
|
} |
|
|
} |
|
|