@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; ComboGridOptions cgopCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", ID = "cgCollege", Name = "cgCollege", OnSelect = "queryCollege", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center } }, OnLoadSuccessFun = "reload", IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/ListOnlyCollege"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; ComboGridOptions cgopExamination = new ComboGridOptions { TextField = "Name", ValueField = "ExaminationTypeID", Name = "cgExamination", ID = "cgExamination", OnSelect = "SelectExaminationSubjectDropdown", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="考试类型名称", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExaminationType/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; ComboGridOptions cgExaminationSubject = new ComboGridOptions { TextField = "Name", ValueField = "ExaminationSubjectID", Name = "ddlExaminationSubject", ID = "ddlExaminationSubject", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText="考试科目名称", 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 = "queryClass", Name = "ddlStandard", ID = "ddlStandard", 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, } }; } @section scripts{ }
@Html.Position()
  • 考试学年学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), Name = "SchoolyearDropdown", OnSelect = "reload", SelectedValue = BaseExtensions.GetCurrentSchoolYearID() }, new Dictionary { { "data-condition", "dgStudentList" } })
  • 考试类型:
  • @Html.ComboGrid(cgopExamination, new Dictionary { { "data-condition", "dgStudentList" } })
  • 考试科目:
  • @Html.ComboGrid(cgExaminationSubject, new Dictionary { { "data-condition", "dgStudentList" } }) @* @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/ExaminationSubject/DropdownList"), ID = "ddlExaminationSubject", Name = "ddlExaminationSubject", OnSelect = "SelectExaminationSubjectDropdown" }, new Dictionary { { "data-condition", "dgStudentList" } })*@
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.ComboGrid(cgopCollege, new Dictionary { { "data-condition", "dgStudentList" } })
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlYear", Name = "ddlYear", OnSelect = "queryGrademajor" }, new Dictionary { { "data-condition", "dgStudentList" } })
  • 专业名称:
  • @Html.ComboGrid(cgopStandard, new Dictionary { { "data-condition", "dgStudentList" } })
  • 是否已缴费:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions { Name = "IsPay", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgStudentList" } })
数据导出
@Html.ContextMenuBar("List")