1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @using EMIS.ViewModel;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="@Url.Content("~/Scripts/Business/EducationManage/CourseProcessTeacher.js")" type="text/javascript"></script>
- <script type="text/javascript">
- var nonSelect = "@DropdownList.SELECT_ALL";
- </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="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("CourseProcessTeacher")</div>
- </div>
- <div class="search_list">
- @Html.DataGrid(new DataGridOptions
- {
- Columns = new List<DataGridColumn>()
- {
- new CheckBoxFieldColumn{ HeaderText="", FieldName="UserID" },
- new LinkButtonColumn { FieldName="LoginID", HeaderText="教职工号", Align=AlignStyle.Center , Handle="edit" },
- new BoundFieldColumn { FieldName="Name", HeaderText="姓名", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="SexName", HeaderText="性别", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="TitleName", HeaderText="职称", Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CollegeName", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
- new BoundFieldColumn { FieldName="CollegeID", HeaderText=@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center ,IsHidden=true },
- new BoundFieldColumn { FieldName="DepartmentID", HeaderText="教研室", Align=AlignStyle.Center,IsHidden=true },
- new BoundFieldColumn { FieldName="DepartmentName", HeaderText="教研室", Align=AlignStyle.Center },
- new DictionaryDropdownListColumn { FieldName="TeachingMethod", HeaderText="任课方式", Align=AlignStyle.Center,
- DictionaryType = EMIS.ViewModel.DictionaryItem.EM_TeachingMethod },
- new LinkButtonColumn { Text="课表预览", HeaderText="", Align=AlignStyle.Center, Handle="Preview" }
- },
- IsCheckOnSelect = true,
- DataSourceUrl = Url.Content("~/EducationMissionClass/CourseProcessTeacherList?courseProcessID=" + Request["CourseProcessID"]),
- IsPostBack = true,
- ID = "dgTeacherList",
- IsPagination = false,
- IsShowRowNumbers = true,
- IsSingleSelect = false
- })
- </div>
- }
- </div>
|