public ActionResult GetPageListJson(Pagination pagination, string queryJson) { var watch = CommonHelper.TimerStart(); //pagination.p_kid = "Id"; //pagination.p_fields = "CreateDate,CreateUser,CreateUserId,CategoryId,Category,StandardScore,DepartmentId,DepartmentName,GroupId,GroupName,DeptScore,DeptCause,DeptEvaluateUserId,DeptEvaluteUser,ReviseScore,ReviseCause,ReviseUserId,ReviseUser,EvaluteContentId,EvaluteContent,IsDeleteType,EvaluateId,EvaluateSeason"; //pagination.p_tablename = "WG_EvaluateRevise"; //pagination.conditionJson = " 1=1 "; //pagination.sidx = "CreateDate"; //pagination.sord = "desc"; Operator user = OperatorProvider.Provider.Current(); var data = new EvaluateReviseBLL().GetPagesList(pagination, queryJson); var JsonData = new { rows = data, total = pagination.total, page = pagination.page, records = pagination.records, costtime = CommonHelper.TimerEnd(watch) }; return(Content(JsonData.ToJson())); }
public ActionResult BindCombobox() { var data = new EvaluateReviseBLL().BindCombobox(); return(Content(data.ToJson())); }