@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
课程调整
@Html.ContextMenuBar("BatchEdit")
@Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemList = ViewBag.WeekNumDropdownItemList, OnSelect = "refreshWeekList", ID = "ddlWeekNum", Name = "ddlWeekNum" })
@Html.WeekdayDropDownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, OnSelect = "refreshCourseTimeList", ID = "ddlWeekday", Name = "ddlWeekday" })
@Html.ComboGrid(new ComboGridOptions { TextField = "Name", ValueField = "UserID", ID = "cbgUser", Name = "cbgUser", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="教师姓名", Width=0.1, Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Staff/ListWithNoDataRange"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsAutoLoad = true } })
@Html.DropdownList( new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/CoursesTime/DropDown"), ID = "ddlCoursesTime", Name = "ddlCoursesTime" } )
@Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_ClassroomType, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, SelectedValue = Request["classroomTypeID"], OnSelect = "getClassroom", OnLoadSuccess = "getClassroom", ID = "ddlClassroomType", Name = "ddlClassroomType" } )
@Html.ComboGrid(new ComboGridOptions { TextField = "Name", ValueField = "ClassroomID", ID = "cbgClassroom", Name = "cbgClassroom", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="教室名称", Align=AlignStyle.Center } }, IsAutoLoad = false, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Classroom/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } })
注:请设置需要批量调整的项,其他非调整项请勿操作。
}