Edit.cshtml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @model EMIS.ViewModel.ScoreManage.GradePointFormulaView
  2. @using EMIS.Web.Controls;
  3. @using Bowin.Web.Controls.Mvc;
  4. @{
  5. ViewBag.Title = "Edit";
  6. }
  7. @section scripts{
  8. <script type="text/javascript">
  9. function GradePointFormula_Save() {
  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 { OnSuccess = "EMISFunction.FormSuccess", OnBegin = "EMISFunction.FormSubmit", OnComplete = "EMISFunction.FormComplete" }))
  16. {
  17. <div class="p_title">
  18. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  19. 成绩公式设置信息</div>
  20. @if (Request["isView"] != "1")
  21. {
  22. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Edit")</div>
  23. }
  24. </div>
  25. <div class="search_list">
  26. @Html.HiddenFor(x => x.GradePointFormulaID)
  27. <table cellpadding="0" cellspacing="0" id="buildingstable">
  28. <tr>
  29. <td>@Html.LabelFor(x=>x.Name)</td>
  30. <td>
  31. @Html.TextBoxFor(x => x.Name)
  32. </td>
  33. <td>@Html.LabelFor(x => x.GradePointlimit)</td>
  34. <td>
  35. @Html.TextBoxFor(x => x.GradePointlimit)
  36. </td>
  37. </tr>
  38. <tr>
  39. <td>@Html.LabelFor(x => x.GradePointFloor)</td>
  40. <td>
  41. @Html.TextBoxFor(x => x.GradePointFloor)
  42. </td>
  43. <td><label></label></td>
  44. <td>
  45. </td>
  46. </tr>
  47. </table>
  48. </div>
  49. }
  50. </div>