EducationMissionClassConjunctionList.cshtml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. @model EMIS.ViewModel.EducationManagement.EducationMissionClassView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "Edit";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/EducationManage/EducationMissionClassConjunctionList.js" type="text/javascript"></script>
  9. }
  10. <style type="text/css">
  11. .txt {
  12. width: 250px;
  13. }
  14. </style>
  15. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  16. @using (Ajax.BeginForm(new AjaxOptions { Url = "/AdultEducationMissionClass/EducationMissionClassConjunctionEdit", OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
  17. {
  18. <div class="p_title">
  19. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  20. 教学任务合班信息
  21. </div>
  22. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Conjunction")</div>
  23. </div>
  24. <div class="search_list">
  25. <input type="hidden" name="hidEducationMissionClassIDs" id="hidEducationMissionClassIDs" data-condition="dgEducationMissionClassConjunctionList" />
  26. <table cellpadding="0" cellspacing="0" id="classGroupingtable">
  27. <tr>
  28. <td>@Html.LabelFor(x => x.MainScheduleClassID):
  29. </td>
  30. <td>
  31. @Html.DropdownListFor(x => x.MainScheduleClassID, new DropdownListOptions { BindType = DropdownListBindType.PleaseSelect, Width = 250 })
  32. </td>
  33. <td>@Html.LabelFor(x => x.Name):
  34. </td>
  35. <td>@Html.TextBoxFor(x => x.Name, new TextBoxOptions { CssClass = "txt" })
  36. </td>
  37. </tr>
  38. <tr>
  39. <td colspan="4">
  40. @Html.DataGrid(new DataGridOptions
  41. {
  42. Columns = new List<DataGridColumn>()
  43. {
  44. new BoundFieldColumn { FieldName="SchoolyearCode", HeaderText="学年学期", Align=AlignStyle.Center },
  45. new BoundFieldColumn { FieldName="Name", HeaderText="班级名称", Align=AlignStyle.Center },
  46. new BoundFieldColumn { FieldName="CourseName", HeaderText="课程名称", Align=AlignStyle.Center },
  47. new BoundFieldColumn { FieldName="CourseCode", HeaderText="课程代码", Align=AlignStyle.Center },
  48. new BoundFieldColumn { FieldName="CollegeName", HeaderText="开课"+@EMIS.Utility.RSL.Get("College"), Align=AlignStyle.Center },
  49. new BoundFieldColumn { FieldName="ClassNum", HeaderText="班级人数", Align=AlignStyle.Center },
  50. new BoundFieldColumn { FieldName="TeachingModeName", HeaderText="授课方式", Align=AlignStyle.Center },
  51. new BoundFieldColumn { FieldName="MissionClassClassmajorName", HeaderText="合班名称", Align=AlignStyle.Center ,IsHidden=true},
  52. },
  53. IsCheckOnSelect = true,
  54. DataSourceUrl = Url.Content("~/AdultEducationMissionClass/EducationMissionClassConjunctionList"),
  55. ID = "dgEducationMissionClassConjunctionList",
  56. OnLoadSuccessFun = "dgEducationMissionClassConjunctionList_LoadSuccess",
  57. IsPagination = true,
  58. IsAutoLoad = false,
  59. IsShowRowNumbers = true,
  60. IsSingleSelect = false,
  61. IsPostBack = true,
  62. })
  63. </td>
  64. </tr>
  65. </table>
  66. </div>
  67. }
  68. </div>