DivideIntoClassesEdit.cshtml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. @model EMIS.ViewModel.EducationManage.DivideIntoClassesView
  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/DivideIntoClassesEdit.js" type="text/javascript"></script>
  9. }
  10. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  11. @using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
  12. {
  13. <div class="p_title">
  14. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  15. 分班设置信息</div>
  16. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Divide")</div>
  17. </div>
  18. <div class="search_list">
  19. @Html.HiddenFor(x => x.EducationMissionClassID)
  20. <input type="hidden" id="hid_StudentNum" name="hid_StudentNum" value="0" />
  21. <input type="hidden" id="hid_GroupNum" name="hid_GroupNum" value="0" />
  22. <table cellpadding="0" cellspacing="0" id="educationMissionClasstable">
  23. <tr>
  24. <td>@Html.LabelFor(x => x.ClassName):
  25. </td>
  26. <td>@Html.TextBoxFor(x => x.ClassName, new TextBoxOptions { IsEnabled = false })
  27. </td>
  28. <td>@Html.LabelFor(x => x.StudentTotalNum):
  29. </td>
  30. <td>@Html.TextBoxFor(x => x.StudentTotalNum, new TextBoxOptions { IsEnabled = false })
  31. </td>
  32. </tr>
  33. <tr>
  34. <td>
  35. <label>
  36. 分班信息:</label>
  37. </td>
  38. <td colspan="3">@Html.CheckBoxFor(x => x.IsAverageStudent)<span>按平均人数进行分班</span> @Html.CheckBoxFor(x => x.IsGroup)<span>按班数平均分配</span>
  39. </td>
  40. </tr>
  41. <tr>
  42. <td>@Html.LabelFor(x => x.StudentNum):
  43. </td>
  44. <td>@Html.TextBoxFor(x => x.StudentNum)
  45. </td>
  46. <td>@Html.LabelFor(x => x.GroupNum):
  47. </td>
  48. <td>@Html.TextBoxFor(x => x.GroupNum)
  49. </td>
  50. </tr>
  51. <tr>
  52. <td>@Html.LabelFor(x => x.IsNotBuildEducationMission):
  53. </td>
  54. <td>@Html.CheckBoxFor(x => x.IsNotBuildEducationMission)
  55. </td>
  56. <td>
  57. @Html.LabelFor(x => x.OrderType):
  58. </td>
  59. <td>
  60. <label>按学号排序</label>
  61. @Html.RadioButtonFor(x => x.OrderType, EMIS.ViewModel.EducationManage.DivideClassOrderType.ByStudentLoginID)
  62. <label>按班排序</label>
  63. @Html.RadioButtonFor(x => x.OrderType, EMIS.ViewModel.EducationManage.DivideClassOrderType.ByClassmajor)
  64. </td>
  65. </tr>
  66. @* <tr>
  67. <td>@Html.LabelFor(x => x.Remark):
  68. </td>
  69. <td colspan="3">@Html.TextAreaFor(x => x.Remark, new Dictionary<string, object> { { "style", "width:500px;" } })
  70. </td>
  71. </tr>*@
  72. </table>
  73. </div>
  74. }
  75. </div>