瀏覽代碼

办事大厅屏蔽学生用户,教师信息管理分页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,
callback: function (data) {
if (op.placeHolders != '') {
console.log(data);
var obj={};
obj[op.ivalue] = op.placeHolders;
obj[op.itext] = op.placeHolders;
data.splice(0, 0, obj);
//data.splice(0, 0, obj);
}
$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',
isPage: true,
rows:100,
isMultiselect: true
});
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");
}
var userinfo = LoginUserInfo.Get();
if (userinfo.Description == "学生")
{
return Redirect("NoLogin");
}
var flowType = dataItemIBLL.GetDetailList("FlowSort", "");
var flowList = wfSchemeIBLL.GetWfSchemeStart().ToList();
var allCount = 0;
@@ -937,6 +941,10 @@ namespace Learun.Application.Web.Controllers
}
//登录用户
var userInfo = LoginUserInfo.Get();
if (userInfo.Description == "学生")
{
return Redirect("NoLogin");
}
ViewBag.UserId = userInfo.userId;
//桌面管理表、卡片块排序管理表增加默认数据
sSO_Drag_DesktopManageIBLL.AddDefaultData(userInfo.userId, "one");
@@ -1271,6 +1279,10 @@ namespace Learun.Application.Web.Controllers
}
//登录用户
var userInfo = LoginUserInfo.Get();
if (userInfo.Description == "学生")
{
return Redirect("NoLogin");
}
ViewBag.UserId = userInfo.userId;
//桌面管理表、卡片块排序管理表增加默认数据
sSO_Drag_DesktopManageIBLL.AddDefaultData(userInfo.userId, "two");
@@ -1609,6 +1621,10 @@ namespace Learun.Application.Web.Controllers
}
//登录用户
var userInfo = LoginUserInfo.Get();
if (userInfo.Description == "学生")
{
return Redirect("NoLogin");
}
ViewBag.UserId = userInfo.userId;
//校园总览
//专业


Loading…
取消
儲存