DivideIntoClassesEdit.cshtml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. @model EMIS.ViewModel.RetakeManage.RetakeDivideIntoClassesView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "DivideIntoClassesEdit";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/RetakeManage/General/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
  12. {
  13. OnSuccess = "EMISFunction.FormSuccess",
  14. OnBegin = "EMISFunction.FormSubmit",
  15. OnComplete = "EMISFunction.FormComplete"
  16. }))
  17. {
  18. <div class="p_title">
  19. @*<div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  20. 重修任务分班</div>*@
  21. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Separate")</div>
  22. </div>
  23. <div class="search_list">
  24. @Html.HiddenFor(x => x.RetakePlanID)
  25. <input type="hidden" id="hid_StudentTotalNum" name="hid_StudentTotalNum" value="0" />
  26. <input type="hidden" id="hid_StudentNum" name="hid_StudentNum" value="0" />
  27. <input type="hidden" id="hid_GroupNum" name="hid_GroupNum" value="0" />
  28. <table cellpadding="0" cellspacing="0" id="divideIntoClassesEdit">
  29. <tr>
  30. <td>
  31. @Html.LabelFor(x => x.ClassName):
  32. </td>
  33. <td colspan="3">
  34. @Html.TextBoxFor(x => x.ClassName, new TextBoxOptions()
  35. {
  36. IsEnabled = false
  37. }, new Dictionary<string, string> { { "style", "width:85%;" } })
  38. </td>
  39. </tr>
  40. <tr>
  41. <td>
  42. @Html.LabelFor(x => x.StudentTotalNum):
  43. </td>
  44. <td colspan="3">
  45. @Html.TextBoxFor(x => x.StudentTotalNum, new TextBoxOptions { IsEnabled = false })
  46. </td>
  47. </tr>
  48. <tr>
  49. <td>
  50. <label>分班方式:</label>
  51. </td>
  52. <td>
  53. @Html.CheckBoxFor(x => x.IsGroup)
  54. <span style="color: red;">
  55. 任务班数
  56. </span>
  57. @Html.CheckBoxFor(x => x.IsAverageStudent)
  58. <span style="color: red;">
  59. 平均人数
  60. </span>
  61. </td>
  62. <td colspan="2" style="color: red;">
  63. * (请选择分班方式)
  64. </td>
  65. </tr>
  66. <tr>
  67. <td>
  68. @Html.LabelFor(x => x.GroupNum):
  69. </td>
  70. <td>
  71. @Html.TextBoxFor(x => x.GroupNum)
  72. </td>
  73. <td>
  74. @Html.LabelFor(x => x.StudentNum):
  75. </td>
  76. <td>
  77. @Html.TextBoxFor(x => x.StudentNum)
  78. </td>
  79. </tr>
  80. </table>
  81. </div>
  82. }
  83. </div>