@using Bowin.Web.Controls.Mvc; @using EMIS.Web.Controls; @{ ViewBag.Title = "List"; //院系所 ComboGridOptions cgopCollege = new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", OnSelect = "queryClass", Name = "CollegeDropdown", ID = "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 } }, //IsAutoLoad = false, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/ListOnlyCollege"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; //专业名称 ComboGridOptions cgopStandard = new ComboGridOptions { TextField = "StandardName", ValueField = "StandardID", OnSelect = "queryStandard", Name = "StandardDictionaryDropDown", ID = "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 } }, //IsAutoLoad = false, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; //学制 ComboGridOptions cgopLearnSystem = new ComboGridOptions { TextField = "LearnSystem", ValueField = "LearnSystem", OnSelect = "reload", Name = "DictionaryLearnSystem", ID = "DictionaryLearnSystem", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Align=AlignStyle.Center } }, //IsAutoLoad = false, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Specialty/LearnSystem"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, IsShowHeader = 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, Width=0.1 }, new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center, Width=0.2 } }, //IsAutoLoad = false, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Classmajor/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; //课程信息 ComboGridOptions cgopCourse = new ComboGridOptions { TextField = "CourseName", ValueField = "CoursematerialID", ID = "CoursematerialComboGrid", Name = "CoursematerialComboGrid", OnSelect = "reload", GridOptions = new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.2 } }, //IsAutoLoad = false, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Coursematerial/ListForDropdown"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@Html.Position()
查询条件
@Html.PositionCondition()
  • 学年学期:
  • @Html.DropdownList(new DropdownListOptions { ID = "SchoolYearDropdown", Name = "SchoolYearDropdown", BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), SelectedValue = BaseExtensions.GetCurrentSchoolYearID(), OnSelect = "reload" }, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • @Html.RSLabel("College"):
  • @Html.ComboGrid(cgopCollege, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { ID = "SchoolyearDictionaryDropDown", Name = "SchoolyearDictionaryDropDown", BindType = DropdownListBindType.SelectAll, OnSelect = "queryClass" }, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • 专业名称:
  • @Html.ComboGrid(cgopStandard, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • @Html.RSLabel("EducationID"):
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Education, new DropdownListOptions { ID = "DictionaryEducation", Name = "DictionaryEducation", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • 学习形式:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_Learningform, new DropdownListOptions { ID = "DictionaryLearningform", Name = "DictionaryLearningform", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • 学制:
  • @Html.ComboGrid(cgopLearnSystem, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • 班级名称:
  • @Html.ComboGrid(cgopClassmajor, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • 课程名称:
  • @Html.ComboGrid(cgopCourse, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • 在校状态:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_INOrOutSchoolStatus, new DropdownListOptions { ID = "DictionaryInschoolStatus", Name = "DictionaryInschoolStatus", BindType = DropdownListBindType.SelectAll, SelectedValue = (int)EMIS.ViewModel.CF_INOrOutSchoolStatus.Yes, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • 状态:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.ER_RetakePlanStatus, new DropdownListOptions { ID = "DictionaryRetakePlanStatus", Name = "DictionaryRetakePlanStatus", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgRetakePlanList" } })
  • 报名状态:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_GeneralPurpose, new DropdownListOptions { ID = "DictionaryGeneralPurpose", Name = "DictionaryGeneralPurpose", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgRetakePlanList" } })
任务名单列表
@Html.ContextMenuBar("List")
@*@Html.PositionBatchModify()*@
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="RetakePlanStudentID" }, new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="重修学年学期", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="ClassName", HeaderText="重修班级名称", Align=AlignStyle.Center, Width=0.08 }, new BoundFieldColumn { FieldName="LoginID", HeaderText="学号", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center, Width=0.06 }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="CourseTypeDesc", HeaderText="课程类型", Align=AlignStyle.Center, Width=0.05 }, new BoundFieldColumn { FieldName="CourseCredit", HeaderText="课程学分", Align=AlignStyle.Center, Width=0.04 }, //new BoundFieldColumn { FieldName="SchoolyearNumDesc", HeaderText="开课学年", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="StarttermDesc", HeaderText="开课学期", Align=AlignStyle.Center, Width=0.04 }, //new BoundFieldColumn { FieldName="DepartmentName", HeaderText="开课教研室", Align=AlignStyle.Center, Width=0.08 }, //new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="RecordStatusName", HeaderText="状态", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedtColumn" }, new BoundFieldColumn { FieldName="ApplyStatusName", HeaderText="报名状态", Align=AlignStyle.Center, Width=0.04, CustomFormatFun="SetRedtColumn" } }, PageSize = 20, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/RetakePlanList/List"), ID = "dgRetakePlanList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })