StudentList.cshtml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. @using EMIS.Web.Controls;
  2. @using Bowin.Web.Controls.Mvc;
  3. @{
  4. ViewBag.Title = "Edit";
  5. }
  6. @section scripts{
  7. <script src="../../Scripts/Business/RetakeManage/StudentList.js" type="text/javascript"></script>
  8. }
  9. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  10. @Html.Position()
  11. <div class="p_title">
  12. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  13. 重修课程信息
  14. </div>
  15. </div>
  16. <div class="search_list">
  17. <div>
  18. @Html.DataGrid(new DataGridOptions
  19. {
  20. Columns = new List<DataGridColumn>()
  21. {
  22. new LinkButtonColumn { HeaderText="操作", Text="申请", EnableFieldName="IsCanApply", Align=AlignStyle.Center, Width=50, Handle="RetakePlan_Apply" },
  23. new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=80 },
  24. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=14, Width=120 },
  25. new BoundFieldColumn { FieldName="ClassName", HeaderText="重修班级", Align=AlignStyle.Center, OverflowLength=14, Width=120 },
  26. new BoundFieldColumn { FieldName="TeacherName", HeaderText="任课教师", Align=AlignStyle.Center, OverflowLength=10, Width=80 },
  27. new BoundFieldColumn { FieldName="CourseTimeDesc", HeaderText="课时类别", Align=AlignStyle.Center, Width=60 },
  28. new BoundFieldColumn { FieldName="Credit", HeaderText="学分", Align=AlignStyle.Center, Width=50, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" },
  29. new BoundFieldColumn { FieldName="ScheduledTimes", HeaderText="总学时", Align=AlignStyle.Center, Width=60 },
  30. new BoundFieldColumn { FieldName="ClassroomName", HeaderText="课室", Align=AlignStyle.Center, Width=80 },
  31. new BoundFieldColumn { FieldName="RecordStatusDesc", HeaderText="状态", Align=AlignStyle.Center, Width=60 }
  32. },
  33. IsCheckOnSelect = false,
  34. DataSourceUrl = Url.Content("~/RetakePlan/StudentList"),
  35. ID = "dgRetakePlanList",
  36. IsPagination = false,
  37. IsShowRowNumbers = true,
  38. IsSingleSelect = false
  39. })
  40. </div>
  41. </div>
  42. </div>