|
|
@@ -41,7 +41,7 @@ var bootstrap = function ($, learun) { |
|
|
|
param: { strWhere: "1=1 AND CheckMark=1" }, |
|
|
|
select: function (item) { |
|
|
|
var Grades = $("#Grade").lrselectGet(); |
|
|
|
if (Grades) { |
|
|
|
if (Grades != null && Grades != "" && Grades != "undefined") { |
|
|
|
if (item) { |
|
|
|
$('#ClassNo').lrselectRefresh({ |
|
|
|
allowSearch: true, |
|
|
@@ -78,12 +78,14 @@ var bootstrap = function ($, learun) { |
|
|
|
text: "text", |
|
|
|
select: function (item) { |
|
|
|
var MajorNos = $("#MajorNo").lrselectGet(); |
|
|
|
if (MajorNos) { |
|
|
|
if (MajorNos != null && MajorNos != "" && MajorNos != "undefined") { |
|
|
|
if (item) { |
|
|
|
$('#ClassNo').lrselectRefresh({ |
|
|
|
allowSearch: true, |
|
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj', |
|
|
|
param: { strWhere: "majorno='" + item.MajorNos + "' AND CheckMark=1 AND Grade='" + item + "' order by classno desc" } |
|
|
|
param: { |
|
|
|
strWhere: "majorno='" + MajorNos + "' AND CheckMark=1 AND Grade='" + item.text + "' order by classno desc" |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
|
$('#ClassNo').lrselectRefresh({ |
|
|
@@ -97,7 +99,9 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#ClassNo').lrselectRefresh({ |
|
|
|
allowSearch: true, |
|
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=bjsj', |
|
|
|
param: { strWhere: " CheckMark=1 AND Grade='" + Grades + "' order by classno desc" } |
|
|
|
param: { |
|
|
|
strWhere: "CheckMark=1 AND Grade='" + item.text + "' order by classno desc" |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
|
$('#ClassNo').lrselectRefresh({ |
|
|
@@ -106,7 +110,8 @@ var bootstrap = function ($, learun) { |
|
|
|
param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" } |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
}); |
|
|
|
$('#ClassNo').lrselect({ |
|
|
|