List.cshtml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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/MinorStandardSetting.js"
  8. 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. 查询条件
  15. </div>
  16. </div>
  17. <form id="formQuery" method="post" action="@Url.Content("~/MinorStandardSetting/Excel")">
  18. @Html.PositionCondition()
  19. <div class="search_keyword">
  20. @Html.Hidden("SelectedID")
  21. <div class="search_input">
  22. <ul>
  23. <li class="sn" style="padding-left: 5px;">专业名称:</li>
  24. <li class="sv">
  25. @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Standard, DropdownListBindType.SelectAll,
  26. new ComboGridOptions
  27. {
  28. ID = "StandardDropDown",
  29. Name = "StandardDropDown",
  30. OnSelect = "reload"
  31. },
  32. new Dictionary<string, string> { { "data-condition", "dgMinorStandardSettingList" } })
  33. </li>
  34. <li class="sn" style="padding-left: 5px;">辅修专业名称:</li>
  35. <li class="sv">
  36. @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Standard, DropdownListBindType.SelectAll,
  37. new ComboGridOptions
  38. {
  39. ID = "MinorStandardDropDown",
  40. Name = "MinorStandardDropDown",
  41. OnSelect = "reload"
  42. },
  43. new Dictionary<string, string> { { "data-condition", "dgMinorStandardSettingList" } })
  44. </li>
  45. </ul>
  46. </div>
  47. </div>
  48. </form>
  49. <div class="p_title">
  50. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  51. 辅修控制列表</div>
  52. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  53. </div>
  54. <div class="search_list">
  55. @Html.DataGrid(new DataGridOptions
  56. {
  57. Columns = new List<DataGridColumn>()
  58. {
  59. new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorStandardSettingID" },
  60. new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.1 },
  61. new BoundFieldColumn { FieldName="MinorStandardName", HeaderText="辅修专业名称", Align=AlignStyle.Center, Width=0.1 },
  62. },
  63. IsCheckOnSelect = true,
  64. DataSourceUrl = Url.Content("~/MinorStandardSetting/List"),
  65. ID = "dgMinorStandardSettingList",
  66. IsPagination = true,
  67. IsShowRowNumbers = true,
  68. IsSingleSelect = false
  69. })
  70. </div>
  71. </div>