@using Bowin.Web.Controls.Mvc; @using EMIS.Entities; @using EMIS.Web.Controls; @{ ViewBag.Title = "复学名单"; ComboGridOptions cgopCampus = new ComboGridOptions { TextField = "Name", ValueField = "CampusID", OnSelect = "queryCollege", Name = "cbgCampus", ID = "cbgCampus", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CampusName"), Align=AlignStyle.Center } }, //OnLoadSuccessFun = "reload", IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Campus/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; ComboGridOptions cgopCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", OnSelect = "queryCollege", Name = "cbgCollege", ID = "cbgCollege", 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 cgopStandard = new ComboGridOptions { TextField = "StandardName", ValueField = "StandardID", OnSelect = "queryStandard", Name = "cbgStandard", ID = "cbgStandard", 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.PositionCondition()
  • 返校学期:
  • @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), ID = "ddlSchoolYear", Name = "ddlSchoolYear", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
  • @EMIS.Utility.RSL.Get("Campus"):
  • @Html.ComboGrid(cgopCampus, new Dictionary { { "data-condition", "dgList" } })
  • @EMIS.Utility.RSL.Get("College"):
  • @Html.ComboGrid(cgopCollege, new Dictionary { { "data-condition", "dgList" } })
  • @Html.RSLabel("EducationID"):
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Education, new DropdownListOptions { ID = "ddlEducation", Name = "ddlEducation", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "ddlYear", Name = "ddlYear", OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
  • 专业:
  • @Html.ComboGrid(cgopStandard, new Dictionary { { "data-condition", "dgList" } })
  • 学习形式:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Learningform, new DropdownListOptions { ID = "ddlLearningform", Name = "ddlLearningform", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgList" } })
复学名单
@Html.ContextMenuBar("List")
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ID"}, new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center,Width=0.1 }, new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center,Width=0.06,OverflowLength=6 }, new BoundFieldColumn { FieldName="EndDate", HeaderText="结束日期", Align=AlignStyle.Center, Formatter = Formatter.OnlyYearMonthDay, Width=0.07 }, new BoundFieldColumn { FieldName="DifferentDynamicTypeDesc", HeaderText="异动类型", Align=AlignStyle.Center,Width=0.05 }, new BoundFieldColumn { FieldName="ClassmajorName", HeaderText="异动前班级", Align=AlignStyle.Center,Width=0.12 }, new BoundFieldColumn { FieldName="StudentStatusDesc", HeaderText="异动前学籍状态", Align=AlignStyle.Center,Width=0.05 }, new BoundFieldColumn { FieldName="AfterClassmajorName", HeaderText="异动后班级", Align=AlignStyle.Center,Width=0.12 }, new BoundFieldColumn { FieldName="AfterStudentStatusDesc", HeaderText="异动后学籍状态", Align=AlignStyle.Center,Width=0.05 }, new BoundFieldColumn { FieldName="ReasonDesc", HeaderText="异动原因", Align=AlignStyle.Center,Width=0.06 }, new BoundFieldColumn { FieldName="IsReentriedDesc", HeaderText="是否已复学处理", Align=AlignStyle.Center,Width=0.05 }, new BoundFieldColumn { FieldName="CollegeName", HeaderText="所属学院", Align=AlignStyle.Center,Width=0.1 }, new BoundFieldColumn { FieldName="CampusName", HeaderText="所属校区", Align=AlignStyle.Center,Width=0.1 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Action("List"), ID = "dgList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })