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

办事大厅屏蔽学生用户,教师信息管理分页100条,手机框架下拉多一条undefined

临城职教中职
坤 梁 2 роки тому
джерело
коміт
e23f373669
3 змінених файлів з 18 додано та 2 видалено
  1. +1
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/scripts/lrmuiex.js
  2. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
  3. +16
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs

+ 1
- 2
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/scripts/lrmuiex.js Переглянути файл

@@ -803,11 +803,10 @@
code: op.code, code: op.code,
callback: function (data) { callback: function (data) {
if (op.placeHolders != '') { if (op.placeHolders != '') {
console.log(data);
var obj={}; var obj={};
obj[op.ivalue] = op.placeHolders; obj[op.ivalue] = op.placeHolders;
obj[op.itext] = op.placeHolders; obj[op.itext] = op.placeHolders;
data.splice(0, 0, obj);
//data.splice(0, 0, obj);
} }
$this.lrpickerSetData(data); $this.lrpickerSetData(data);
} }


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

@@ -655,6 +655,7 @@ var bootstrap = function ($, learun) {
], ],
mainId: 'EmpId', mainId: 'EmpId',
isPage: true, isPage: true,
rows:100,
isMultiselect: true isMultiselect: true
}); });
page.search(); page.search();


+ 16
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs Переглянути файл

@@ -127,6 +127,10 @@ namespace Learun.Application.Web.Controllers
return Redirect("NoLogin"); return Redirect("NoLogin");
} }
var userinfo = LoginUserInfo.Get(); var userinfo = LoginUserInfo.Get();
if (userinfo.Description == "学生")
{
return Redirect("NoLogin");
}
var flowType = dataItemIBLL.GetDetailList("FlowSort", ""); var flowType = dataItemIBLL.GetDetailList("FlowSort", "");
var flowList = wfSchemeIBLL.GetWfSchemeStart().ToList(); var flowList = wfSchemeIBLL.GetWfSchemeStart().ToList();
var allCount = 0; var allCount = 0;
@@ -937,6 +941,10 @@ namespace Learun.Application.Web.Controllers
} }
//登录用户 //登录用户
var userInfo = LoginUserInfo.Get(); var userInfo = LoginUserInfo.Get();
if (userInfo.Description == "学生")
{
return Redirect("NoLogin");
}
ViewBag.UserId = userInfo.userId; ViewBag.UserId = userInfo.userId;
//桌面管理表、卡片块排序管理表增加默认数据 //桌面管理表、卡片块排序管理表增加默认数据
sSO_Drag_DesktopManageIBLL.AddDefaultData(userInfo.userId, "one"); sSO_Drag_DesktopManageIBLL.AddDefaultData(userInfo.userId, "one");
@@ -1271,6 +1279,10 @@ namespace Learun.Application.Web.Controllers
} }
//登录用户 //登录用户
var userInfo = LoginUserInfo.Get(); var userInfo = LoginUserInfo.Get();
if (userInfo.Description == "学生")
{
return Redirect("NoLogin");
}
ViewBag.UserId = userInfo.userId; ViewBag.UserId = userInfo.userId;
//桌面管理表、卡片块排序管理表增加默认数据 //桌面管理表、卡片块排序管理表增加默认数据
sSO_Drag_DesktopManageIBLL.AddDefaultData(userInfo.userId, "two"); sSO_Drag_DesktopManageIBLL.AddDefaultData(userInfo.userId, "two");
@@ -1609,6 +1621,10 @@ namespace Learun.Application.Web.Controllers
} }
//登录用户 //登录用户
var userInfo = LoginUserInfo.Get(); var userInfo = LoginUserInfo.Get();
if (userInfo.Description == "学生")
{
return Redirect("NoLogin");
}
ViewBag.UserId = userInfo.userId; ViewBag.UserId = userInfo.userId;
//校园总览 //校园总览
//专业 //专业


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