Browse Source

宿舍代码优化,关闭窗口,优化提示语句

临城职教中职
ndbs 2 years ago
parent
commit
b19fd26b00
2 changed files with 4 additions and 3 deletions
  1. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/IndexBed.js
  2. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/IndexDistribution.js

+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/IndexBed.js View File

@@ -100,6 +100,7 @@ var bootstrap = function ($, learun) {
};
// 保存数据
acceptClick = function (callBack) {
learun.layerClose('indexBed', '');
if (!!callBack) {
callBack();
}


+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/Accommodation/IndexDistribution.js View File

@@ -275,7 +275,7 @@ var bootstrap = function ($, learun) {
if (arrDept.some(function (value, index) {
return value != arrDept[0];
})) {
return learun.alert.warning("选中记录包含多种的数据,不可批量分配班级!");
return learun.alert.warning("选中记录包含多种专业的数据,不可批量分配班级!");
}
}
learun.layerForm({
@@ -312,8 +312,8 @@ var bootstrap = function ($, learun) {
id: 'formRoom',
title: '分配宿舍--' + Name,
url: top.$.rootUrl + '/LogisticsManagement/Accommodation/FormRoom?keyValue=' + keyValue + '&Class=' + Class + '&Sex=' + Sex,
width: 800,
height: 600,
width: 600,
height: 400,
callBack: function (id) {
return top[id].acceptClick(refreshGirdData);
}


Loading…
Cancel
Save