List.cshtml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. @using Bowin.Web.Controls.Mvc;
  2. @using EMIS.Entities;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "进入评价";
  6. }
  7. <h1>
  8. TODO:: 进入评价
  9. </h1>
  10. @section scripts{
  11. <script src="~/Scripts/Business/SchoolCalendar/Activitie.js" type="text/javascript"></script>
  12. }
  13. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  14. @Html.Position()
  15. <div class="p_SearchTitle">
  16. <div style="float: left; margin-left: 10px; font-size: 12px; line-height: 30px;">
  17. 查询条件</div>
  18. </div>
  19. <form id="formQuery" method="post" action="@Url.Content("~/Activitie/Excel")">
  20. @Html.PositionCondition()
  21. <div class="search_keyword">
  22. <div class="search_input">
  23. <ul>
  24. <li class="sn" style="padding-left: 5px;">活动类型:</li>
  25. <li class="sv">
  26. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Activitie/ActivitiesTypeDropdownListBanid"), ID = "ActivitiesTypeDropdown", Name = "ActivitiesTypeDropdown", OnSelect = "QueryActivitiesTypeDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgActivitieList" } })
  27. </li>
  28. <li class="sn" style="padding-left: 5px;">时间段:</li>
  29. <li class="sv">
  30. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Activitie/TimesSegmentDropdownListBanid"), ID = "TimesSegmentDropdown", Name = "TimesSegmentDropdown", OnSelect = "QueryTimesSegmentDropdownList" }, new Dictionary<string, string> { { "data-condition", "dgActivitieList" } })
  31. </li>
  32. </ul>
  33. </div>
  34. </div>
  35. </form>
  36. <div class="p_title">
  37. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  38. 固定活动列表</div>
  39. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("List")</div>
  40. </div>
  41. @Html.PositionBatchModify()
  42. <div class="search_list">
  43. @Html.DataGrid(new DataGridOptions
  44. {
  45. Columns = new List<DataGridColumn>()
  46. {
  47. new CheckBoxFieldColumn{ HeaderText="", FieldName="ActivitiesID"},
  48. new LinkButtonColumn { FieldName="Name", HeaderText="活动名称", Align=AlignStyle.Center , Handle="edit", Width = 0.1 },
  49. new BoundFieldColumn { FieldName="ActivitiesTime", HeaderText="月日", Align=AlignStyle.Center , Width = 0.1},
  50. new BoundFieldColumn { FieldName="TimesSegmentName", HeaderText="时间段", Align=AlignStyle.Center , Width = 0.1},
  51. new BoundFieldColumn { FieldName="ActivitiesTypeName", HeaderText="活动类型", Align=AlignStyle.Center, Width = 0.1 },
  52. new BoundFieldColumn { FieldName="ActivitiesContent", HeaderText="活动内容", Align=AlignStyle.Center , Width = 0.15}
  53. },
  54. IsCheckOnSelect = true,
  55. DataSourceUrl = Url.Content("~/Activitie/List"),
  56. ID = "dgActivitieList",
  57. IsPagination = true,
  58. IsShowRowNumbers = true,
  59. IsSingleSelect = false
  60. })
  61. </div>
  62. </div>
  63. <div id="add">
  64. </div>