|
|
@@ -262,10 +262,10 @@ var bootstrap = function ($, learun) { |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
//分类管理 |
|
|
|
$("#lr_Classify").on("click", function () { |
|
|
|
learun.layerForm({ |
|
|
@@ -304,14 +304,14 @@ var bootstrap = function ($, learun) { |
|
|
|
selectedParent.ChildType = "5"; |
|
|
|
} |
|
|
|
var param = {}; |
|
|
|
|
|
|
|
|
|
|
|
if (item.title == '1') |
|
|
|
param.ApartmentId = item.value; |
|
|
|
else if (item.title == '2') |
|
|
|
param.UnitId = item.value; |
|
|
|
else if (item.title == '3') |
|
|
|
param.FloorId = item.value; |
|
|
|
|
|
|
|
|
|
|
|
//page.initGird(); |
|
|
|
//page.search({ ParentID: item.value }); |
|
|
|
page.search(param); |
|
|
@@ -433,6 +433,7 @@ var bootstrap = function ($, learun) { |
|
|
|
sidx: 'ApartmentId asc,UnitId asc ,FloorId asc ', |
|
|
|
//sord: 'ASC', |
|
|
|
isSubGrid: true, // 是否有子表 |
|
|
|
//床位信息 |
|
|
|
subGridExpanded: function (subContentId, rowItem) { |
|
|
|
$('#' + subContentId).jfGrid({ |
|
|
|
url: top.$.rootUrl + '/LogisticsManagement/Accommodation/GetBedListByRoomId?RoomId=' + rowItem.ID, |
|
|
@@ -454,7 +455,7 @@ var bootstrap = function ($, learun) { |
|
|
|
], |
|
|
|
mainId: 'ID', |
|
|
|
isPage: false, |
|
|
|
//sidx: 'DNo', |
|
|
|
sidx: ' REPLACE(Name,\'床\',\'\')' |
|
|
|
//sord: 'ASC', |
|
|
|
}); |
|
|
|
//var param; |
|
|
@@ -467,7 +468,7 @@ var bootstrap = function ($, learun) { |
|
|
|
//$("#gridtable").empty(); |
|
|
|
//$("#gridtable")[0].dfop = undefined; |
|
|
|
//if (selectedParent.BuildType == undefined || selectedParent.BuildType === "3") { |
|
|
|
|
|
|
|
|
|
|
|
//} else { |
|
|
|
// //lrAuthorizeJfGridLei |
|
|
|
// $('#gridtable').jfGrid({ |
|
|
@@ -563,7 +564,7 @@ var bootstrap = function ($, learun) { |
|
|
|
// }); |
|
|
|
//} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
search: function (param) { |
|
|
|
param = param || {}; |
|
|
|