SelectMission.cshtml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. @using EMIS.Web.Controls;
  2. @using Bowin.Web.Controls.Mvc;
  3. @{
  4. ViewBag.Title = "SelectMission";
  5. }
  6. @section scripts{
  7. <script src="../../Scripts/Business/RetakeManage/StudentListSelectMission.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 style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  16. <div class="current_navbar toolbar">
  17. <div class="func_info">
  18. <a class="easyui-linkbutton" href="javascript:SelectMission_Confirm()" data-options="iconCls:'icon-ok',plain:'true'"
  19. onfocus="this.blur()">选中</a>
  20. </div>
  21. </div>
  22. </div>
  23. </div>
  24. <div class="search_list">
  25. <div>
  26. @Html.DataGrid(new DataGridOptions
  27. {
  28. Columns = new List<DataGridColumn>()
  29. {
  30. new CheckBoxFieldColumn { HeaderText="", FieldName="EducationMissionID" },
  31. new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center, Width=150 },
  32. new BoundFieldColumn { FieldName="TeacherName", HeaderText="任课教师", Align=AlignStyle.Center, OverflowLength=10, Width=80 },
  33. new BoundFieldColumn { FieldName="CourseTimeShow", HeaderText="课时类别", Align=AlignStyle.Center, Width=60 },
  34. new BoundFieldColumn { FieldName="date", HeaderText="上课日期", Align=AlignStyle.Center, Width=150 },
  35. new BoundFieldColumn { FieldName="TeachingHours", HeaderText="总学时", Align=AlignStyle.Center, Width=60 },
  36. new BoundFieldColumn { FieldName="showClassRoom", HeaderText="课室", Align=AlignStyle.Center, Width=80 }
  37. },
  38. IsCheckOnSelect = false,
  39. DataSourceUrl = Url.Content("~/RetakePlan/EducationMissionList?coursematerialID=" + Request["coursematerialID"]),
  40. ID = "dgEducationMissionList",
  41. IsPagination = false,
  42. IsShowRowNumbers = true,
  43. IsSingleSelect = false
  44. })
  45. </div>
  46. </div>
  47. </div>