|
|
@@ -18,7 +18,7 @@ var bootstrap = function ($, learun) { |
|
|
|
bind: function () { |
|
|
|
$('#DormitoryBuildId').lrselect({ |
|
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable', |
|
|
|
param: { code: 'DormitoryInfo', strWhere: "ParentID='" + ParentId + "' and BuildType='5' order by name" }, |
|
|
|
param: { code: 'DormitoryInfo', strWhere: "ParentID='" + ParentId + "' and BuildType='5' and (StudentID is not null and len(StudentID)>0) order by name" }, |
|
|
|
text: 'name', |
|
|
|
value: 'id', |
|
|
|
allowSearch: true |
|
|
|