@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "Report"; ComboGridOptions cgop = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", Name = "CollegeComboGrid", ID = "CollegeComboGrid", OnSelect = "queryCollege", GridOptions = new DataGridOptions { Columns = new List() { // new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/ListOnlyCollege"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; ComboGridOptions ExaminationSubject = new ComboGridOptions { TextField = "Name", ValueField = "ExaminationSubjectID", Name = "ExaminationSubjectDropdown", ID = "ExaminationSubjectDropdown", SelectedIndex = 1, GridOptions = new DataGridOptions { Columns = new List() { ///new LinkButtonColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationTypeName", HeaderText="考试类型", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="ExaminationFormName", HeaderText="考试类别", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="科目名称", Width=0.1, Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExaminationSubject/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; 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 cgopLearnSystem = new ComboGridOptions { TextField = "LearnSystem", ValueField = "LearnSystem", OnSelect = "queryClass", Name = "DictionaryLearnSystem", ID = "DictionaryLearnSystem", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Specialty/LearnSystem"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsShowHeader = false } }; } @section scripts{ }
@Html.Position()
查询条件
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), ID = "SchoolyearDropdown", Name = "SchoolyearDropdown", SelectedValue = BaseExtensions.GetCurrentSchoolYearID() })
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.ComboGrid(cgop)
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "DictionarySchoolyear", Name = "DictionarySchoolyear", OnSelect = "queryClass" })
  • 专业名称:
  • @Html.ComboGrid(cgopStandard)
  • @Html.Button(new ButtonOptions { OnClick = "Report_Search()", Icon = ButtonIcon.Search, Text = "查询" })
  • @Html.RSLabel("EducationID"):
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Education, new DropdownListOptions { ID = "DictionaryEducation", Name = "DictionaryEducation", BindType = DropdownListBindType.SelectAll, OnSelect = "queryClass" })
  • 学习形式:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Learningform, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "LearningformDictionaryDropDown", Name = "LearningformDictionaryDropDown", SelectedValue = BaseExtensions.GetDefaultLearnformForList(), OnSelect = "queryClass" })
  • 学制:
  • @Html.ComboGrid(cgopLearnSystem)
  • 在校状态:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_InschoolStatus, new DropdownListOptions { BindType = DropdownListBindType.SelectAll, SelectedValue = 1, ID = "InSchoolStatusDictionaryDropDown", Name = "InSchoolStatusDictionaryDropDown" })
  • 考试科目:
  • @Html.ComboGrid(ExaminationSubject)