Edit.cshtml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @model EMIS.ViewModel.ExaminationManage.TimeSegmentView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "Edit";
  6. }
  7. @section scripts{
  8. <script src="~/Scripts/Business/ExaminationManage/TimeSegmentEdit.js" type="text/javascript"></script>
  9. <script type="text/javascript">
  10. var nonSelect = "@DropdownList.SELECT_ALL";
  11. </script>
  12. }
  13. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  14. @using (Ajax.BeginForm(new AjaxOptions
  15. {
  16. OnSuccess = "EMISFunction.FormSuccess",
  17. OnBegin = "EMISFunction.FormSubmit",
  18. OnComplete = "EMISFunction.FormComplete"
  19. }))
  20. {
  21. <div class="p_title">
  22. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  23. 考试时间</div>
  24. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
  25. </div>
  26. <div class="search_list">
  27. <table cellpadding="0" cellspacing="0">
  28. <tr>
  29. <td>@Html.LabelFor(x => x.ExaminationDate):
  30. </td>
  31. <td>@Html.TextBoxFor((x => x.ExaminationDate), new TextBoxOptions { TextBoxType = TextBoxType.Date })
  32. </td>
  33. <td>@Html.LabelFor(x => x.IsForResit):
  34. </td>
  35. <td>@Html.CheckBoxFor(x => x.IsForResit):
  36. </td>
  37. </tr>
  38. <tr>
  39. <td>@Html.LabelFor(x => x.StartTime):
  40. </td>
  41. <td>@Html.TextBoxFor(x => x.StartTime, new TextBoxOptions { TextBoxType = TextBoxType.Time })
  42. </td>
  43. <td>@Html.LabelFor(x => x.EndTime):
  44. </td>
  45. <td>@Html.TextBoxFor(x => x.EndTime, new TextBoxOptions { TextBoxType = TextBoxType.Time })
  46. </td>
  47. </tr>
  48. </table>
  49. </div>
  50. }
  51. </div>