Browse Source

【修改】毕业学生管理:下拉框语句优化;

新疆警官学校中职
dyy 1 year ago
parent
commit
e8da88b543
1 changed files with 9 additions and 9 deletions
  1. +9
    -9
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.js

+ 9
- 9
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.js View File

@@ -45,13 +45,13 @@ var bootstrap = function ($, learun) {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "majorno='" + item.majorno + "' AND Grade='" + Grades + "' order by classno desc" }
param: { strWhere: "majorno='" + item.majorno + "' AND Grade='" + Grades + "'" }
});
} else {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "1=1 AND order by classno desc" }
param: { strWhere: "1=1 " }
});
}
} else {
@@ -59,13 +59,13 @@ var bootstrap = function ($, learun) {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "majorno='" + item.majorno + "' order by classno desc" }
param: { strWhere: "majorno='" + item.majorno + "' " }
});
} else {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "1=1 AND order by classno desc" }
param: { strWhere: "1=1 " }
});
}
}
@@ -83,14 +83,14 @@ var bootstrap = function ($, learun) {
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: {
strWhere: "majorno='" + MajorNos + "' AND Grade='" + item.text + "' order by classno desc"
strWhere: "majorno='" + MajorNos + "' AND Grade='" + item.text + "'"
}
});
} else {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "1=1 AND order by classno desc" }
param: { strWhere: "1=1 " }
});
}
} else {
@@ -99,14 +99,14 @@ var bootstrap = function ($, learun) {
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: {
strWhere: "1=1 AND Grade='" + item.text + "' order by classno desc"
strWhere: "1=1 AND Grade='" + item.text + "' "
}
});
} else {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "1=1 AND order by classno desc" }
param: { strWhere: "1=1 " }
});
}
}
@@ -116,7 +116,7 @@ var bootstrap = function ($, learun) {
$('#ClassNo').lrselect({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "1=1 AND order by classno desc" },
param: { strWhere: "1=1 " },
value: "classno",
text: "classname"
});


Loading…
Cancel
Save