12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- @model EMIS.ViewModel.EducationManage.DivideIntoClassesView
- @using EMIS.Web.Controls;
- @using Bowin.Web.Controls.Mvc;
- @{
- ViewBag.Title = "Edit";
- }
- @section scripts{
- <script src="~/Scripts/Business/EducationManage/DivideIntoClassesEdit.js" type="text/javascript"></script>
- }
- <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
- @using (Ajax.BeginForm(new AjaxOptions { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
- {
- <div class="p_title">
- <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
- 分班设置信息</div>
- <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Divide")</div>
- </div>
- <div class="search_list">
- @Html.HiddenFor(x => x.EducationMissionClassID)
- <input type="hidden" id="hid_StudentNum" name="hid_StudentNum" value="0" />
- <input type="hidden" id="hid_GroupNum" name="hid_GroupNum" value="0" />
- <table cellpadding="0" cellspacing="0" id="educationMissionClasstable">
- <tr>
- <td>@Html.LabelFor(x => x.ClassName):
- </td>
- <td>@Html.TextBoxFor(x => x.ClassName, new TextBoxOptions { IsEnabled = false })
- </td>
- <td>@Html.LabelFor(x => x.StudentTotalNum):
- </td>
- <td>@Html.TextBoxFor(x => x.StudentTotalNum, new TextBoxOptions { IsEnabled = false })
- </td>
- </tr>
- <tr>
- <td>
- <label>
- 分班方式:</label>
- </td>
- <td colspan="3">@Html.CheckBoxFor(x => x.IsAverageStudent)<span>按平均人数进行分班</span> @Html.CheckBoxFor(x => x.IsGroup)<span>按班数平均分配</span>
- @Html.CheckBoxFor(x => x.OrderType, EMIS.ViewModel.EducationManage.DivideClassOrderType.ByClassmajor)<span>按学籍班分组</span>
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.StudentNum):
- </td>
- <td>@Html.TextBoxFor(x => x.StudentNum)
- </td>
- <td>@Html.LabelFor(x => x.GroupNum):
- </td>
- <td>@Html.TextBoxFor(x => x.GroupNum)
- </td>
- </tr>
- <tr>
- <td>@Html.LabelFor(x => x.IsNotBuildEducationMission):
- </td>
- <td>@Html.CheckBoxFor(x => x.IsNotBuildEducationMission)
- </td>
- <td>
- @*@Html.LabelFor(x => x.OrderType):*@
- </td>
- <td>
- @*<label>按学号排序</label>
- @Html.RadioButtonFor(x => x.OrderType, EMIS.ViewModel.EducationManage.DivideClassOrderType.ByStudentLoginID)
- <label>按班排序</label>
- @Html.RadioButtonFor(x => x.OrderType, EMIS.ViewModel.EducationManage.DivideClassOrderType.ByClassmajor)*@
- </td>
- </tr>
- @* <tr>
- <td>@Html.LabelFor(x => x.Remark):
- </td>
- <td colspan="3">@Html.TextAreaFor(x => x.Remark, new Dictionary<string, object> { { "style", "width:500px;" } })
- </td>
- </tr>*@
- </table>
- </div>
- }
- </div>
|