@using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "ExecutablePlanList"; Guid? graduationApplyID = new Guid(Request["graduationApplyID"]); } @section scripts{ }
@Html.PositionCondition("ExecutablePlanGraduationApply")
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { ID = "SchoolyearDropdown", Name = "SchoolyearDropdown", BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), OnSelect = "reload" }, new Dictionary { { "data-condition", "dgExecutablePlanList" } })
  • 课程类型:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_CourseType, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryCourseType", Name = "DictionaryCourseType", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgExecutablePlanList" } })
  • 开课学期:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Startterm, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryStartterm", Name = "DictionaryStartterm", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgExecutablePlanList" } })
  • 学位课程:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions() { ID = "DictionaryIsMainCourse", Name = "DictionaryIsMainCourse", BindType = DropdownListBindType.SelectAll, //SelectedValue = (int)EMIS.ViewModel.CF_GeneralPurpose.IsYes, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgExecutablePlanList" } })
  • 处理方式:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_HandleMode, new DropdownListOptions() { BindType = DropdownListBindType.SelectAll, ID = "DictionaryHandleMode", Name = "DictionaryHandleMode", //SelectedValue = (int)EMIS.ViewModel.CF_HandleMode.RequiredCourse, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgExecutablePlanList" } })
  • 计划状态:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.EM_ExecuteStatus, new DropdownListOptions() { ID = "DictionaryExecutablePlanStatus", Name = "DictionaryExecutablePlanStatus", BindType = DropdownListBindType.SelectAll, SelectedValue = (int)EMIS.ViewModel.EM_ExecuteStatus.Submited, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgExecutablePlanList" } })
@Html.ContextMenuBar("EPDetail")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ExecutablePlanID" }, new BoundFieldColumn { FieldName="GrademajorName", HeaderText="年级专业名称", Align=AlignStyle.Center, Width=0.06, OverflowLength=6 }, new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1, OverflowLength=10 }, new BoundFieldColumn { FieldName="CourseTypeName", HeaderText="课程类型", Align=AlignStyle.Center, OrderFieldName="CourseTypeID", Width=0.05 }, new BoundFieldColumn { FieldName="Credit", HeaderText="课程学分", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="IsMainCourseName", HeaderText="学位课程", OrderFieldName="IsMainCourse", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="StarttermName", HeaderText="开课学期", OrderFieldName="StarttermID", Align=AlignStyle. Center, Width=0.04 }, new BoundFieldColumn { FieldName="Totalhours", HeaderText="总学时", OrderFieldName="Totalhours", Align=AlignStyle.Center, Width=0.03 }, new BoundFieldColumn { FieldName="HandleModeName", HeaderText="处理方式", OrderFieldName="HandleModeID", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="ExecuteStatusName", HeaderText="计划状态", OrderFieldName="ExecuteStatus", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.03, OverflowLength=3 } }, CustomerRowStyleFun = "SetRedGrid", IsPostBack = true, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/GraduationApply/ExecutablePlanList?graduationApplyID=" + graduationApplyID), ID = "dgExecutablePlanList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })