DivideIntoClassesEdit.cshtml 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. @Html.CheckBoxFor(x => x.OrderType, EMIS.ViewModel.EducationManage.DivideClassOrderType.ByClassmajor)<span>按学籍班分组</span>
  40. </td>
  41. </tr>
  42. <tr>
  43. <td>@Html.LabelFor(x => x.StudentNum):
  44. </td>
  45. <td>@Html.TextBoxFor(x => x.StudentNum)
  46. </td>
  47. <td>@Html.LabelFor(x => x.GroupNum):
  48. </td>
  49. <td>@Html.TextBoxFor(x => x.GroupNum)
  50. </td>
  51. </tr>
  52. <tr>
  53. <td>@Html.LabelFor(x => x.IsNotBuildEducationMission):
  54. </td>
  55. <td>@Html.CheckBoxFor(x => x.IsNotBuildEducationMission)
  56. </td>
  57. <td>
  58. @*@Html.LabelFor(x => x.OrderType):*@
  59. </td>
  60. <td>
  61. @*<label>按学号排序</label>
  62. @Html.RadioButtonFor(x => x.OrderType, EMIS.ViewModel.EducationManage.DivideClassOrderType.ByStudentLoginID)
  63. <label>按班排序</label>
  64. @Html.RadioButtonFor(x => x.OrderType, EMIS.ViewModel.EducationManage.DivideClassOrderType.ByClassmajor)*@
  65. </td>
  66. </tr>
  67. @* <tr>
  68. <td>@Html.LabelFor(x => x.Remark):
  69. </td>
  70. <td colspan="3">@Html.TextAreaFor(x => x.Remark, new Dictionary<string, object> { { "style", "width:500px;" } })
  71. </td>
  72. </tr>*@
  73. </table>
  74. </div>
  75. }
  76. </div>