@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; //院系所 ComboGridOptions cgopCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", OnSelect = "queryClass", ID = "CollegeDropdown", Name = "CollegeDropdown", GridOptions = new DataGridOptions { Columns = new List() { //new LinkButtonColumn { FieldName="No", HeaderText=@EMIS.Utility.RSL.Get("CollegeCode"), Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center, Width=0.2 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/ListOnlyCollege"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; //专业名称 ComboGridOptions cgopStandard = new ComboGridOptions { TextField = "StandardName", ValueField = "StandardID", OnSelect = "queryStandard", ID = "StandardDictionaryDropDown", Name = "StandardDictionaryDropDown", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="StandardCode", HeaderText="专业代码", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center, Width=0.1 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
@Html.Hidden("SelectedID")
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { ID = "SchoolyearDropdown", Name = "SchoolyearDropdown", BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), OnSelect = "reload", SelectedValue = BaseExtensions.GetCurrentSchoolYearID() }, new Dictionary { { "data-condition", "dgStudentMinorRegistApplyList" } })
  • @Html.RSLabel("College"):
  • @Html.ComboGrid(cgopCollege, new Dictionary { { "data-condition", "dgStudentMinorRegistApplyList" } })
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "SchoolyearDictionaryDropDown", Name = "SchoolyearDictionaryDropDown", OnSelect = "queryClass" }, new Dictionary { { "data-condition", "dgStudentMinorRegistApplyList" } })
  • 辅修专业名称:
  • @Html.DictionaryComboGrid(EMIS.ViewModel.DictionaryItem.CF_Standard, DropdownListBindType.SelectAll, new ComboGridOptions { ID = "MinorStandardDropDown", Name = "MinorStandardDropDown", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgStudentMinorRegistApplyList" } })
  • 辅修报名时间:
辅修专业报名列表
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="GrademinorID" }, new BoundFieldColumn { FieldName="YearID", HeaderText="年级", Align=AlignStyle.Center, Width=0.07 }, //new BoundFieldColumn { FieldName="StandardName", HeaderText="辅修专业", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="StandardName", HeaderText="辅修专业", Align=AlignStyle.Center, Width=0.1 }, new LinkButtonColumn { FieldName="CourseCount", HeaderText="修读门数", Align=AlignStyle.Center, Width=0.05, Handle = "CourseList" }, new BoundFieldColumn { FieldName="CollegeName", HeaderText="开设院系", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="StudentLimit", HeaderText="人数上限", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="ApplyNumber", HeaderText="已报人数", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="RecordStatusStr", HeaderText="审核状态", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="OpenStatusStr", HeaderText="开班状态", Align=AlignStyle.Center, Width=0.04 }, new LinkButtonColumn { FieldName="OperateText", HeaderText="操作", Handle="Click", Align=AlignStyle.Center, Width=0.04, EnableFieldName="CanSelect" }, }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/StudentMinorRegistApply/List"), ID = "dgStudentMinorRegistApplyList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })