ConductInput.cshtml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. @model EMIS.ViewModel.StudentManage.StudentProfile.StudentConductView
  2. @using Bowin.Web.Controls.Mvc;
  3. @using EMIS.Web.Controls;
  4. @{
  5. ViewBag.Title = "ConductInput";
  6. }
  7. @section scripts{
  8. <script type="text/javascript">
  9. //加载
  10. $(function () {
  11. var userIDs = top.$("#@(Request["WindowID"])").data("inputData").join(',');
  12. $("#userIDs").val(userIDs);
  13. });
  14. //确定
  15. function Student_ConductInputConfirm() {
  16. var schoolyearNumID = $("#SchoolyearNumID").combogridX("getValue");
  17. if (schoolyearNumID == null || schoolyearNumID == "" || schoolyearNumID == "-1") {
  18. $.messager.alert("系统提示", "请选择录入的学年。");
  19. return;
  20. }
  21. $(document.forms[0]).submit();
  22. }
  23. </script>
  24. }
  25. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  26. @using (Ajax.BeginForm(new AjaxOptions
  27. {
  28. OnSuccess = "EMISFunction.FormSuccess",
  29. OnBegin = "EMISFunction.FormSubmit",
  30. OnComplete = "EMISFunction.FormComplete"
  31. }))
  32. {
  33. <div class="p_title">
  34. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;"></div>
  35. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">@Html.ContextMenuBar("CotInput")</div>
  36. </div>
  37. <div class="search_list">
  38. @Html.Hidden("userIDs")
  39. <table cellpadding="0" cellspacing="0" id="applytable">
  40. <tr>
  41. <td style="width: 85px;color: red;">
  42. @Html.LabelFor(x => x.SchoolyearNumID):
  43. </td>
  44. <td colspan="3">
  45. @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.CF_SchoolyearNum, (x => x.SchoolyearNumID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = true })
  46. </td>
  47. </tr>
  48. <tr>
  49. <td>
  50. @Html.LabelFor(x => x.Comment):
  51. </td>
  52. <td colspan="3">
  53. @Html.TextAreaFor(x=>x.Comment, new Dictionary<string, object>
  54. {
  55. { "style", "width: 90%;min-height: 80px" }
  56. })
  57. </td>
  58. </tr>
  59. </table>
  60. </div>
  61. }
  62. </div>