Переглянути джерело

毕业学生管理查询条件优化

长阳分支推送专用
ndbs 2 роки тому
джерело
коміт
3bd9e6065c
1 змінених файлів з 20 додано та 20 видалено
  1. +20
    -20
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.js

+ 20
- 20
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuInfoGraduate/Index.js Переглянути файл

@@ -9,7 +9,7 @@ var bootstrap = function ($, learun) {
bind: function () {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 300, 400);
}, 320, 400);
$('#DeptNo').lrselect({
allowSearch: true,
value: "deptno",
@@ -44,28 +44,28 @@ var bootstrap = function ($, learun) {
if (item) {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjsj',
param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 AND Grade='" + Grades + "' order by classno desc" }
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "majorno='" + item.majorno + "' AND Grade='" + Grades + "' order by classno desc" }
});
} else {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjsj',
param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "1=1 AND order by classno desc" }
});
}
} else {
if (item) {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjsj',
param: { strWhere: "majorno='" + item.majorno + "' AND CheckMark=1 order by classno desc" }
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "majorno='" + item.majorno + "' order by classno desc" }
});
} else {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjsj',
param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "1=1 AND order by classno desc" }
});
}
}
@@ -81,32 +81,32 @@ var bootstrap = function ($, learun) {
if (item) {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjsj',
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: {
strWhere: "majorno='" + MajorNos + "' AND CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
strWhere: "majorno='" + MajorNos + "' AND Grade='" + item.text + "' order by classno desc"
}
});
} else {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjsj',
param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "1=1 AND order by classno desc" }
});
}
} else {
if (item) {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjsj',
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: {
strWhere: "CheckMark=1 AND Grade='" + item.text + "' order by classno desc"
strWhere: "1=1 AND Grade='" + item.text + "' order by classno desc"
}
});
} else {
$('#ClassNo').lrselectRefresh({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjsj',
param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" }
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "1=1 AND order by classno desc" }
});
}
}
@@ -115,8 +115,8 @@ var bootstrap = function ($, learun) {
});
$('#ClassNo').lrselect({
allowSearch: true,
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjsj',
param: { strWhere: "1=1 AND CheckMark=1 order by classno desc" },
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=allbjqj',
param: { strWhere: "1=1 AND order by classno desc" },
value: "classno",
text: "classname"
});
@@ -213,7 +213,7 @@ var bootstrap = function ($, learun) {
label: "班级", name: "ClassNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'allbjsj',
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'allbjqj',
key: value,
keyId: 'classno',
callback: function (_data) {


Завантаження…
Відмінити
Зберегти