/// <summary>
 /// 新增修改查看
 /// </summary>
 /// <param name="sysUserId">用户ID</param>
 /// <param name="pageState">窗口状态</param>
 /// <param name="departmentId">部门ID</param>
 public ActionResult Create(ModelSysOrgDepartmentManageCreate model, Guid? organizationId)
 {
     model.OrganizationId = organizationId;
     ViewBag.PageState = model.PageState;
     model.RetriveData();
     return View(model);
 }
 public ActionResult Create(ModelSysOrgDepartmentManageCreate model, FormCollection collection)
 {
     try
     {
         model.Save();
         return Content(WebTools.ScriptCloseEmbeddedFrameDialog(DialogOption.GetDefaultInstance()));
     }
     catch
     {
         Error = Resources.Properties.Resources.M00002E;
         model.RetriveData();
         return View(model);
     }
 }