List.cshtml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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/LevelScore.js" type="text/javascript"></script>
  8. <script type="text/javascript">
  9. var nonSelect = "@DropdownList.SELECT_ALL";
  10. </script>
  11. }
  12. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  13. @Html.Position()
  14. <div class="p_SearchTitle">
  15. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  16. 查询条件</div>
  17. </div>
  18. <form id="formQuery" method="post" action="@Url.Content("~/LevelScore/Excel")">
  19. @Html.PositionCondition()
  20. <div class="search_keyword">
  21. <div class="search_input">
  22. </div>
  23. </div>
  24. </form>
  25. <div class="p_title">
  26. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  27. 过级成绩列表</div>
  28. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  29. </div>
  30. @Html.PositionBatchModify()
  31. <div class="search_list">
  32. @Html.DataGrid(new DataGridOptions
  33. {
  34. Columns = new List<DataGridColumn>()
  35. {
  36. new CheckBoxFieldColumn{ HeaderText="ProjectScoreID", FieldName="ProjectScoreID" },
  37. new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center },
  38. new BoundFieldColumn { FieldName="ExaminationProjectName", HeaderText="考试项目", Align=AlignStyle.Center },
  39. new BoundFieldColumn { FieldName="LevelName", HeaderText="成绩等级", Align=AlignStyle.Center },
  40. new BoundFieldColumn { FieldName="ScoreStr", HeaderText="成绩明细", Align=AlignStyle.Center }
  41. },
  42. IsCheckOnSelect = true,
  43. DataSourceUrl = Url.Content("~/LevelScore/List"),
  44. ID = "dgLevelScoreList",
  45. IsPagination = true,
  46. IsShowRowNumbers = true,
  47. IsSingleSelect = false
  48. })
  49. </div>
  50. </div>