AddGroup.cshtml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. @model EMIS.ViewModel.DQPSystem.GroupSOCDetailView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "GroupAdd";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/DQPSystem/GroupSOCDetail.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. <div class="p_title">
  18. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("GroupAdd")</div>
  19. </div>
  20. <div class="search_list">
  21. @Html.HiddenFor(x => x.SOCDetailID)
  22. <table cellpadding="0" cellspacing="0" id="educationMissionClasstable">
  23. <tr>
  24. <td>@Html.LabelFor(x => x.StudentTotalNum):
  25. </td>
  26. <td colspan = "3">@Html.TextBoxFor(x => x.StudentTotalNum, new TextBoxOptions { IsEnabled = false })
  27. </td>
  28. </tr>
  29. <tr>
  30. <td>
  31. <label> 分组方式:</label>
  32. </td>
  33. <td colspan="3">
  34. @* @Html.RadioButtonFor(x => x.GroupWay, EMIS.ViewModel.DQPSystem.GroupWay.ByStudentNo)
  35. <span>按学号顺序分组</span>
  36. @Html.RadioButtonFor(x => x.GroupWay, EMIS.ViewModel.DQPSystem.GroupWay.ByRandom)
  37. <span>随机分组</span>
  38. @Html.RadioButtonFor(x => x.GroupWay, EMIS.ViewModel.DQPSystem.GroupWay.ByManual)
  39. <span>手动分组</span>*@
  40. @Html.CheckBoxFor(x => x.IsStudentNo)<span>按学号顺序分组</span> @Html.CheckBoxFor(x => x.IsRandom)<span>随机分组</span>
  41. @Html.CheckBoxFor(x => x.IsManual)<span>手动分组</span>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td>@Html.LabelFor(x => x.StudentNum):
  46. </td>
  47. <td>@Html.TextBoxFor(x => x.StudentNum)@Html.CheckBoxFor(x => x.GroupByStudent)
  48. </td>
  49. <td>@Html.LabelFor(x => x.GroupNum):
  50. </td>
  51. <td>@Html.TextBoxFor(x => x.GroupNum)@Html.CheckBoxFor(x => x.GroupByGroup)
  52. </td>
  53. </tr>
  54. </table>
  55. </div>
  56. }
  57. </div>