@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; var year = ViewBag.Years; ComboGridOptions cgopStandard = new ComboGridOptions { TextField = "StandardName", ValueField = "StandardID", OnSelect = "queryStandard", Name = "DictionaryStandard", ID = "DictionaryStandard", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; ComboGridOptions cgopClassmajor = new ComboGridOptions { TextField = "Name", ValueField = "ClassmajorID", Name = "ClassmajorDropdown", ID = "ClassmajorDropdown", OnSelect = "queryClass", GridOptions = new DataGridOptions { Columns = new List() { //new LinkButtonColumn { FieldName="No", HeaderText="班级编号", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Classmajor/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; ListControlOptions course = new ListControlOptions { Name = "CourseTypeID", TextField = "Name", ValueField = "Value", ColumnCount = 10, SelectedValueUrl = @Url.Content("~/SpecialityScoreSum/GetCourseType"), //SelectedValues = }; } @section scripts{ }
@Html.Position()
查询条件
  • @Html.RSLabel("College"):
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ItemSourceUrl = Url.Content("~/College/CollegeDropdownListOnlyCollege"), ID = "CollegeDropdown", Name = "CollegeDropdown", OnSelect = "queryClass" })
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.None, ID = "DictionarySchoolyear", Name = "DictionarySchoolyear", OnSelect = "queryClass", OnLoadSuccess = "queryClass", SelectedValue = year }, new Dictionary { { "data-condition", "dgStudentScoreList" } })
  • @*
  • 年级:
  • @Html.DropdownList(new DropdownListOptions { ID = "DictionarySchoolyear", Name = "DictionarySchoolyear", BindType = DropdownListBindType.SelectAll, OnSelect = "reloadClassmajor", OnLoadSuccess = "QueryYearDropdownList" })
  • *@
  • 专业名称:
  • @Html.ComboGrid(cgopStandard, new Dictionary { { "data-condition", "QueryStandardComboGrid" } })
  • 查询 @*导出Excel 成绩预览*@
  • @Html.ContextMenuBar("List")
  • 班级名称:
  • @Html.ComboGrid(cgopClassmajor, new Dictionary { { "data-condition", "dgStudentScoreList" } })
  • @*
  • 班级名称:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.None, ID = "ClassmajorDropdown", Name = "ClassmajorDropdown", OnLoadSuccess = "QueryClassmajorDropdownList" })
  • *@
  • 学年数:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_SchoolyearNum, new DropdownListOptions { ID = "DictionarySchoolyearNum", Name = "DictionarySchoolyearNum", BindType = DropdownListBindType.SelectAll })
  • 学期:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Semester, new DropdownListOptions { ID = "DictionarySchoolcode", Name = "DictionarySchoolcode", BindType = DropdownListBindType.SelectAll })
  • @*
  • 在校状态:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_InschoolStatus, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, SelectedValue = 1, ID = "InSchoolStatusDictionaryDropDown", Name = "InSchoolStatusDictionaryDropDown" })
  • *@
  • @Html.CheckBox("IsCredit") 输出学分统计项
  • 课程类型:
  • @Html.DictionaryCheckList(EMIS.ViewModel.DictionaryItem.CF_CourseType, course)