StudentScoreDetailController.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using Bowin.Web.Controls.Mvc;
  2. using EMIS.CommonLogic.ScoreManage;
  3. using EMIS.ViewModel;
  4. using EMIS.Web.Controls;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Web;
  9. using System.Web.Mvc;
  10. namespace EMIS.Web.Controllers.StudentSystem.Examine
  11. {
  12. [Authorization]
  13. public class StudentScoreDetailController : Controller
  14. {
  15. public ILevelScoreServices levelScoreServices { get; set; }
  16. public ActionResult List()
  17. {
  18. return View();
  19. }
  20. [HttpPost]
  21. public ActionResult List(QueryParamsModel pararms)
  22. {
  23. ConfiguretView configuretView = ConfiguretExtensions.GetConfiguretermsView(pararms);
  24. var schoolyearID = pararms.getExtraGuid("ddlSchoolyear");
  25. var examinationBatchID = pararms.getExtraGuid("ddlExaminationBatch");
  26. var examinationTypeID = pararms.getExtraGuid("ddlExaminationType");
  27. var examinationProjectID = pararms.getExtraGuid("ddlExaminationProject");
  28. if (configuretView.Attribute == Bowin.Web.Controls.Mvc.DropdownList.SELECT_ALL.ToString()) configuretView.Attribute = "";
  29. return Json(levelScoreServices.GetExaminationScoreViewGrid(configuretView, schoolyearID, examinationBatchID, examinationTypeID, examinationProjectID, (int)pararms.page, (int)pararms.rows));
  30. }
  31. }
  32. }