|
|
@@ -32,15 +32,33 @@ var bootstrap = function ($, learun) { |
|
|
|
$("#NewMajorNo").siblings('div').html($("#NewMajorNo").siblings('div').attr('data-title') + '<font face="宋体">*</font>'); |
|
|
|
$("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title') + '<font face="宋体">*</font>'); |
|
|
|
$(".NewContainer").show(); |
|
|
|
if (item.id === "01" || item.id === "02") { //降级、转班 |
|
|
|
$(".NewSchool").hide(); |
|
|
|
if (item.id === "01" ) { //留级 |
|
|
|
$(".NewSchool").hide(); |
|
|
|
$(".NewContainer").find('.contentDiv.zhuanban').removeAttr('readonly'); |
|
|
|
$("#NewDeptNo").lrselectSet($("#DeptNo").lrselectGet()); |
|
|
|
$("#NewMajorNo").lrselectSet($("#MajorNo").lrselectGet()); |
|
|
|
} |
|
|
|
else if (item.id === "03") { //转专业 |
|
|
|
$('#OutSchool').val(''); |
|
|
|
} else if (item.id === "02") {//转校 |
|
|
|
$(".NewSchool").show(); |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr("isvalid"); |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession"); |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr('readonly'); |
|
|
|
$(".NewSchool").find('.OutSchool').attr("isvalid", 'yes'); |
|
|
|
$(".NewSchool").find('.OutSchool').attr("checkexpession"); |
|
|
|
$(".NewSchool").find('.OutSchool').attr('readonly'); |
|
|
|
} else if (item.id === "03") { //复学 |
|
|
|
$(".NewSchool").hide(); |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr('readonly'); |
|
|
|
$(".NewSchool").find('.OutSchool').attr("isvalid", "Null"); |
|
|
|
$('#OutSchool').val(''); |
|
|
|
} else if (item.id === "04") { //转入 |
|
|
|
$(".NewSchool").hide(); |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr('readonly'); |
|
|
|
$(".NewSchool").find('.OutSchool').attr("isvalid", "Null"); |
|
|
|
$('#OutSchool').val(''); |
|
|
|
} |
|
|
|
else { //退学、休学、转校 |
|
|
|
else { //退学、休学、 |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr("isvalid"); |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession"); |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr('readonly'); |
|
|
@@ -48,6 +66,8 @@ var bootstrap = function ($, learun) { |
|
|
|
$("#NewMajorNo").siblings('div').html($("#NewMajorNo").siblings('div').attr('data-title')); |
|
|
|
$("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title')); |
|
|
|
$(".NewContainer").hide(); |
|
|
|
$(".NewSchool").hide(); |
|
|
|
$('#OutSchool').val(''); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
@@ -147,11 +167,24 @@ var bootstrap = function ($, learun) { |
|
|
|
$("#NewMajorNo").siblings('div').html($("#NewMajorNo").siblings('div').attr('data-title') + '<font face="宋体">*</font>'); |
|
|
|
$("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title') + '<font face="宋体">*</font>'); |
|
|
|
$(".NewContainer").show(); |
|
|
|
if (data[id].StuChangeType == "01" || data[id].StuChangeType == "02") { //降级、转班 |
|
|
|
if (data[id].StuChangeType == "01") { //降级、转班 |
|
|
|
$(".NewContainer").find('.contentDiv.zhuanban').removeAttr('readonly'); |
|
|
|
$(".NewSchool").hide(); |
|
|
|
$('#OutSchool').val(''); |
|
|
|
} |
|
|
|
else if (data[id].StuChangeType == "03") { //转专业 |
|
|
|
else if (data[id].StuChangeType == "02") {//转校 |
|
|
|
$(".NewSchool").show(); |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr("isvalid"); |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr("checkexpession"); |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr('readonly'); |
|
|
|
$(".NewSchool").find('.OutSchool').attr("isvalid"); |
|
|
|
$(".NewSchool").find('.OutSchool').attr("checkexpession"); |
|
|
|
$(".NewSchool").find('.OutSchool').attr('readonly'); |
|
|
|
$('#OutSchool').val(''); |
|
|
|
} else if (data[id].StuChangeType == "03") { //转专业 |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr('readonly'); |
|
|
|
$(".NewSchool").hide(); |
|
|
|
$('#OutSchool').val(''); |
|
|
|
} |
|
|
|
else { //退学、休学、转校 |
|
|
|
$(".NewContainer").find('.contentDiv').removeAttr("isvalid"); |
|
|
@@ -161,6 +194,8 @@ var bootstrap = function ($, learun) { |
|
|
|
$("#NewMajorNo").siblings('div').html($("#NewMajorNo").siblings('div').attr('data-title')); |
|
|
|
$("#NewClassNo").siblings('div').html($("#NewClassNo").siblings('div').attr('data-title')); |
|
|
|
$(".NewContainer").hide(); |
|
|
|
$(".NewSchool").hide(); |
|
|
|
$('#OutSchool').val(''); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|