@model EMIS.ViewModel.CultureplanManage.PlanManagement.AdultSpecialtyPlanView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "SpecialtyCopyList"; ComboGridOptions cgop = new ComboGridOptions { ID = "SpecialtyID", Name = "SpecialtyID", TextField = "StandardName", ValueField = "SpecialtyID", GridOptions = new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="Code", HeaderText="专业代码", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="LearnSystem", HeaderText="学制", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="EducationName", HeaderText=EMIS.Utility.RSL.Get("EducationID"), Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="LearningformName", HeaderText="学习形式", Width=0.1, Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Specialty/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; ComboGridOptions cgopCourse = new ComboGridOptions { TextField = "CourseName", ValueField = "CoursematerialID", Name = "CoursematerialIDDropdownGridBo", ID = "CoursematerialIDDropdownGridBo", //OnSelect = "QueryCoursematerialComboGrid", GridOptions = new DataGridOptions { Columns = new List() { //new LinkButtonColumn { FieldName="CourseCode", HeaderText="课程代码", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Width=0.3, Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Coursematerial/ListForDropdown"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
@Html.ContextMenuBar("SpeCopy")
@Html.HiddenFor(x => x.PlanApplicationID) @Html.Hidden("SpecialtyCourse") @**@
@Html.LabelFor(x => x.GrademajorBeForeYear): @Html.SchoolYearDropDownList(new DropdownListOptions { ID = "GrademajorBeForeYear", Name = "GrademajorBeForeYear", }) @Html.LabelFor(x => x.GrademajorBeForeGrademajor): @Html.ComboGridFor(x => x.GrademajorBeForeGrademajor, cgop)
@Html.LabelFor(x => x.CourseTypeID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_CourseType, x => x.CourseTypeID) @Html.LabelFor(x => x.CoursematerialID): @Html.ComboGridFor(x => x.CoursematerialID, cgopCourse)
@Html.LabelFor(x => x.GrademajorAfterYear): @Html.SchoolYearDropDownList(new DropdownListOptions { ID = "GrademajorAfterYear", Name = "GrademajorAfterYear", }) @Html.LabelFor(x => x.IsOverwrite) @Html.CheckBoxFor((x => x.IsOverwrite))
@Html.LabelFor(x => x.StarttermID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_Semester, (x => x.SchoolcodeID))
}