StudentList.cshtml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "StudentList";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/ScoreManage/StudentExaminationSuspension.js" type="text/javascript"></script>
  8. <script type="text/javascript">
  9. var nonSelect = "@DropdownList.SELECT_ALL";
  10. var startStatusID = @ViewBag.StartStatusID;
  11. </script>
  12. }
  13. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  14. <form id="formQuery" method="post">
  15. @Html.Position()
  16. <div class="p_SearchTitle">
  17. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  18. 查询条件
  19. </div>
  20. </div>
  21. @Html.PositionCondition()
  22. </form>
  23. <div class="p_title">
  24. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  25. 缓考信息
  26. </div>
  27. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  28. </div>
  29. <div class="search_list">
  30. @Html.DataGrid(new DataGridOptions
  31. {
  32. Columns = new List<DataGridColumn>()
  33. {
  34. new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationSuspensionID" },
  35. new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, OverflowLength=15, Width = 0.1 },
  36. new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center, Width = 0.06 },
  37. new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="班级", Align=AlignStyle.Center,Width=0.2 },
  38. new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center,Width=0.1 },
  39. new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center,Width=0.1 },
  40. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=20,Width=0.2 },
  41. new BoundFieldColumn { FieldName="ExamsCategoryName", HeaderText="考试性质", Align=AlignStyle.Center,Width=0.08 },
  42. new BoundFieldColumn { FieldName="CreateTime", HeaderText="申请日期", Formatter=Formatter.CHSOnlyYearMonthDay, Align=AlignStyle.Center,Width=0.1 },
  43. new ApproveStatusColumn { FieldName="RecordStatusName", TableName=typeof(EMIS.Entities.ER_ExaminationSuspension).Name,
  44. IDFieldName="ExaminationSuspensionID", HeaderText="状态", Align=AlignStyle.Center, Width=0.06 }
  45. },
  46. IsCheckOnSelect = true,
  47. DataSourceUrl = Url.Content("~/ExaminationSuspension/StudentList"),
  48. ID = "dgExaminationSuspensionList",
  49. IsPagination = true,
  50. IsShowRowNumbers = true,
  51. IsSingleSelect = false
  52. })
  53. </div>
  54. </div>