GraduationConditionPackageSubmit.cshtml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. @model EMIS.ViewModel.GraduationManage.GraduationManage.GraduationApplyView
  2. @using Bowin.Web.Controls.Mvc;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "GraduationConditionPackageSubmit";
  6. //毕业公式
  7. ComboGridOptions cgopGradConditionPackage = new ComboGridOptions
  8. {
  9. TextField = "Title",
  10. ValueField = "GraduationConditionPackageID",
  11. ID = "GradConditionPackageDropdown",
  12. Name = "GradConditionPackageDropdown",
  13. OnSelect = "queryGradConditionPackageStudentType",
  14. Width = 210,
  15. GridOptions = new DataGridOptions
  16. {
  17. Columns = new List<DataGridColumn>()
  18. {
  19. new BoundFieldColumn { FieldName="Title", HeaderText="毕业公式", Align=AlignStyle.Center, Width=150 },
  20. new BoundFieldColumn { FieldName="StudentTypeName", HeaderText="学生类别", Align=AlignStyle.Center, Width=60 }
  21. },
  22. PageSize = 5,
  23. IsCheckOnSelect = true,
  24. DataSourceUrl = Url.Content("~/GraduationConditionPackage/List"),
  25. IsPagination = true,
  26. IsShowRowNumbers = true,
  27. IsSingleSelect = false,
  28. }
  29. };
  30. }
  31. @section scripts{
  32. <script src="~/Scripts/Business/GraduationManage/GraduationManage/GraduationApplyEdit.js" type="text/javascript"></script>
  33. <script type="text/javascript">
  34. //加载选择的毕业申请信息IDs
  35. $(function () {
  36. var graduationApplyIDs = top.$("#@(Request["WindowID"])").data("inputData").join(',');
  37. $("#graduationApplyIDs").val(graduationApplyIDs);
  38. });
  39. </script>
  40. }
  41. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  42. @using (Ajax.BeginForm(new AjaxOptions
  43. {
  44. OnSuccess = "EMISFunction.FormSuccess",
  45. OnBegin = "EMISFunction.FormSubmit",
  46. OnComplete = "EMISFunction.FormComplete"
  47. }))
  48. {
  49. <div class="p_title">
  50. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  51. @*申请提交(毕业)*@
  52. </div>
  53. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("Submit")</div>
  54. </div>
  55. <div class="search_list">
  56. @Html.Hidden("graduationApplyIDs")
  57. @Html.HiddenFor(x => x.StudentTypeID)
  58. <table cellpadding="0" cellspacing="0" id="applytable">
  59. <tr>
  60. <td style="width: 85px;">
  61. @Html.LabelFor(x => x.Title):
  62. </td>
  63. <td colspan="3">
  64. @Html.ComboGridFor(x => x.GraduationConditionPackageID, cgopGradConditionPackage)
  65. </td>
  66. </tr>
  67. <tr>
  68. <td>
  69. @Html.LabelFor(x => x.Comment):
  70. </td>
  71. <td colspan="3">
  72. @Html.TextAreaFor(x=>x.Comment, new Dictionary<string, object>
  73. {
  74. { "style", "width: 90%;min-height: 50px" }
  75. })
  76. </td>
  77. </tr>
  78. </table>
  79. </div>
  80. }
  81. </div>