@model EMIS.ViewModel.EducationManagement.EducationMissionClassView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; ComboGridOptions cgop = new ComboGridOptions { TextField = "Name", ValueField = "ClassroomID", GridOptions = new DataGridOptions { Columns = new List() { new LinkButtonColumn { FieldName="Code", HeaderText="教室代码", Width=0.1, Align=AlignStyle.Center }, new BoundFieldColumn { FieldName="Name", HeaderText="教室名称", Width=0.1, Align=AlignStyle.Center } }, IsCheckOnSelect = true, // DataSourceUrl = Url.Content("~/CollegeClassroom/ClassroomListComboGrid?collegeID=" + Model.CollegeID), DataSourceUrl = Url.Content("~/Classroom/List"),//去除院系条件 IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false } }; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
教学安排设置信息
@Html.ContextMenuBar("ClassRoom")
@Html.HiddenFor(x => x.EducationMissionClassID) @Html.HiddenFor(x=>x.ApprovalStatus)
@Html.LabelFor(x => x.ClassroomTypeID): @Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_ClassroomType, (x => x.ClassroomTypeID), new DropdownListOptions { OnSelect = "queryClassroom", OnLoadSuccess = "loadClassroom" }) @Html.LabelFor(x => x.ClassroomID): @Html.ComboGridFor(x => x.ClassroomID, cgop)
}