Просмотр исходного кода

宿舍管理--床位排序

临城职教中职
zhangli 2 лет назад
Родитель
Сommit
aa5107f7dc
3 измененных файлов: 10 добавлений и 12 удалений
  1. +8
    -7
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Index.js
  2. +1
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/IndexBed.js
  3. +1
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/IndexDistribution.js

+ 8
- 7
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/Index.js Просмотреть файл

@@ -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 || {};


+ 1
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/IndexBed.js Просмотреть файл

@@ -85,9 +85,7 @@ var bootstrap = function ($, learun) {
],
mainId: 'ID',
isPage: false,
//isMultiselect: true,
//sidx: 'ApartmentId asc,UnitId asc ,FloorId asc ',
//sord: 'ASC',
sidx: ' REPLACE(Name,\'床\',\'\')'

});
page.search();


+ 1
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/IndexDistribution.js Просмотреть файл

@@ -490,8 +490,7 @@ var bootstrap = function ($, learun) {
],
mainId: 'ID',
isPage: false,
//sidx: 'DNo',
//sord: 'ASC',
sidx: ' REPLACE(Name,\'床\',\'\')'
});
//var param;
//param = param || {};


Загрузка…
Отмена
Сохранить