ExaminationPlanStudentList.cshtml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @model EMIS.ViewModel.ScoreManage.FinalExaminationView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "Edit";
  6. Guid? finalExaminationID = ViewBag.FinalExaminationID;
  7. }
  8. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  9. @using (Ajax.BeginForm(new AjaxOptions
  10. {
  11. OnSuccess = "EMISFunction.FormSuccess",
  12. OnBegin = "EMISFunction.FormSubmit",
  13. OnComplete = "EMISFunction.FormComplete"
  14. }))
  15. {
  16. <div class="p_title">
  17. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  18. 学生信息</div>
  19. </div>
  20. <div class="search_list">
  21. <table cellpadding="0" cellspacing="0" id="FinalExaminationtable">
  22. <tr>
  23. <td>
  24. @Html.DataGrid(new DataGridOptions
  25. {
  26. Columns = new List<DataGridColumn>()
  27. {
  28. new CheckBoxFieldColumn { FieldName="UserID" },
  29. new BoundFieldColumn { FieldName="LoginID", HeaderText="学生号", Align=AlignStyle.Center, Width=0.055},
  30. new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.03 },
  31. new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center, Width=0.02 },
  32. new BoundFieldColumn { FieldName="CoursematerialName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.055 },
  33. new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="学籍班名称", Align=AlignStyle.Center, Width=0.06, OverflowLength=15 },
  34. new BoundFieldColumn { FieldName="StudentStatusName", HeaderText="学籍状态", Align=AlignStyle.Center, Width=0.02 },
  35. new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, Width=0.02 },
  36. },
  37. IsCheckOnSelect = true,
  38. DataSourceUrl = Url.Content("~/ExaminationPlan/GetExaminationPlanStudentList?examinationPlanID=" + Request["ExaminationPlanID"]),
  39. IsPostBack = true,
  40. ID = "dgStudentList",
  41. IsPagination = false,
  42. IsShowRowNumbers = true,
  43. IsSingleSelect = false,
  44. MaxHeight = 490,
  45. })
  46. </td>
  47. </tr>
  48. </table>
  49. </div>
  50. }
  51. </div>