@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
  • 活动类型:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Activitie/ActivitiesTypeDropdownListBanid"), ID = "ActivitiesTypeDropdown", Name = "ActivitiesTypeDropdown", OnSelect = "QueryActivitiesTypeDropdownList" }, new Dictionary { { "data-condition", "dgSCalendarList" } })
  • 时间段:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/Activitie/TimesSegmentDropdownListBanid"), ID = "TimesSegmentDropdown", Name = "TimesSegmentDropdown", OnSelect = "QueryTimesSegmentDropdownList" }, new Dictionary { { "data-condition", "dgSCalendarList" } })
校历假日列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ActivitiesID"}, new LinkButtonColumn { FieldName="Name", HeaderText="活动名称", Align=AlignStyle.Center , Handle="edit", Width = 0.04}, new BoundFieldColumn { FieldName="ActivitiesTypeName", HeaderText="活动类型", Align=AlignStyle.Center, Width = 0.04 }, new BoundFieldColumn { FieldName="ActivitiesTime", HeaderText="日期",Formatter=Formatter.OnlyYearMonthDay, Align=AlignStyle.Center, Width = 0.03 }, new BoundFieldColumn { FieldName="TimesSegmentName", HeaderText="时间段", Align=AlignStyle.Center, Width = 0.02 }, new BoundFieldColumn { FieldName="ActivitiesContent", HeaderText="活动内容", Align=AlignStyle.Center, Width = 0.15 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/SCalendar/List"), ID = "dgSCalendarList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })