DegreeConditionPackageSubmit.cshtml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. @model EMIS.ViewModel.DegreeManage.DegreeManage.DegreeApplyView
  2. @using Bowin.Web.Controls.Mvc;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "DegreeConditionPackageSubmit";
  6. //学位公式
  7. ComboGridOptions cgopDegreeConditionPackage = new ComboGridOptions
  8. {
  9. TextField = "Title",
  10. ValueField = "DegreeConditionPackageID",
  11. ID = "DegreeConditionPackageDropdown",
  12. Name = "DegreeConditionPackageDropdown",
  13. OnSelect = "queryDegreeConditionPackageStudentType",
  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("~/DegreeConditionPackage/List"),
  25. IsPagination = true,
  26. IsShowRowNumbers = true,
  27. IsSingleSelect = false,
  28. }
  29. };
  30. }
  31. @section scripts{
  32. <script src="~/Scripts/Business/DegreeManage/DegreeManage/DegreeApplyEdit.js" type="text/javascript"></script>
  33. <script type="text/javascript">
  34. //加载选择的学位申请信息IDs
  35. $(function () {
  36. var degreeApplyIDs = top.$("#@(Request["WindowID"])").data("inputData").join(',');
  37. $("#degreeApplyIDs").val(degreeApplyIDs);
  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("degreeApplyIDs")
  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.DegreeConditionPackageID, cgopDegreeConditionPackage)
  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>