GenerateResit.cshtml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. @using EMIS.Web.Controls;
  2. @using Bowin.Web.Controls.Mvc;
  3. @{
  4. ViewBag.Title = "Edit";
  5. string SchoolYearID = ViewBag.SchoolYearID;
  6. }
  7. @section scripts{
  8. <script type="text/javascript">
  9. function GenerateResit_Confirm() {
  10. $(document.forms[0]).submit();
  11. }
  12. </script>
  13. }
  14. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  15. @using (Ajax.BeginForm(new AjaxOptions
  16. {
  17. OnSuccess = "EMISFunction.FormSuccess",
  18. OnBegin = "EMISFunction.FormSubmit",
  19. OnComplete = "EMISFunction.FormComplete"
  20. }))
  21. {
  22. <div class="p_title">
  23. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  24. 生成补考计划</div>
  25. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("GenerateResit")</div>
  26. </div>
  27. <div class="search_list">
  28. <table cellpadding="0" cellspacing="0">
  29. <tr>
  30. <td>
  31. <label>学年学期:</label>
  32. </td>
  33. <td>
  34. @Html.DropdownList(new DropdownListOptions { BindType = DropdownListBindType.SelectAll, SelectedValue = SchoolYearID, ItemSourceUrl = Url.Content("~/SchoolYear/YearsDropdownListBanid"), Name = "SchoolyearDropdown" })
  35. </td>
  36. </tr>
  37. </table>
  38. </div>
  39. }
  40. </div>