routine update

This commit is contained in:
yubaolee
2017-01-23 18:25:24 +08:00
parent 550c511be1
commit 2900d52bc3
5 changed files with 99 additions and 93 deletions

View File

@@ -117,7 +117,7 @@ namespace OpenAuth.Mvc.Areas.FlowManage.Controllers
/// <returns></returns>
[HttpPost]
[ValidateAntiForgeryToken]
public ActionResult RemoveForm(string keyValue)
public ActionResult RemoveForm(Guid keyValue)
{
wfFlowInfoBLL.RemoveForm(keyValue);
return Content("删除成功。");

View File

@@ -100,6 +100,17 @@ namespace OpenAuth.Mvc.Areas.FlowManage.Controllers
var data = wfFrmMainBLL.GetForm(keyValue);
return Content(data.ToJson());
}
/// <summary>
/// 获取表单数据all
/// </summary>
/// <returns></returns>
[HttpGet]
public ActionResult GetAllListJson()
{
var data = wfFrmMainBLL.GetAllList();
return Content(data.ToJson());
}
#endregion
#region