@model EMIS.ViewModel.ExaminationManage.ExaminationPlanView @using EMIS.Web.Controls; @using EMIS.ViewModel; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; } @section scripts{ }
@using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "ExaminationPlan_Save_Complete", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" })) {
考场安排
@if (Request["isView"] != "1") {
@Html.ContextMenuBar(Model.RecordStatus == (int)CF_ApprovalStatus.NotSubmitted ? "ExamPlan_Confirm" : "Hiddened")
}
@Html.LabelFor(x => x.SchoolyearID): @Html.DisplayFor(x => x.SchoolyearCode) @Html.LabelFor(x => x.CampusID): @Html.DisplayFor(x => x.CampusName)
@Html.LabelFor(x => x.CollegeID): @Html.DisplayFor(x => x.CollegeName) @Html.LabelFor(x => x.CoursematerialID): @Html.DisplayFor(x => x.CoursematerialName)
@Html.LabelFor(x => x.ClassName): @Html.DisplayFor(x => x.ClassName) @Html.LabelFor(x => x.ExaminationModeID): @Html.DisplayFor(x => x.ExaminationModeName)
@Html.LabelFor(x => x.StudentCount): @Html.DisplayFor(x => x.StudentCount) @Html.LabelFor(x => x.ExaminationDate): @Html.TextBoxFor(x => x.ExaminationDate, new TextBoxOptions { TextBoxType = TextBoxType.Date, OnChange = "setFormChanged" })
@Html.LabelFor(x => x.StartTime): @Html.TextBoxFor(x => x.StartTime, new TextBoxOptions { TextBoxType = TextBoxType.Time, OnChange = "setFormChanged" }) @Html.LabelFor(x => x.EndTime): @Html.TextBoxFor(x => x.EndTime, new TextBoxOptions { TextBoxType = TextBoxType.Time, OnChange = "setFormChanged" })
@Html.ContextMenuBar(Model.RecordStatus == (int)CF_ApprovalStatus.NotSubmitted ? "Edit-ClassroomGrid" : "Hiddened") @Html.DataGrid(new DataGridOptions { Columns = new List() { new CheckBoxFieldColumn{ HeaderText="", FieldName="ExaminationRoomLayoutID"}, new LinkButtonColumn { FieldName="ClassroomName", HeaderText="考室", Align=AlignStyle.Center, Handle="edit", Width=0.1 }, new BoundFieldColumn { FieldName="SpacingDesc", HeaderText="座位排列模式", Align=AlignStyle.Center, OverflowLength=22, Width=0.2 }, new BoundFieldColumn { FieldName="Examinationseating", HeaderText="考场座位数", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="StudentNum", HeaderText="排考人数", Align=AlignStyle.Center, Width=0.1 }, new BoundFieldColumn { FieldName="TeacherNames", HeaderText="监考老师", Align=AlignStyle.Center, Width=0.1 } }, IsCheckOnSelect = true, DataSourceUrl = Url.Content("~/ExaminationPlan/GetExaminationRoomLayoutViewList?examinationPlanID=" + Request["ExaminationPlanID"]), ID = "dgExaminationRoomLayoutList", IsPagination = true, IsShowRowNumbers = true, IsSingleSelect = false })
}