@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, } }; //学制 ComboGridOptions cgopLearnSystem = new ComboGridOptions { TextField = "LearnSystem", ValueField = "LearnSystem", OnSelect = "reload", ID = "DictionaryLearnSystem", Name = "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.PositionCondition()
@Html.Hidden("SelectedID")
  • 毕业学期:
  • @Html.DropdownList(new DropdownListOptions { ID = "GradSchoolyearDropdown", Name = "GradSchoolyearDropdown", BindType = DropdownListBindType.SelectAll, ItemSourceUrl = Url.Content("~/SchoolYear/DropDown"), OnSelect = "reload", SelectedValue = BaseExtensions.GetGradSchoolYearID() }, new Dictionary { { "data-condition", "dgMinorGraduationApplyList" } })
  • @Html.RSLabel("College"):
  • @Html.ComboGrid(cgopCollege, new Dictionary { { "data-condition", "dgMinorGraduationApplyList" } })
  • 年级:
  • @Html.SchoolYearDropDownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, ID = "SchoolyearDictionaryDropDown", Name = "SchoolyearDictionaryDropDown", OnSelect = "queryClass" }, new Dictionary { { "data-condition", "dgMinorGraduationApplyList" } })
  • 专业名称:
  • @Html.ComboGrid(cgopStandard, new Dictionary { { "data-condition", "dgMinorGraduationApplyList" } })
  • 毕业类型:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.ER_GraduationType, new DropdownListOptions { ID = "DictionaryGraduationType", Name = "DictionaryGraduationType", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgMinorGraduationApplyList" } })
  • 在校状态:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_INOrOutSchoolStatus, new DropdownListOptions { ID = "DictionaryInschoolStatus", Name = "DictionaryInschoolStatus", BindType = DropdownListBindType.SelectAll, OnSelect = "reload", SelectedValue = (int)EMIS.ViewModel.CF_INOrOutSchoolStatus.Yes }, new Dictionary { { "data-condition", "dgMinorGraduationApplyList" } })
  • 毕业结论:
  • @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.ER_GraduationResult, new DropdownListOptions { ID = "DictionaryGraduationResult", Name = "DictionaryGraduationResult", BindType = DropdownListBindType.SelectAll, OnSelect = "reload" }, new Dictionary { { "data-condition", "dgMinorGraduationApplyList" } })
  • 状态:
  • @Html.DropdownList(new DropdownListOptions { ID = "DictionaryApprovalStatus", Name = "DictionaryApprovalStatus", BindType = DropdownListBindType.SelectAll, //SelectedValue = BaseExtensions.GetStartFlowStatus(typeof(EMIS.Entities.ER_GraduationApply).Name), ItemSourceUrl = Url.Content("~/Common/ApproveStatusApplyDropDown?tableName=" + typeof(EMIS.Entities.ER_MinorGraduationApply).Name), OnSelect = "reload" }, new Dictionary { { "data-condition", "dgMinorGraduationApplyList" } })
辅修毕业申请列表
@Html.ContextMenuBar("List")
@*@Html.PositionBatchModify()*@
@Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="MinorGraduationApplyID" }, new BoundFieldColumn { FieldName="GraduatingSemesterCode", HeaderText="毕业学期", Align=AlignStyle.Center, Width=0.07 }, new BoundFieldColumn { FieldName="StudentNo", HeaderText="学号", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="UserName", HeaderText="姓名", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center, Width=0.02 }, new BoundFieldColumn { FieldName="GraduationTypeName", HeaderText="毕业类型", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="ClassminorName", HeaderText="辅修班级名称", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="InSchoolStatusName", HeaderText="在校状态", Align=AlignStyle.Center, Width=0.04 }, new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center, Width=0.06, OverflowLength=6 }, new BoundFieldColumn { FieldName="MinorGraduationResultName", HeaderText="毕业结论", Align=AlignStyle.Center, Width=0.04, }, new BoundFieldColumn { FieldName="ApprovalResult", HeaderText="预审说明", Align=AlignStyle.Center, Width=0.05, }, new BoundFieldColumn { FieldName="Remark", HeaderText="备注", Align=AlignStyle.Center, Width=0.02, OverflowLength=5 }, new ApproveStatusColumn { FieldName="ApprovalStatusName", TableName=typeof(EMIS.Entities.ER_MinorGraduationApply).Name, IDFieldName="MinorGraduationApplyID", HeaderText="状态", Align=AlignStyle.Center, Width=0.03 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/MinorGraduationApply/List"), ID = "dgMinorGraduationApplyList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })