List.cshtml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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="ExaminationProjectID", HeaderText="考试科目", Align=AlignStyle.Center , IsHidden=true },
  33. new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Align=AlignStyle.Center },
  34. new LinkButtonColumn { FieldName="ExaminationProjectName", HeaderText="考试项目", Align=AlignStyle.Center, Handle = "detail" },
  35. new BoundFieldColumn { FieldName="LevelName", HeaderText="认定结果名称", Align=AlignStyle.Center },
  36. new BoundFieldColumn { FieldName="IsPassStr", HeaderText="是否通过", Align=AlignStyle.Center },
  37. },
  38. IsCheckOnSelect = true,
  39. DataSourceUrl = Url.Content("~/LevelSetting/List"),
  40. ID = "dgLevelSettingList",
  41. IsPagination = true,
  42. IsShowRowNumbers = true,
  43. IsSingleSelect = false
  44. })
  45. </div>
  46. </div>