@model EMIS.ViewModel.EducationManage.ExecutablePlanGenerateView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "GenerateExecutablePlan"; ViewBag.Title = "List"; ComboGridOptions cgopSpecialty = new ComboGridOptions { TextField = "StandardName", ValueField = "StandardID", OnSelect = "QueryStandardDropdownList", Name = "StandardID", ID = "StandardID", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="StandardCode", HeaderText="专业代码", Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="StandardName", HeaderText="专业名称", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/StandardBindComboGridOptions"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; ComboGridOptions cgopYear = new ComboGridOptions { TextField = "GradeID", ValueField = "GradeID", OnSelect = "QueryYearDropdownList", Name = "YearID", ID = "YearID", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="GradeID", Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Grademajor/GradeBindComboGridOptions"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
生成执行计划
@Html.ContextMenuBar("Create")
@Html.LabelFor(x => x.CampusID) @Html.ComboGridFor((x => x.CampusID), new ComboGridOptions { TextField = "Name", ValueField = "CampusID", OnSelect = "QueryCampusComboGridList", EmptyText="全部", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CampusName"), Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/Campus/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } }) @Html.LabelFor(x => x.CollegeID) @Html.ComboGridFor((x => x.CollegeID), new ComboGridOptions { TextField = "Name", ValueField = "CollegeID", OnSelect = "reload", EmptyText = "全部", GridOptions = new DataGridOptions { Columns = new List() { new BoundFieldColumn { FieldName="Name", HeaderText=@EMIS.Utility.RSL.Get("CollegeName"), Align=AlignStyle.Center } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/College/List"), IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false, } })
@Html.LabelFor(x => x.StandardID) @Html.ComboGrid(cgopSpecialty, new Dictionary { }) @Html.LabelFor(x => x.YearID) @Html.ComboGrid(cgopYear, new Dictionary { })
@Html.LabelFor(x => x.SchoolyearID) @Html.DropdownListFor((x => x.SchoolyearID), new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), SelectedValue = BaseExtensions.GetCurrentSchoolYearID() }) @Html.LabelFor(x => x.IsOverwrite) @Html.CheckBoxFor((x => x.IsOverwrite))
}