@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition() @Html.Hidden("LessonRecordIDs")
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), Name = "Schoolyear", ID = "Schoolyear", SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), OnSelect = "reload", OnLoadSuccess = "reload" }, new Dictionary { { "data-condition", "dgLessonRecordList" } })
  • @(EMIS.Utility.RSL.Get("College")):
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/College/AllCollegeDropdownListBanid"), Name = "College", ID = "College", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgLessonRecordList" } })
  • 督导院系:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SupervisionCollege/Dropdown"), Name = "SupervisionCollege", ID = "SupervisionCollege", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgLessonRecordList" } })
  • 督导时间:
  • @Html.TextBox(new TextBoxOptions { ID = "StartDate", Name = "StartDate", TextBoxType = TextBoxType.Date, OnChange = "startDateChanged" }, new Dictionary { { "data-condition", "dgLessonRecordList" } }) 至 @Html.TextBox(new TextBoxOptions { ID = "EndDate", Name = "EndDate", TextBoxType = TextBoxType.Date, OnChange = "endDateChanged" }, new Dictionary { { "data-condition", "dgLessonRecordList" } })
学生评分
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn { HeaderText="", FieldName = "LessonRecordID" }, new LinkButtonColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Handle="show" }, new BoundFieldColumn { FieldName="SupervisionTypeDesc", HeaderText="督导类型", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="LessonDateDesc", HeaderText="督导时间", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="SupervisionCollegeName", HeaderText="督导院系", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Location", HeaderText="督导地点", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="UserName", HeaderText="督导对象", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="授课班级", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="TotalScore", HeaderText="评分", Align=AlignStyle.Center, CustomFormatFun="CMSFunction.DataTableFormatter.TwoDigit" }, new BoundFieldColumn { FieldName="CreateUserName", HeaderText="督导员", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/LessonRecord/List"), ID = "dgLessonRecordList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })