123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- @model EMIS.ViewModel.EducationManagement.EducationMissionClassView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="~/Scripts/Business/EducationManage/EducationMissionClassConjunctionList.js" type="text/javascript"></script>
- }
- <style type="text/css">
- .txt {
- width: 250px;
- }
- </style>
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { Url = "/EducationMissionClass/EducationMissionClassConjunctionEdit", 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("Conjunction")</div>
- </div>
- <div class="search_list">
- <input type="hidden" name="hidEducationMissionClassIDs" id="hidEducationMissionClassIDs" data-condition="dgEducationMissionClassConjunctionList" />
- <table cellpadding="0" cellspacing="0" id="classGroupingtable">
- <tr>
- <td>@Html.LabelFor(x => x.MainScheduleClassID):
- </td>
- <td>
- @Html.DropdownListFor(x => x.EducationMissionClassID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, Width = 250 })
- </td>
- <td>@Html.LabelFor(x => x.Name):
- </td>
- <td>@Html.TextBoxFor(x => x.Name, new TextBoxOptions { CssClass = "txt" })
- </td>
- </tr>
- <tr>
- <td colspan="4">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText="开课"+@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="ClassNum", HeaderText="班级人数", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="TeachingModeName", HeaderText="授课方式", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="MissionClassClassmajorName", HeaderText="合班名称", Align=AlignStyle.Center ,IsHidden=true},
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/EducationMissionClass/EducationMissionClassConjunctionList"),
- ID = "dgEducationMissionClassConjunctionList",
- OnLoadSuccessFun = "dgEducationMissionClassConjunctionList_LoadSuccess",
- IsPagination = true,
- IsAutoLoad = false,
- IsShowRowNumbers = true,
- IsSingleSelect = false,
- IsPostBack = true,
- })
- </td>
- </tr>
- </table>
- </div>
- }
- </div>
|