List.cshtml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. @model EMIS.ViewModel.StudentManage.StudentRegister.ReportControlView
  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;"></div>
  49. <div style="margin-right: 10px; line-height: 30px; font-size: 12px;">
  50. @Html.ContextMenuBar("List")
  51. </div>
  52. </div>
  53. <div class="search_list">
  54. <table cellpadding="0" cellspacing="0" id="reporttable">
  55. <tr style="display:@Model.IsLoginLockDisplay">
  56. <td>
  57. @Html.LabelFor(x => x.IsLoginLock):
  58. </td>
  59. <td style="background-color: white; width: 20px;">
  60. @Html.CheckBoxFor(x => x.IsLoginLock)
  61. </td>
  62. <td>
  63. @Html.LabelFor(x => x.LoginLockMessage):
  64. </td>
  65. <td style="background-color: white;">
  66. @Html.TextBoxFor(x => x.LoginLockMessage, new { style = "width: 90%" })
  67. </td>
  68. </tr>
  69. <tr style="display:@Model.IsSelectCourseLockDisplay">
  70. <td>
  71. @Html.LabelFor(x => x.IsSelectCourseLock):
  72. </td>
  73. <td style="background-color: white;">
  74. @Html.CheckBoxFor(x => x.IsSelectCourseLock)
  75. </td>
  76. <td>
  77. @Html.LabelFor(x => x.SelectCourseLockMessage):
  78. </td>
  79. <td style="background-color: white;">
  80. @Html.TextBoxFor(x => x.SelectCourseLockMessage, new { style = "width: 90%" })
  81. </td>
  82. </tr>
  83. <tr style="display:@Model.IsExaminationApplyLockDisplay">
  84. <td>
  85. @Html.LabelFor(x => x.IsExaminationApplyLock):
  86. </td>
  87. <td style="background-color: white;">
  88. @Html.CheckBoxFor(x => x.IsExaminationApplyLock)
  89. </td>
  90. <td>
  91. @Html.LabelFor(x => x.ExaminationApplyLockMessage):
  92. </td>
  93. <td style="background-color: white;">
  94. @Html.TextBoxFor(x => x.ExaminationApplyLockMessage, new { style = "width: 90%" })
  95. </td>
  96. </tr>
  97. <tr style="display:@Model.IsCourseScoreLockDisplay">
  98. <td>
  99. @Html.LabelFor(x => x.IsCourseScoreLock):
  100. </td>
  101. <td style="background-color: white;">
  102. @Html.CheckBoxFor(x => x.IsCourseScoreLock)
  103. </td>
  104. <td>
  105. @Html.LabelFor(x => x.CourseScoreLockMessage):
  106. </td>
  107. <td style="background-color: white;">
  108. @Html.TextBoxFor(x => x.CourseScoreLockMessage, new { style = "width: 90%" })
  109. </td>
  110. </tr>
  111. <tr style="display:@Model.IsLevelScoreLockDisplay">
  112. <td>
  113. @Html.LabelFor(x => x.IsLevelScoreLock):
  114. </td>
  115. <td style="background-color: white;">
  116. @Html.CheckBoxFor(x => x.IsLevelScoreLock)
  117. </td>
  118. <td>
  119. @Html.LabelFor(x => x.LevelScoreLockMessage):
  120. </td>
  121. <td style="background-color: white;">
  122. @Html.TextBoxFor(x => x.LevelScoreLockMessage, new { style = "width: 90%" })
  123. </td>
  124. </tr>
  125. </table>
  126. </div>
  127. }
  128. </div>
  129. @section scripts{
  130. <script type="text/javascript">
  131. //保存
  132. function ReportControl_Save() {
  133. $(document.forms[0]).submit();
  134. }
  135. </script>
  136. }