@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/TimesSegmentDropdownListBanid"), ID = "TimesSegmentDropdown", Name = "TimesSegmentDropdown", OnSelect = "QueryTimesSegmentDropdownList" }, new Dictionary { { "data-condition", "dgCoursesTimeList" } })
节次时间列表
@Html.ContextMenuBar("List")
@Html.PositionBatchModify()
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="CoursesTimeID"}, new LinkButtonColumn { FieldName="StartTimes", HeaderText="开始节次", Align=AlignStyle.Center , Handle="edit", Width=0.1 }, new LinkButtonColumn { FieldName="EndTimes", HeaderText="结束节次", Align=AlignStyle.Center , Handle="edit", Width=0.1 }, new BoundFieldColumn { FieldName="TimesSegmentName", HeaderText="时间段", Align=AlignStyle.Center, Width=0.15 }, new BoundFieldColumn { FieldName="StartDate", HeaderText="开始时间", CustomFormatFun="formatStartTime", Align=AlignStyle.Center, Width=0.2 }, new BoundFieldColumn { FieldName="EndDate", HeaderText="结束时间", CustomFormatFun="formatEndTime", Align=AlignStyle.Center, Width=0.2 }, new BoundFieldColumn { FieldName="Workhours", HeaderText="学时数", Align=AlignStyle.Center, Width=0.1 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/CoursesTime/List"), ID = "dgCoursesTimeList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })