List.cshtml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Web.Controls;
  3. @{
  4. ViewBag.Title = "List";
  5. }
  6. @section scripts{
  7. <script src="~/Scripts/Business/ScoreManage/LevelSetting.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_SearchTitle">
  12. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  13. 查询条件</div>
  14. </div>
  15. <form id="formQuery" method="post" action="@Url.Content("~/NewStudent/Excel")">
  16. @Html.PositionCondition()
  17. <div class="search_keyword">
  18. </div>
  19. </form>
  20. <div class="p_title">
  21. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  22. 等级设置列表</div>
  23. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  24. </div>
  25. @Html.PositionBatchModify()
  26. <div class="search_list">
  27. @Html.DataGrid(new DataGridOptions
  28. {
  29. Columns = new List<DataGridColumn>()
  30. {
  31. new CheckBoxFieldColumn{ HeaderText="LevelSettingID", FieldName="LevelSettingID" },
  32. new BoundFieldColumn { FieldName="ExaminationSubjectID", HeaderText="考试科目", Align=AlignStyle.Center , IsHidden=true },
  33. new BoundFieldColumn { FieldName="ExaminationSubjectName", HeaderText="考试科目", Align=AlignStyle.Center },
  34. new BoundFieldColumn { FieldName="LevelName", HeaderText="成绩等级", Align=AlignStyle.Center },
  35. new BoundFieldColumn { FieldName="LevelNo", HeaderText="成绩等级序号", Align=AlignStyle.Center, IsHidden=true },
  36. //new BoundFieldColumn { FieldName="MinScore", HeaderText="起始分", Align=AlignStyle.Center,Formatter= Formatter.OnlyYearMonthDay },
  37. //new BoundFieldColumn { FieldName="MaxScore", HeaderText="终止分", Align=AlignStyle.Center },
  38. new BoundFieldColumn { FieldName="ScoreRange", HeaderText="成绩分数段", Align=AlignStyle.Center },
  39. new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center }
  40. },
  41. IsCheckOnSelect = true,
  42. DataSourceUrl = Url.Content("~/LevelSetting/List"),
  43. ID = "dgLevelSettingList",
  44. IsPagination = true,
  45. IsShowRowNumbers = true,
  46. IsSingleSelect = false
  47. })
  48. </div>
  49. </div>