|
|
@@ -106,6 +106,15 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
{ |
|
|
|
Pagination paginationobj = pagination.ToObject<Pagination>(); |
|
|
|
var data = dispatchIBLL.GetPageList(paginationobj, queryJson); |
|
|
|
foreach (var item in data) |
|
|
|
{ |
|
|
|
var NewList = nWFTaskIBLL.GetLogList(item.processId).OrderBy(o => o.F_CreateDate).ToList(); |
|
|
|
if (NewList.Count > 0) |
|
|
|
{ |
|
|
|
item.CreateTime = NewList.First().F_CreateDate; |
|
|
|
item.CreateUser = NewList.First().F_CreateUserName; |
|
|
|
} |
|
|
|
} |
|
|
|
var jsonData = new |
|
|
|
{ |
|
|
|
rows = data, |
|
|
@@ -205,9 +214,9 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers |
|
|
|
/// <returns></returns> |
|
|
|
public ActionResult ModifyStatus(string keyValue, int pastatus, string processId) |
|
|
|
{ |
|
|
|
var userInfo = LoginUserInfo.Get(); |
|
|
|
var RealName = userInfo.realName; |
|
|
|
dispatchIBLL.ModifyStatus(keyValue, pastatus, processId, RealName); |
|
|
|
//var userInfo = LoginUserInfo.Get(); |
|
|
|
//var RealName = userInfo.realName; |
|
|
|
dispatchIBLL.ModifyStatus(keyValue, pastatus, processId); |
|
|
|
return Success("提交成功!"); |
|
|
|
} |
|
|
|
|
|
|
|