List.cshtml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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/MinorManage/MinorSetting/MinorCondition.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("~/MinorCondition/Excel")">
  19. @Html.PositionCondition()
  20. <div class="search_keyword">
  21. @Html.Hidden("SelectedID")
  22. <div class="search_input">
  23. <ul>
  24. <li class="sn" style="padding-left: 5px; color: red;">启用状态:</li>
  25. <li class="sv">
  26. @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions
  27. {
  28. BindType = DropdownListBindType.SelectAll,
  29. Name = "IsCurrentDropDown",
  30. OnSelect = "reload"
  31. },
  32. new Dictionary<string, string> { { "data-condition", "dgMinorConditionList" } })
  33. </li>
  34. </ul>
  35. </div>
  36. </div>
  37. </form>
  38. <div class="p_title">
  39. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  40. 辅修条件列表</div>
  41. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  42. </div>
  43. @Html.PositionBatchModify()
  44. <div class="search_list">
  45. @Html.DataGrid(new DataGridOptions
  46. {
  47. Columns = new List<DataGridColumn>()
  48. {
  49. new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorConditionID" },
  50. new BoundFieldColumn { FieldName="Title", HeaderText="条件名称", Align=AlignStyle.Center, Width=0.1 },
  51. new BoundFieldColumn { FieldName="RecordStatusStr", HeaderText="启用状态", Align=AlignStyle.Center, Width=0.04 }
  52. },
  53. IsCheckOnSelect = true,
  54. DataSourceUrl = Url.Content("~/MinorCondition/List"),
  55. ID = "dgMinorConditionList",
  56. IsPagination = true,
  57. IsShowRowNumbers = true,
  58. IsSingleSelect = false
  59. })
  60. </div>
  61. </div>