/// <summary> /// 获取所有的部门 /// </summary> /// <returns></returns> public ActionResult GetAllDepartmentMethod() { try { return(Json(EmployeeManage.GetAllDepartmentOnly(0, ""), JsonRequestBehavior.AllowGet)); } catch { return(null); } }