List.cshtml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Entities;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "List";
  6. }
  7. @section scripts{
  8. <script src="../../Scripts/Business/ExaminationManage/ExaminationModeSetting.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_title">
  13. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  14. 考试方式设置</div>
  15. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  16. <form id="formQuery" method="post" action="@Url.Content("~/ExaminationModeSetting/Edit?MNU=" + Request["MNU"])">
  17. <div class="search_list">
  18. @Html.DataGrid(new DataGridOptions
  19. {
  20. Columns = new List<DataGridColumn>()
  21. {
  22. new BoundFieldColumn { FieldName="ExaminationModeDesc", HeaderText="考试方式", Align=AlignStyle.Center },
  23. new CheckButtonColumn{ HeaderText="是否生成考试计划", FieldName="IsGeneratePlan" },
  24. },
  25. IsCheckOnSelect = true,
  26. IsPostBack = true,
  27. DataSourceUrl = Url.Content("~/ExaminationModeSetting/List"),
  28. ID = "dgExaminationModeSettingList",
  29. IsPagination = true,
  30. IsShowRowNumbers = true,
  31. IsSingleSelect = false
  32. })
  33. </div>
  34. </form>
  35. </div>
  36. </div>