CanceledList.cshtml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. 
  2. @using Bowin.Web.Controls.Mvc;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "List";
  6. }
  7. @section scripts{
  8. <script type="text/javascript">
  9. var nonSelect = "@DropdownList.SELECT_ALL";
  10. $(function () {
  11. mnu = $.SystemGeneral.getUrlParam("MNU");
  12. });
  13. function reload() {
  14. $("#dgStudentSelectCourseList").cmsXDataTable("load", $.getDataGridParams("dgStudentSelectCourseList"));
  15. }
  16. </script>
  17. }
  18. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  19. @Html.Position()
  20. <div class="p_SearchTitle">
  21. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  22. 查询条件
  23. </div>
  24. </div>
  25. <div class="p_title">
  26. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  27. 选课列表
  28. </div>
  29. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  30. </div>
  31. <div class="search_list">
  32. @Html.DataGrid(new DataGridOptions
  33. {
  34. Columns = new List<DataGridColumn>()
  35. {
  36. new BoundFieldColumn { FieldName="SchoolYearCode", HeaderText="学年学期", Align=AlignStyle.Center, OverflowLength=18, Width=0.14 },
  37. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=18, Width=0.14 },
  38. new BoundFieldColumn { FieldName="Credit", HeaderText="学分", Align=AlignStyle.Center, Width=0.03 },
  39. new BoundFieldColumn { FieldName="DefaultClassName", HeaderText="课程班级", Align=AlignStyle.Center, OverflowLength=20, Width=0.16 },
  40. new BoundFieldColumn { FieldName="SelectCourseTypeName", HeaderText="课程类型", Align=AlignStyle.Center, OverflowLength=12, Width=0.1 },
  41. //new BoundFieldColumn { FieldName="PeopleNumlimit", HeaderText="人数上限", Align=AlignStyle.Center, Width=0.06 },
  42. //new BoundFieldColumn { FieldName="StudentCount", HeaderText="已选人数", Align=AlignStyle.Center, Width=0.06 },
  43. new BoundFieldColumn { FieldName="TeacherNames", HeaderText="任课教师", Align=AlignStyle.Center, Width=0.12 },
  44. new BoundFieldColumn { FieldName="IsNeedMaterialName", HeaderText="是否需要教材", Align=AlignStyle.Center },
  45. new BoundFieldColumn { FieldName="", HeaderText="教材名称", Align=AlignStyle.Center },
  46. new BoundFieldColumn { FieldName="WeeklyNum", HeaderText="周次", Align=AlignStyle.Center },
  47. new BoundFieldColumn { FieldName="CoursesTimeName", HeaderText="上课时间", Align=AlignStyle.Center },
  48. new BoundFieldColumn { FieldName="ClassroomName", HeaderText="上课教室", Align=AlignStyle.Center },
  49. new BoundFieldColumn { FieldName="CampusName", HeaderText="校区", Align=AlignStyle.Center },
  50. new BoundFieldColumn { FieldName="", HeaderText="报修时间", Align=AlignStyle.Center },
  51. },
  52. IsCheckOnSelect = true,
  53. DataSourceUrl = Url.Content("~/StudentSelectCourse/CanceledList"),
  54. ID = "dgStudentSelectCourseList",
  55. IsPagination = false,
  56. IsShowRowNumbers = true,
  57. IsSingleSelect = false
  58. })
  59. </div>
  60. </div>