@using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "FinallyScoreList"; Guid? graduationApplyID = new Guid(Request["graduationApplyID"]); } @section scripts{ }
@Html.PositionCondition("GraduationFinallyScoreSelect")
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { ID = "SchoolyearDropdown", Name = "SchoolyearDropdown", BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), OnSelect = "reload" }, new Dictionary { { "data-condition", "dgGraduationFinallyScoreList" } })
  • 课程类型:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_CourseType, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryCourseType", Name = "DictionaryCourseType", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgGraduationFinallyScoreList" } })
  • 选修类别:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_CourseSelectType, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryCourseSelectType", Name = "DictionaryCourseSelectType", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgGraduationFinallyScoreList" } })
  • 考试性质:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_ExamsCategory, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryExamsCategory", Name = "DictionaryExamsCategory", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgGraduationFinallyScoreList" } })
  • 开课学期:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Startterm, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryStartterm", Name = "DictionaryStartterm", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgGraduationFinallyScoreList" } })
  • 学位课程:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions() { BindType = DropdownListBindType.SelectAll, ID = "DictionaryIsMainCourse", Name = "DictionaryIsMainCourse", //SelectedValue = (int)EMIS.ViewModel.CF_GeneralPurpose.IsYes, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgGraduationFinallyScoreList" } })
  • 处理方式:
  • @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", "dgGraduationFinallyScoreList" } })
  • 是否计划:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "DictionaryIsExecutablePlan", Name = "DictionaryIsExecutablePlan", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgGraduationFinallyScoreList" } })
  • 计划状态:
  • @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", "dgGraduationFinallyScoreList" } })
@Html.ContextMenuBar("ScoreDetail")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="FinallyScoreID" }, new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1, OverflowLength=12 }, new BoundFieldColumn { FieldName="CourseTypeName", HeaderText="课程类型", OrderFieldName="CourseTypeID", Align=AlignStyle.Center, 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 }, new BoundFieldColumn { FieldName="StarttermName", HeaderText="开课学期", OrderFieldName="StarttermID", Align=AlignStyle. Center, Width=0.04 }, new BoundFieldColumn { FieldName="CourseSelectTypeName", HeaderText="选修类别", OrderFieldName="CourseSelectTypeID", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="IsExecutablePlanName", HeaderText="是否计划", OrderFieldName="IsExecutablePlan", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="ExecutablePlanStatusName", HeaderText="计划状态", OrderFieldName="ExecutablePlanStatus", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }, //new BoundFieldColumn { FieldName="TotalHours", HeaderText="总学时", Align=AlignStyle.Center, Width=0.03 }, new BoundFieldColumn { FieldName="HandleModeName", HeaderText="处理方式", OrderFieldName="HandleModeID", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedColumn" }, new BoundFieldColumn { FieldName="ExamsCategoryName", HeaderText="考试性质", OrderFieldName="ExamsCategoryID", Align=AlignStyle.Center, Width=0.04 }, //new BoundFieldColumn { FieldName="ExamsStateName", HeaderText="考试状态", OrderFieldName="ExamsStateID", Align=AlignStyle. Center, Width=0.04 }, new BoundFieldColumn { FieldName="TotalScore", HeaderText="总成绩", Align=AlignStyle.Center, Width=0.03 }, new BoundFieldColumn { FieldName="ScoreCredit", HeaderText="学分", Align=AlignStyle.Center, Width=0.02 } //new BoundFieldColumn { FieldName="GradePoint", HeaderText="绩点", Align=AlignStyle.Center, Width=0.02 } }, CustomerRowStyleFun = "SetRedGrid", IsPostBack = true, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/GraduationApply/FinallyScoreList?graduationApplyID=" + graduationApplyID), ID = "dgGraduationFinallyScoreList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })