StudentList.cshtml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Entities;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "StudentList";
  6. }
  7. @section scripts{
  8. <script src="../../Scripts/Business/TeachingMaterial/StudentTeachingMaterialPool.js" type="text/javascript"></script>
  9. }
  10. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  11. @Html.Position()
  12. <div class="p_SearchTitle">
  13. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  14. 查询条件
  15. </div>
  16. </div>
  17. <form id="formQuery" method="post" action="@Url.Content("~/TeachingMaterialPool/StudentExcel")">
  18. @Html.PositionCondition()
  19. </form>
  20. <div class="p_title">
  21. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  22. 课程教材
  23. </div>
  24. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  25. </div>
  26. <div class="search_list">
  27. @Html.DataGrid(new DataGridOptions
  28. {
  29. Columns = new List<DataGridColumn>()
  30. {
  31. new BoundFieldColumn { FieldName="SchoolYearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.08 },
  32. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, OverflowLength=18, Width=0.1 },
  33. new BoundFieldColumn { FieldName="TeachingMaterialName", HeaderText="教材名称", Align=AlignStyle.Center, OverflowLength=36, Width=0.22 },
  34. new BoundFieldColumn { FieldName="PublishTime", HeaderText="版本", Align=AlignStyle.Center, OverflowLength=15, Width=0.08 },
  35. new BoundFieldColumn { FieldName="ISBN", HeaderText="ISBN", Align=AlignStyle.Center, Width=0.1 },
  36. new BoundFieldColumn { FieldName="PublishName", HeaderText="出版单位", Align=AlignStyle.Center, OverflowLength=14, Width=0.1 },
  37. new BoundFieldColumn { FieldName="Price", HeaderText="价格", Align=AlignStyle.Center, Width=0.03 }
  38. },
  39. IsCheckOnSelect = false,
  40. DataSourceUrl = Url.Content("~/TeachingMaterialPool/StudentList"),
  41. ID = "dgList",
  42. IsPagination = true,
  43. IsShowRowNumbers = true,
  44. IsSingleSelect = false,
  45. IsAutoHeight = false,
  46. })
  47. </div>
  48. </div>