StudentCancel.cshtml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. @using EMIS.Web.Controls;
  2. @using Bowin.Web.Controls.Mvc;
  3. @{
  4. ViewBag.Title = "Edit";
  5. }
  6. @section scripts{
  7. <script type="text/javascript">
  8. var nonSelect = "@DropdownList.SELECT_ALL";
  9. var idList = "@ViewBag.DetailStudentList";
  10. function Student_Cancel() {
  11. $("#idList").val("@ViewBag.DetailStudentList");
  12. $(document.forms[0]).submit();
  13. }
  14. </script>
  15. }
  16. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  17. @using (Ajax.BeginForm(new AjaxOptions
  18. {
  19. OnSuccess = "EMISFunction.FormSuccess",
  20. OnBegin = "EMISFunction.FormSubmit",
  21. OnComplete = "EMISFunction.FormComplete"
  22. }))
  23. {
  24. <div class="p_title">
  25. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  26. 退回</div>
  27. <div style="margin-right: 10px; line-height: 30px; font-size: 12px; float:right">@Html.Button(new ButtonOptions { OnClick = "Student_Cancel()", Icon = ButtonIcon.Save, Text = "确定" })</div>
  28. </div>
  29. <div class="search_list">
  30. <table cellpadding="0" cellspacing="0" id="FinalExaminationtable">
  31. @Html.Hidden("idList")
  32. <tr>
  33. <td>
  34. <label>退回原因:</label>
  35. </td>
  36. <td>
  37. @Html.TextArea("Remark", new { style = "width: 95%;" })
  38. </td>
  39. </tr>
  40. </table>
  41. </div>
  42. }
  43. </div>