List.cshtml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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/ExaminationManage/TimeSegment.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. 查询条件
  14. </div>
  15. </div>
  16. <div class="p_title">
  17. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  18. 考试时间段列表
  19. </div>
  20. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  21. </div>
  22. @Html.PositionBatchModify()
  23. <div class="search_list">
  24. @Html.DataGrid(new DataGridOptions
  25. {
  26. Columns = new List<DataGridColumn>()
  27. {
  28. new CheckBoxFieldColumn{ HeaderText="", FieldName="TimeSegmentID" },
  29. new BoundFieldColumn { FieldName="ExaminationDateString", HeaderText="考试日期", Align=AlignStyle.Center },
  30. new BoundFieldColumn { FieldName="StartTimeString", HeaderText="开始时间", Align=AlignStyle.Center },
  31. new BoundFieldColumn { FieldName="EndTimeString", HeaderText="结束时间", Align=AlignStyle.Center },
  32. new BoundFieldColumn { FieldName="IsForResitDesc", HeaderText="是否补考时间", Align=AlignStyle.Center }
  33. },
  34. IsCheckOnSelect = true,
  35. DataSourceUrl = Url.Content("~/TimeSegment/List"),
  36. ID = "dgTimeSegmentList",
  37. IsPagination = true,
  38. IsShowRowNumbers = true,
  39. IsSingleSelect = false
  40. })
  41. </div>
  42. </div>