123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- @model EMIS.ViewModel.ExaminationManage.ExaminationPlanView
- @using EMIS.Web.Controls;
- @using EMIS.ViewModel;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="~/Scripts/Business/ExaminationManage/ExaminationPlanClassroom.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions
- {
- OnSuccess = "ExaminationPlan_Save_Complete",
- OnBegin = "EMISFunction.FormSubmit",
- OnComplete = "EMISFunction.FormComplete"
- }))
- {
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 考场安排</div>
- @if (Request["isView"] != "1")
- {
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar(Model.RecordStatus == (int)CF_ApprovalStatus.NotSubmitted ? "ExamPlan_Confirm" : "Hiddened")</div>
- }
- </div>
- <div class="search_list popupWindowContent">
- <table cellpadding="0" cellspacing="0" id="departmenttable">
- <tr>
- <td>@Html.LabelFor(x => x.SchoolyearID):
- </td>
- <td>@Html.DisplayFor(x => x.SchoolyearCode)
- </td>
- <td>@Html.LabelFor(x => x.CampusID):
- </td>
- <td>@Html.DisplayFor(x => x.CampusName)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.CollegeID):
- </td>
- <td>@Html.DisplayFor(x => x.CollegeName)
- </td>
- <td>@Html.LabelFor(x => x.CoursematerialID):
- </td>
- <td>@Html.DisplayFor(x => x.CoursematerialName)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.ClassName):
- </td>
- <td>@Html.DisplayFor(x => x.ClassName)
- </td>
- <td>@Html.LabelFor(x => x.ExaminationModeID):
- </td>
- <td>@Html.DisplayFor(x => x.ExaminationModeName)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.StudentCount):
- </td>
- <td>@Html.DisplayFor(x => x.StudentCount)
- </td>
- <td>@Html.LabelFor(x => x.ExaminationDate):
- </td>
- <td>@Html.TextBoxFor(x => x.ExaminationDate, new TextBoxOptions { TextBoxType = TextBoxType.Date, OnChange = "setFormChanged" })
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.StartTime):
- </td>
- <td>@Html.TextBoxFor(x => x.StartTime, new TextBoxOptions { TextBoxType = TextBoxType.Time, OnChange = "setFormChanged" })
- </td>
- <td>@Html.LabelFor(x => x.EndTime):
- </td>
- <td>@Html.TextBoxFor(x => x.EndTime, new TextBoxOptions { TextBoxType = TextBoxType.Time, OnChange = "setFormChanged" })
- </td>
- </tr>
- <tr>
- <td>
- <label>考室:</label>
- </td>
- <td colspan="3">
- @Html.ContextMenuBar(Model.RecordStatus == (int)CF_ApprovalStatus.NotSubmitted ? "Edit-ClassroomGrid" : "Hiddened")
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- 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
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|