using Learun.Application.OA.Gantt; using System.Web.Mvc; namespace Learun.Application.Web.Areas.LR_OAModule.Controllers { /// /// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 /// Copyright (c) 2013-2017 /// 创建人:陈彬彬 /// 日 期:2018.06.19 /// 描 述:项目计划管理 /// public class ProjectGanttController : MvcControllerBase { private JQueryGanttIBLL jQueryGanttIBLL = new JQueryGanttBLL(); /// /// 管理页面 /// /// [HttpGet] public ActionResult Index() { return View(); } /// /// 添加页面 /// /// [HttpGet] public ActionResult Form() { return View(); } /// /// 获取数据 /// /// public ActionResult GetList(string queryJson) { var data = jQueryGanttIBLL.GetList(queryJson); return JsonResult(data); } #region 提交数据 /// /// 保存(新增、修改) /// /// 主键值 /// 实体 /// [HttpPost, ValidateAntiForgeryToken, AjaxOnly, ValidateInput(false)] public ActionResult SaveEntity(string keyValue, JQueryGanttEntity entity) { jQueryGanttIBLL.SaveEntity(keyValue, entity); return Success("保存成功!"); } #endregion } }