List.cshtml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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. <style type="text/css">
  9. table
  10. {
  11. border-collapse: collapse;
  12. margin: 0 auto;
  13. text-align: left;
  14. }
  15. table td, table th
  16. {
  17. border: 1px solid #cad9ea;
  18. color: #666;
  19. height: 30px;
  20. }
  21. table thead th
  22. {
  23. background-color: #CCE8EB;
  24. width: 100px;
  25. }
  26. /*table tr:nth-child(odd)
  27. {
  28. background: #fff;
  29. }
  30. table tr:nth-child(even)
  31. {
  32. background: #F5FAFA;
  33. }*/
  34. .popupWindowContent {
  35. top: 50px;
  36. }
  37. </style>
  38. <div class="easyui-panel" data-options="border:false,fit:true" style="position: relative;">
  39. @Html.Position()
  40. @using (Ajax.BeginForm(new AjaxOptions
  41. {
  42. OnSuccess = "EMISFunction.FormSuccess",
  43. OnBegin = "EMISFunction.FormSubmit",
  44. OnComplete = "EMISFunction.FormComplete"
  45. }))
  46. {
  47. <div class="p_title">
  48. <div style="float: left; margin-left: 10px; line-height: 30px; font-size: 12px;">
  49. 费用控制信息</div>
  50. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  51. @Html.ContextMenuBar("List")
  52. </div>
  53. </div>
  54. <div class="search_list">
  55. <table cellpadding="0" cellspacing="0" id="departmenttable">
  56. <tr style="display:@Model.IsStudentChargeLoginDisplay">
  57. <td>
  58. @Html.LabelFor(x => x.IsStudentChargeLoginLock):
  59. </td>
  60. <td style="background-color: white; width: 20px;">
  61. @Html.CheckBoxFor(x => x.IsStudentChargeLoginLock)
  62. </td>
  63. <td>
  64. @Html.LabelFor(x => x.StudentChargeLoginLockMessage):
  65. </td>
  66. <td style="background-color: white;">
  67. @Html.TextBoxFor(x => x.StudentChargeLoginLockMessage, new { style = "width: 90%" })
  68. </td>
  69. </tr>
  70. <tr style="display:@Model.IsStudentChargeSelectCourseDisplay">
  71. <td>
  72. @Html.LabelFor(x => x.IsStudentChargeSelectCourseLock):
  73. </td>
  74. <td style="background-color: white;">
  75. @Html.CheckBoxFor(x => x.IsStudentChargeSelectCourseLock)
  76. </td>
  77. <td>
  78. @Html.LabelFor(x => x.StudentChargeSelectCourseMessage):
  79. </td>
  80. <td style="background-color: white;">
  81. @Html.TextBoxFor(x => x.StudentChargeSelectCourseMessage, new { style = "width: 90%" })
  82. </td>
  83. </tr>
  84. <tr style="display:@Model.IsStudentChargeExaminationApplyDisplay">
  85. <td>
  86. @Html.LabelFor(x => x.IsStudentChargeExaminationApplyLock):
  87. </td>
  88. <td style="background-color: white;">
  89. @Html.CheckBoxFor(x => x.IsStudentChargeExaminationApplyLock)
  90. </td>
  91. <td>
  92. @Html.LabelFor(x => x.StudentChargeExaminationApplyMessage):
  93. </td>
  94. <td style="background-color: white;">
  95. @Html.TextBoxFor(x => x.StudentChargeExaminationApplyMessage, new { style = "width: 90%" })
  96. </td>
  97. </tr>
  98. <tr style="display:@Model.IsStudentChargeScoreDisplay">
  99. <td>
  100. @Html.LabelFor(x => x.IsStudentChargeScoreLock):
  101. </td>
  102. <td style="background-color: white;">
  103. @Html.CheckBoxFor(x => x.IsStudentChargeScoreLock)
  104. </td>
  105. <td>
  106. @Html.LabelFor(x => x.StudentChargeScoreLockMessage):
  107. </td>
  108. <td style="background-color: white;">
  109. @Html.TextBoxFor(x => x.StudentChargeScoreLockMessage, new { style = "width: 90%" })
  110. </td>
  111. </tr>
  112. <tr style="display:@Model.IsStudentChargeLevelScoreDisplay">
  113. <td>
  114. @Html.LabelFor(x => x.IsStudentChargeLevelScoreLock):
  115. </td>
  116. <td style="background-color: white;">
  117. @Html.CheckBoxFor(x => x.IsStudentChargeLevelScoreLock)
  118. </td>
  119. <td>
  120. @Html.LabelFor(x => x.StudentChargeLevelScoreMessage):
  121. </td>
  122. <td style="background-color: white;">
  123. @Html.TextBoxFor(x => x.StudentChargeLevelScoreMessage, new { style = "width: 90%" })
  124. </td>
  125. </tr>
  126. </table>
  127. </div>
  128. }
  129. </div>
  130. @section scripts{
  131. <script type="text/javascript">
  132. //保存
  133. function ChargeControl_Save() {
  134. $(document.forms[0]).submit();
  135. }
  136. </script>
  137. }