public ActionResult AdminChaXun(int pageindex, int pagesize) // { return(Json(ZZXmanager.AdminChaXun(pageindex, pagesize), JsonRequestBehavior.AllowGet)); // }
public ActionResult AdminChaXunByIdName(string user2 = "", int pageIndex = 0, int pageSize = 0) // { return(Json(ZZXmanager.AdminChaXunByName(user2, pageIndex, pageSize), JsonRequestBehavior.AllowGet)); // }
public ActionResult LoginBynamepwd(string UserName = "", int UserPwd = 0) { return(Json(ZZXmanager.Login(UserName, UserPwd), JsonRequestBehavior.AllowGet));// }
public ActionResult IndexByName(string userName) { return(Json(ZZXmanager.IndexByName(userName), JsonRequestBehavior.AllowGet));// }
public ActionResult menuBarChaXun2(int id)// { return(Json(ZZXmanager.menuBarChaXun2(id), JsonRequestBehavior.AllowGet)); }
public ActionResult menuXiuGai(menu m) { return(Json(ZZXmanager.menuXiuGai(m), JsonRequestBehavior.AllowGet)); }
//根据员工名称查询 public ActionResult menuChaXunByName(string user2, int pageIndex, int pageSize)// { return(Json(ZZXmanager.menuChaXunByName(user2, pageIndex, pageSize), JsonRequestBehavior.AllowGet)); }
public ActionResult AdminXinZeng(Admin a) { return(Json(ZZXmanager.AdminXinZeng(a), JsonRequestBehavior.AllowGet)); }
public ActionResult menuChaXun(int pageIndex, int pageSize) { return(Json(ZZXmanager.menuChaXun(pageIndex, pageSize), JsonRequestBehavior.AllowGet)); }
public ActionResult ParentmenuName() { return(Json(ZZXmanager.ParentmenuName(), JsonRequestBehavior.AllowGet)); }
public ActionResult departmentXiuGai(department d) { return(Json(ZZXmanager.departmentXiuGai(d), JsonRequestBehavior.AllowGet)); }
public ActionResult roleXiuGai(role r) { return(Json(ZZXmanager.roleXiuGai(r), JsonRequestBehavior.AllowGet)); }
public ActionResult roleXinZeng(role r) { r.CreationDate = DateTime.Now; r.state = 0; return(Json(ZZXmanager.roleXinZeng(r), JsonRequestBehavior.AllowGet)); }
public ActionResult departmentName() { return(Json(ZZXmanager.departmentName(), JsonRequestBehavior.AllowGet)); }
public ActionResult ParentmenuXinZeng(Parentmenu p) { return(Json(ZZXmanager.ParentmenuXinZeng(p), JsonRequestBehavior.AllowGet)); }
public ActionResult roleName() { return(Json(ZZXmanager.roleName(), JsonRequestBehavior.AllowGet)); }
//根据id查询,进行修改操作 public ActionResult menuById(int id) { return(Json(ZZXmanager.menuById(id), JsonRequestBehavior.AllowGet)); }
public ActionResult AdminDel(int id) { return(Json(ZZXmanager.AdminDel(id), JsonRequestBehavior.AllowGet)); }
public ActionResult AdminHouseChaXun(int userId = 0, string name = "klsb", int BuMen = 0, int JueSe = 0, int pageIndex = 0, int pageSize = 0) { return(Json(ZZXmanager.AdminHouseChaXun(userId, name, BuMen, JueSe, pageIndex, pageSize), JsonRequestBehavior.AllowGet)); }