Exemplo n.º 1
0
 public ActionResult AdminChaXun(int pageindex, int pagesize)                                 //
 {
     return(Json(ZZXmanager.AdminChaXun(pageindex, pagesize), JsonRequestBehavior.AllowGet)); //
 }
Exemplo n.º 2
0
 public ActionResult AdminChaXunByIdName(string user2 = "", int pageIndex = 0, int pageSize = 0)           //
 {
     return(Json(ZZXmanager.AdminChaXunByName(user2, pageIndex, pageSize), JsonRequestBehavior.AllowGet)); //
 }
Exemplo n.º 3
0
 public ActionResult LoginBynamepwd(string UserName = "", int UserPwd = 0)
 {
     return(Json(ZZXmanager.Login(UserName, UserPwd), JsonRequestBehavior.AllowGet));//
 }
Exemplo n.º 4
0
 public ActionResult IndexByName(string userName)
 {
     return(Json(ZZXmanager.IndexByName(userName), JsonRequestBehavior.AllowGet));//
 }
Exemplo n.º 5
0
 public ActionResult menuBarChaXun2(int id)//
 {
     return(Json(ZZXmanager.menuBarChaXun2(id), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 6
0
 public ActionResult menuXiuGai(menu m)
 {
     return(Json(ZZXmanager.menuXiuGai(m), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 7
0
 //根据员工名称查询
 public ActionResult menuChaXunByName(string user2, int pageIndex, int pageSize)//
 {
     return(Json(ZZXmanager.menuChaXunByName(user2, pageIndex, pageSize), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 8
0
 public ActionResult AdminXinZeng(Admin a)
 {
     return(Json(ZZXmanager.AdminXinZeng(a), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 9
0
 public ActionResult menuChaXun(int pageIndex, int pageSize)
 {
     return(Json(ZZXmanager.menuChaXun(pageIndex, pageSize), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 10
0
 public ActionResult ParentmenuName()
 {
     return(Json(ZZXmanager.ParentmenuName(), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 11
0
 public ActionResult departmentXiuGai(department d)
 {
     return(Json(ZZXmanager.departmentXiuGai(d), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 12
0
 public ActionResult roleXiuGai(role r)
 {
     return(Json(ZZXmanager.roleXiuGai(r), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 13
0
 public ActionResult roleXinZeng(role r)
 {
     r.CreationDate = DateTime.Now;
     r.state        = 0;
     return(Json(ZZXmanager.roleXinZeng(r), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 14
0
 public ActionResult departmentName()
 {
     return(Json(ZZXmanager.departmentName(), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 15
0
 public ActionResult ParentmenuXinZeng(Parentmenu p)
 {
     return(Json(ZZXmanager.ParentmenuXinZeng(p), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 16
0
 public ActionResult roleName()
 {
     return(Json(ZZXmanager.roleName(), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 17
0
 //根据id查询,进行修改操作
 public ActionResult menuById(int id)
 {
     return(Json(ZZXmanager.menuById(id), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 18
0
 public ActionResult AdminDel(int id)
 {
     return(Json(ZZXmanager.AdminDel(id), JsonRequestBehavior.AllowGet));
 }
Exemplo n.º 19
0
 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));
 }