List.cshtml 2.2 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/StudentManage/StudentChange/ChangeReport.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("~/ChangeReport/Excel")">
  19. @Html.PositionCondition()
  20. <div class="search_keyword">
  21. <div class="search_input">
  22. @*<ul>
  23. <li class="sn" style="padding-left: 20px;"><a href="javascript:void(0)" class="easyui-linkbutton"
  24. data-options="iconCls:'icon-search'" onclick="reload();">查询</a></li>
  25. </ul>*@
  26. </div>
  27. </div>
  28. </form>
  29. <div class="p_title">
  30. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  31. 异动报表列表</div>
  32. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  33. </div>
  34. @*@Html.PositionBatchModify()*@
  35. <div class="search_list">
  36. @Html.DataGrid(new DataGridOptions
  37. {
  38. Columns = new List<DataGridColumn>()
  39. {
  40. new CheckBoxFieldColumn{ HeaderText="", FieldName="ChangeReportID" },
  41. new BoundFieldColumn { FieldName="Code", HeaderText="报表代码", Align=AlignStyle.Center, Width=0.04 },
  42. new BoundFieldColumn { FieldName="Name", HeaderText="报表名称", Align=AlignStyle.Center, Width=0.04 },
  43. new BoundFieldColumn { FieldName="Url", HeaderText="报表Url", Align=AlignStyle.Center, Width=0.05 }
  44. },
  45. IsCheckOnSelect = true,
  46. DataSourceUrl = Url.Content("~/ChangeReport/List"),
  47. ID = "dgChangeReportList",
  48. IsPagination = true,
  49. IsShowRowNumbers = true,
  50. IsSingleSelect = false
  51. })
  52. </div>
  53. </div>