//获取自己的签到信息 #region 获取默认(本人)签到信息 public JsonResult Sign_json(string text) { int UID = int.Parse(LoginBase.ID); List <Sign_dateModel> JsonData = ISIS.Get_data(UID, 1);//1web 2考勤机 return(Json(ISIS.Obj2Json(JsonData), JsonRequestBehavior.AllowGet)); }
//查看其它用户签到情况 #region 获取用户签到信息(限学生) public JsonResult changeuser(string text) { int UID = int.Parse(Request.Form[0].ToString()); int type = int.Parse(Request.Form[1].ToString()); List <Sign_dateModel> JsonData = ISIS.Get_data(UID, type); return(Json(ISIS.Obj2Json(JsonData), JsonRequestBehavior.AllowGet)); }