List.cshtml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. @model EMIS.ViewModel.ChargeManage.ArrearsSituation.ChargeControlView
  2. @using Bowin.Web.Controls.Mvc;
  3. @using EMIS.Entities;
  4. @using EMIS.Web.Controls;
  5. @{
  6. ViewBag.Title = "List";
  7. }
  8. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  9. @Html.Position()
  10. @using (Ajax.BeginForm(new AjaxOptions
  11. {
  12. OnSuccess = "EMISFunction.FormSuccess",
  13. OnBegin = "EMISFunction.FormSubmit",
  14. OnComplete = "EMISFunction.FormComplete"
  15. }))
  16. {
  17. <div class="p_title">
  18. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  19. 费用控制信息</div>
  20. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  21. @Html.ContextMenuBar("List")
  22. </div>
  23. </div>
  24. <div class="noPopupContent">
  25. <table cellpadding="0" cellspacing="0" id="departmenttable" width="100%">
  26. <tr style="display:@Model.IsStudentChargeLoginDisplay">
  27. <td width="80">
  28. @Html.LabelFor(x => x.IsStudentChargeLoginLock):
  29. </td>
  30. <td style="background-color: white; width: 1px;">
  31. @Html.CheckBoxFor(x => x.IsStudentChargeLoginLock)
  32. </td>
  33. <td width="80">
  34. @Html.LabelFor(x => x.StudentChargeLoginLockMessage):
  35. </td>
  36. <td style="background-color: white;">
  37. @Html.TextBoxFor(x => x.StudentChargeLoginLockMessage, new { style = "width: 90%" })
  38. </td>
  39. </tr>
  40. <tr style="display:@Model.IsStudentChargeSelectCourseDisplay">
  41. <td>
  42. @Html.LabelFor(x => x.IsStudentChargeSelectCourseLock):
  43. </td>
  44. <td style="background-color: white;">
  45. @Html.CheckBoxFor(x => x.IsStudentChargeSelectCourseLock)
  46. </td>
  47. <td>
  48. @Html.LabelFor(x => x.StudentChargeSelectCourseMessage):
  49. </td>
  50. <td style="background-color: white;">
  51. @Html.TextBoxFor(x => x.StudentChargeSelectCourseMessage, new { style = "width: 90%" })
  52. </td>
  53. </tr>
  54. <tr style="display:@Model.IsStudentChargeExaminationApplyDisplay">
  55. <td>
  56. @Html.LabelFor(x => x.IsStudentChargeExaminationApplyLock):
  57. </td>
  58. <td style="background-color: white;">
  59. @Html.CheckBoxFor(x => x.IsStudentChargeExaminationApplyLock)
  60. </td>
  61. <td>
  62. @Html.LabelFor(x => x.StudentChargeExaminationApplyMessage):
  63. </td>
  64. <td style="background-color: white;">
  65. @Html.TextBoxFor(x => x.StudentChargeExaminationApplyMessage, new { style = "width: 90%" })
  66. </td>
  67. </tr>
  68. <tr style="display:@Model.IsStudentChargeScoreDisplay">
  69. <td>
  70. @Html.LabelFor(x => x.IsStudentChargeScoreLock):
  71. </td>
  72. <td style="background-color: white;">
  73. @Html.CheckBoxFor(x => x.IsStudentChargeScoreLock)
  74. </td>
  75. <td>
  76. @Html.LabelFor(x => x.StudentChargeScoreLockMessage):
  77. </td>
  78. <td style="background-color: white;">
  79. @Html.TextBoxFor(x => x.StudentChargeScoreLockMessage, new { style = "width: 90%" })
  80. </td>
  81. </tr>
  82. <tr style="display:@Model.IsStudentChargeLevelScoreDisplay">
  83. <td>
  84. @Html.LabelFor(x => x.IsStudentChargeLevelScoreLock):
  85. </td>
  86. <td style="background-color: white;">
  87. @Html.CheckBoxFor(x => x.IsStudentChargeLevelScoreLock)
  88. </td>
  89. <td>
  90. @Html.LabelFor(x => x.StudentChargeLevelScoreMessage):
  91. </td>
  92. <td style="background-color: white;">
  93. @Html.TextBoxFor(x => x.StudentChargeLevelScoreMessage, new { style = "width: 90%" })
  94. </td>
  95. </tr>
  96. </table>
  97. </div>
  98. }
  99. </div>
  100. @section scripts{
  101. <script type="text/javascript">
  102. //保存
  103. function ChargeControl_Save() {
  104. $(document.forms[0]).submit();
  105. }
  106. </script>
  107. }