123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.Web.Controls;
- @{
- ViewBag.Title = "List";
- }
- @section scripts{
- <script type="text/javascript">
- var windowID = '@(Request["WindowID"])';
- var nonSelect = "@DropdownList.PLEASE_SELECT";
- // var educationSchedulingIDs = '@ViewBag.EducationSchedulingWeekNumIDs';
- </script>
- <script src="@Url.Content("~/Scripts/Business/SchedulingManage/Scheduling/AdjustmentBatchEdit.js")" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 课程调整
- </div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("BatchEdit")</div>
- </div>
- <div class="search_list popupWindowContent" style="overflow: hidden;">
- <table border="0" cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td width="18%">
- <label>周次:</label>
- </td>
- <td width="31%">
- @Html.DropdownList(new DropdownListOptions
- {
- BindType = DropdownListBindType.PleaseSelect,
- ItemList = ViewBag.WeekNumDropdownItemList,
- OnSelect = "refreshWeekList",
- ID = "ddlWeekNum",
- Name = "ddlWeekNum"
- })
- </td>
- </tr>
- <tr>
- <td>
- <label>星期:</label>
- </td>
- <td>
- @Html.WeekdayDropDownList(new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect,
- OnSelect = "refreshCourseTimeList",
- ID = "ddlWeekday", Name = "ddlWeekday" })
- </td>
- </tr>
- <tr>
- <td>
- <label>教师:</label>
- </td>
- <td>
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "UserID",
- ID = "cbgUser",
- Name = "cbgUser",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="教师姓名", Width=0.1, Align=AlignStyle.Center }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Staff/ListWithNoDataRange"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- IsAutoLoad = true
- }
- })
- </td>
- </tr>
- <tr>
- <td>
- <label>节次:</label>
- </td>
- <td>
- @Html.DropdownList(
- new DropdownListOptions
- {
- BindType = DropdownListBindType.PleaseSelect,
- ItemSourceUrl = Url.Content("~/CoursesTime/DropDown"),
- ID = "ddlCoursesTime",
- Name = "ddlCoursesTime"
- }
- )
- </td>
- </tr>
- <tr>
- <td>
- <label>教室类型:</label>
- </td>
- <td>
- @Html.DictionaryDropDownList(EMIS.ViewModel.DictionaryItem.CF_ClassroomType,
- new DropdownListOptions
- {
- BindType = DropdownListBindType.PleaseSelect,
- SelectedValue = Request["classroomTypeID"],
- OnSelect = "getClassroom",
- OnLoadSuccess = "getClassroom",
- ID = "ddlClassroomType",
- Name = "ddlClassroomType"
- }
- )
- </td>
- </tr>
- <tr>
- <td>
- <label>教室:</label>
- </td>
- <td>
- @Html.ComboGrid(new ComboGridOptions
- {
- TextField = "Name",
- ValueField = "ClassroomID",
- ID = "cbgClassroom",
- Name = "cbgClassroom",
- GridOptions = new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="Name", HeaderText="教室名称", Align=AlignStyle.Center }
- },
- IsAutoLoad = false,
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/Classroom/List"),
- IsPagination = true,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- }
- })
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <font color="#ff0000">注:请设置需要批量调整的项,其他非调整项请勿操作。</font>
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|