StudentDetail.cshtml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Common.Utility;
  4. @{
  5. ViewBag.Title = "List";
  6. Guid? userID = Request.QueryString["userID"].ParseStrTo<Guid>();
  7. Guid? schoolyearID = Request.QueryString["schoolyearID"].ParseStrTo<Guid>();
  8. }
  9. <div class="easyui-panel" data-options="border:false,fit:true" style="position:relative;">
  10. @using (Html.BeginForm())
  11. {
  12. <div class="p_title">
  13. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  14. 重修明细</div>
  15. </div>
  16. <div class="search_list">
  17. @Html.DataGrid(new DataGridOptions
  18. {
  19. Columns = new List<DataGridColumn>()
  20. {
  21. new CheckBoxFieldColumn{ HeaderText="", FieldName="RetakePlanStudentID" },
  22. new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=100 },
  23. new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=100 },
  24. new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=60 },
  25. new BoundFieldColumn { FieldName="CollegeName", HeaderText="教学点", Align=AlignStyle.Center, Width=100 },
  26. new BoundFieldColumn { FieldName="Gradeyear", HeaderText="年级", Align=AlignStyle.Center, Width=50 },
  27. new BoundFieldColumn { FieldName="StandardDesc", HeaderText="专业", Align=AlignStyle.Center, Width=100 },
  28. new BoundFieldColumn { FieldName="ClassName", HeaderText="课程名称", Align=AlignStyle.Center, Width=200 },
  29. //new BoundFieldColumn { FieldName="NoPassCount", HeaderText="不及格门数", Align=AlignStyle.Center, Width=80 },
  30. new BoundFieldColumn { FieldName="IsNoArrearsDesc", HeaderText="是否已缴费", Align=AlignStyle.Center, Width=60 }
  31. },
  32. IsCheckOnSelect = true,
  33. DataSourceUrl = Url.Content("~/RetakePlanPrescan/StudentDetail?userID=" + userID + "&schoolyearID=" + schoolyearID),
  34. ID = "dgEducationSchedulingClassStudentList",
  35. IsPagination = true,
  36. IsShowRowNumbers = true,
  37. IsSingleSelect = false
  38. })
  39. </div>
  40. }
  41. </div>