Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 
 

211 Zeilen
7.6 KiB

  1. @{
  2. ViewBag.Title = "课程表";
  3. Layout = "~/Views/Shared/_Index.cshtml";
  4. }
  5. <link href="~/Content/static/css/TimeTable.css" rel="stylesheet" />
  6. <script src="~/Content/static/js/LodopFuncs.js"></script>
  7. <style id="style1" media="print">
  8. * {
  9. -webkit-box-sizing: border-box;
  10. -moz-box-sizing: border-box;
  11. box-sizing: border-box;
  12. }
  13. ul {
  14. margin: 0px;
  15. padding: 0px;
  16. list-style: none;
  17. }
  18. li {
  19. list-style: none;
  20. }
  21. table, tr, td {
  22. cellspacing: 0px;
  23. cellpadding: 0px;
  24. padding: 0;
  25. margin: 0;
  26. }
  27. body {
  28. font-family: "Microsoft YaHei", "微软雅黑" !important;
  29. padding: 10px;
  30. color: #333;
  31. font-size: 12px;
  32. margin: 0;
  33. }
  34. .personalBox {
  35. padding: 10px;
  36. }
  37. .personT {
  38. font-size: 24px;
  39. text-align: center;
  40. margin-bottom: 15px
  41. }
  42. .perSemester {
  43. text-align: center;
  44. border: 1px solid #333;
  45. line-height: 25px;
  46. height: 30px;
  47. }
  48. .perWeek {
  49. overflow: hidden;
  50. line-height: 26px;
  51. height: 30px;
  52. text-align: center;
  53. border-left: 1px solid #333;
  54. border-right: 1px solid #333;
  55. }
  56. .perWeek li {
  57. width: 12.5%;
  58. float: left;
  59. border-left: 1px solid #333;
  60. height: 100%;
  61. }
  62. .perFestivalsBox {
  63. border-left: 1px solid #333;
  64. border-right: 1px solid #333;
  65. border-bottom: 1px solid #333;
  66. text-align: center;
  67. }
  68. .perFestivalsBox table {
  69. display: block;
  70. width: 100%;
  71. text-align: center;
  72. }
  73. .perFestivalsBox td {
  74. border-left: 1px solid #333;
  75. border-top: 1px solid #333;
  76. padding: 1px;
  77. width: 12.5%;
  78. font-size: 12px;
  79. }
  80. .perFestivalsBox td div {
  81. min-height: 16px;
  82. line-height: 16px;
  83. }
  84. .perFestivalsBox td:first-child, .perWeek li:first-child {
  85. border-left: 0;
  86. }
  87. </style>
  88. <style>
  89. .lr-select {
  90. width: 150px;
  91. }
  92. </style>
  93. <div class="lr-layout ">
  94. <div class="lr-layout-center">
  95. <div class="lr-layout-wrap lr-layout-wrap-notitle ">
  96. <div class="lr-layout-tool">
  97. <div class="lr-layout-tool-left">
  98. <div class="lr-layout-tool-item">
  99. <div id="datesearch" class="lr-search-date"></div>
  100. </div>
  101. <div class="lr-layout-tool-item">
  102. <div id="F_SchoolId" type="lrselect" class="lr-select"></div>
  103. </div>
  104. <div class="lr-layout-tool-item">
  105. <div id="ClassNo" type="lrselect" class="lr-select"></div>
  106. </div>
  107. <div class="lr-layout-tool-item">
  108. <div id="EmpNo" type="lrselect" class="lr-select"></div>
  109. </div>
  110. <div class="lr-layout-tool-item">
  111. <div id="ClassroomNo" type="lrselect" class="lr-select"></div>
  112. </div>
  113. <div class="lr-layout-tool-item">
  114. <a id="lr_search" class="btn btn-primary">查询</a>
  115. </div>
  116. <div class="lr-layout-tool-item">
  117. <a id="wordExport" class="btn btn-primary">导出</a>
  118. </div>
  119. </div>
  120. <div class="lr-layout-tool-right">
  121. <div class=" btn-group btn-group-sm">
  122. <a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
  123. <a id="perBtn" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印课程表</a>
  124. </div>
  125. <div class=" btn-group btn-group-sm" learun-authorize="yes">
  126. <a id="emptyByCondition" class="btn btn-default"><i class="fa fa-trash-o"></i>&nbsp;按条件清空排课数据</a>
  127. <a id="syncByCondition" class="btn btn-default"><i class="fa fa-handshake-o"></i>&nbsp;按条件同步排课数据</a>
  128. </div>
  129. <div class=" btn-group btn-group-sm" learun-authorize="yes">
  130. <a id="initByCondition" class="btn btn-default"><i class="fa fa-circle-o-notch"></i>&nbsp;按条件重置基础数据同步状态</a>
  131. </div>
  132. </div>
  133. </div>
  134. <div class="lr-layout-body" style="overflow: auto;">
  135. <div class="warpper">
  136. <div class="personalBox" id="printFiled">
  137. <div class="personT"></div>
  138. <div id="printshow" style="display:none;">
  139. <div class="perSemester"></div>
  140. <ul class="perWeek">
  141. <li>节次/星期</li>
  142. <li>星期一</li>
  143. <li>星期二</li>
  144. <li>星期三</li>
  145. <li>星期四</li>
  146. <li>星期五</li>
  147. <li>星期六</li>
  148. <li>星期日</li>
  149. </ul>
  150. </div>
  151. <div id="exportshow">
  152. <div class="perSemester" style="border-bottom:0;"></div>
  153. <table border="1" style="width:100%;height:40px;border-bottom:hidden;border-collapse:collapse;border-color:#dfdfdf;">
  154. <tr>
  155. <th style="width:12.5%;text-align:center;color: #333;font-weight: normal;">节次/星期</th>
  156. <th style="width:12.5%;text-align:center;color: #333;font-weight: normal;">星期一</th>
  157. <th style="width:12.5%;text-align:center;color: #333;font-weight: normal;">星期二</th>
  158. <th style="width:12.5%;text-align:center;color: #333;font-weight: normal;">星期三</th>
  159. <th style="width:12.5%;text-align:center;color: #333;font-weight: normal;">星期四</th>
  160. <th style="width:12.5%;text-align:center;color: #333;font-weight: normal;">星期五</th>
  161. <th style="width:12.5%;text-align:center;color: #333;font-weight: normal;">星期六</th>
  162. <th style="width:12.5%;text-align:center;color: #333;font-weight: normal;">星期日</th>
  163. </tr>
  164. </table>
  165. </div>
  166. <div class="perFestivalsBox">
  167. @*<table cellspacing="0" border="0" style="width:100%;" ></table>*@
  168. <table cellspacing="0" border="1" style="width:100%;border-collapse:collapse;border-color:#dfdfdf;border:0;"></table>
  169. </div>
  170. </div>
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. @Html.AppendJsFile("/Areas/PersonnelManagement/Views/TimeTable/IndexInEducation.js")
  177. <script src="~/Content/js/FileSaver.js"></script>
  178. <script src="~/Content/js/jquery.wordexport.js"></script>
  179. <script>
  180. $('#wordExport').on('click', function () {
  181. $('#printshow').hide();
  182. $('#exportshow').show();
  183. $('#printFiled').wordExport('filename');
  184. })
  185. </script>