@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; } @section scripts{ }
课程安排
@Html.ContextMenuBar("SchedulingForm")
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = string.IsNullOrEmpty(Request["schoolyearID"]) ? BaseExtensions.GetCurrentSchoolYearID() : new Guid(Request["schoolyearID"]), ID = "SchoolYearDropdown", Name = "SchoolYearDropdown" })
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListBanidsWithoutRange"), SelectedValue = Request["collegeID"], ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "QueryCollegeDropdownList", OnLoadSuccess = "QueryCollegeDropdownList" })
  • 教研室:
  • @Html.DropdownList(new DropdownListOptions { ID = "DepartmentDropdown", Name = "DepartmentDropdown", ItemSourceUrl = Url.Content("~/Department/DepartmentDropdownListBanid"), SelectedValue = Request["departmentID"], BindType = DropdownListBindType.SelectAll, OnLoadSuccess = "QueryDepartmentDropdownList" })
  • 处理方式:
  • @Html.DictionaryCheckList(EMIS.ViewModel.DictionaryItem.CF_HandleMode, new ListControlOptions { Name = "chkHandleMode", ColumnCount = 10, SelectedValues = new List { string.IsNullOrEmpty(Request["handleMode"]) ? (int)EMIS.ViewModel.CF_HandleMode.SelectionCourse : int.Parse(Request["handleMode"]) } })
  • @Html.Button(new ButtonOptions { OnClick = "reload()", Icon = ButtonIcon.Search, Text = "查询" })
  • @Html.DataGrid(new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="EducationSchedulingClassID", IsHidden=true }, new BoundFieldColumn { FieldName="CoursematerialName", HeaderText="课程名称", Align=AlignStyle.Center, Width=100 }, new BoundFieldColumn { FieldName="EducationMissionClassName", HeaderText="任务班名称", Align=AlignStyle.Center, Width=200 }, new BoundFieldColumn { FieldName="TaskGroupName", HeaderText="分组", Align=AlignStyle.Center, Width=50 }, new BoundFieldColumn { FieldName="TeachingModeName", HeaderText="授课方式", Align=AlignStyle.Center, Width=70 }, new BoundFieldColumn { FieldName="StartStopWeeklyNum", HeaderText="执行周次", Align=AlignStyle.Center, Width=70 }, new BoundFieldColumn { FieldName="ExecutablePlanCourseTime", HeaderText="执行学时", Align=AlignStyle.Center, Width=70 }, new BoundFieldColumn { FieldName="TeacherNames", HeaderText="授课老师", Align=AlignStyle.Center, OverflowLength=8, Width=100 }, new BoundFieldColumn { FieldName="ClassroomName", HeaderText="教室", Align=AlignStyle.Center, Width=70 }, new BoundFieldColumn { FieldName="RemainCourseTime", HeaderText="剩余学时", Align=AlignStyle.Center, Width=70 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/EducationSchedule/GetDepartmentEducationSchedulingClass?departmentID=" + Request["departmentID"]) + "&schoolyearID=" + BaseExtensions.GetCurrentSchoolYearID(), ID = "dgEducationSchedulingClassList", OnClickRow = "selectItem", OnLoadSuccessFun = "gridLoaded", CustomerRowStyleFun = "isScheduleEnable", RowHighlightColor = System.Drawing.Color.FromArgb(114, 181, 233), IsMouseOverHighlight = true, IsAutoLoad = false, IsPagination = false, IsShowRowNumbers = true, IsSingleSelect = true })
    删除
    编辑周次
    修改老师
    修改教室
    刷新页面