public ActionResult Edit(ModelWorkFlowStepEdit model,FormCollection collection) { try { model.Save(); var instance = DialogOption.GetDefaultInstance(); instance.Index = 2; return Content(WebTools.ScriptRefreshDialog(1) + WebTools.ScriptCloseDialog(instance)); } catch { Error = "操作失败"; ViewBag.PageState = PageState; return View(model); } }
public ActionResult Edit(ModelWorkFlowStepEdit model) { model.RetriveData(); return View(model); }