12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- @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<DataGridColumn>()
- {
- 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{
- <script src="~/Scripts/Business/EducationManage/EducationMissionClassEdit.js" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- function EducationMissionClass_ClassRoomSave() {
- $(document.forms[0]).submit(); //提交Form表单
- }
- </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("ClassRoom")</div>
-
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.EducationMissionClassID)
- @Html.HiddenFor(x=>x.ApprovalStatus)
- <table cellpadding="0" cellspacing="0" id="educationMissionClasstable">
- <tr>
- <td>@Html.LabelFor(x => x.ClassroomTypeID):
- </td>
- <td>@Html.DictionaryDropDownListFor(EMIS.ViewModel.DictionaryItem.CF_ClassroomType, (x => x.ClassroomTypeID), new DropdownListOptions { OnSelect = "queryClassroom", OnLoadSuccess = "loadClassroom" })
- </td>
- <td>@Html.LabelFor(x => x.ClassroomID):
- </td>
- <td>@Html.ComboGridFor(x => x.ClassroomID, cgop)
- </td>
- </tr>
-
- </table>
- </div>
- }
- </div>
|