|
|
@@ -34,6 +34,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
private AccommodationIBLL accommodationIBLL = new AccommodationBLL(); |
|
|
|
private CdMajorIBLL cdMajorIBLL = new CdMajorBLL(); |
|
|
|
private CdDeptIBLL cdDeptIBLL = new CdDeptBLL(); |
|
|
|
private ModuleIBLL moduleIBLL = new ModuleBLL(); |
|
|
|
|
|
|
|
#region 视图功能 |
|
|
|
|
|
|
@@ -322,6 +323,18 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
[AjaxOnly] |
|
|
|
public ActionResult GetPageList(string pagination, string queryJson) |
|
|
|
{ |
|
|
|
var menu = moduleIBLL.GetModuleList(); |
|
|
|
if (!menu.Any(x => x.F_UrlAddress == "/EducationalAdministration/StuInfoFresh/StatusView")) |
|
|
|
{ |
|
|
|
var jData = new |
|
|
|
{ |
|
|
|
rows = new List<StuInfoFreshEntity>(), |
|
|
|
total = 0, |
|
|
|
page = 1, |
|
|
|
records = 0 |
|
|
|
}; |
|
|
|
return Success(jData); |
|
|
|
} |
|
|
|
Pagination paginationobj = pagination.ToObject<Pagination>(); |
|
|
|
var data = stuInfoFreshIBLL.GetPageList(paginationobj, queryJson); |
|
|
|
var jsonData = new |
|
|
|