List.cshtml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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/ChargeManage/ChargeSituation/ChargeProject.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_SearchTitle">
  13. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  14. 查询条件</div>
  15. </div>
  16. <form id="formQuery" method="post" action="@Url.Content("~/ChargeProject/Excel")">
  17. @Html.PositionCondition()
  18. </form>
  19. <div class="p_title">
  20. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  21. 收费项目列表</div>
  22. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  23. </div>
  24. <div class="search_list">
  25. @Html.DataGrid(new DataGridOptions
  26. {
  27. Columns = new List<DataGridColumn>()
  28. {
  29. new CheckBoxFieldColumn{ HeaderText="", FieldName="ChargeProjectID", Align=AlignStyle.Center},
  30. new LinkButtonColumn { FieldName="ChrageProjectName", HeaderText="收费项目", Align=AlignStyle.Center, Handle="edit", Width=0.06 },
  31. new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.1 },
  32. },
  33. PageSize = 20,
  34. IsCheckOnSelect = true,
  35. DataSourceUrl = Url.Content("~/ChargeProject/List"),
  36. ID = "dgChargeProjectList",
  37. IsPagination = true,
  38. IsShowRowNumbers = true,
  39. IsSingleSelect = false
  40. })
  41. </div>
  42. </div>