12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- using LeaRun.Application.Busines.FlowManage;
- using LeaRun.Application.Code;
- using LeaRun.Util;
- using LeaRun.Util.WebControl;
- using System.Web.Mvc;
- namespace LeaRun.Application.Web.Areas.FlowManage.Controllers
- {
- /// <summary>
- /// 版 本 6.1
- /// Copyright (c) 2013-2016 上海力软信息技术有限公司
- /// 创建人:陈彬彬
- /// 日 期:2016.03.19 13:57
- /// 描 述:已办流程
- /// </summary>
- public class FlowAferProcessingController : MvcControllerBase
- {
- private WFRuntimeBLL wfProcessBll = new WFRuntimeBLL();
- #region 视图功能
- //
- // GET: /FlowManage/FlowAferProcessing/
- [HttpGet]
- [HandlerAuthorize(PermissionMode.Enforce)]
- public ActionResult Index()
- {
- return View();
- }
- /// <summary>
- /// 查看状态
- /// </summary>
- /// <returns></returns>
- [HttpGet]
- public ActionResult ProcessLookForm()
- {
- return View();
- }
- #endregion
- #region 提取数据
- /// <summary>
- /// 获取已办的工作流程(分页)
- /// </summary>
- /// <param name="pagination">分页参数</param>
- /// <param name="queryJson">查询参数</param>
- /// <returns>返回分页列表Json</returns>
- [HttpGet]
- public ActionResult GetPageListJson(Pagination pagination, string queryJson)
- {
- pagination.page++;
- var data = wfProcessBll.GetToMeAfterPageList(pagination, queryJson);
- var JsonData = new
- {
- rows = data,
- total = pagination.total,
- page = pagination.page,
- records = pagination.records,
- };
- return Content(JsonData.ToJson());
- }
- #endregion
-
- }
- }
|