汇联通执法队后台管理系统
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

manage.jsp 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <!DOCTYPE html>
  2. <%@ page contentType="text/html;charset=utf-8"%>
  3. <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
  4. <!--[if !IE]><!-->
  5. <html lang="en">
  6. <!--<![endif]-->
  7. <head>
  8. <%@ include file="/WEB-INF/jsp/assets.jsp" %>
  9. <script type="text/javascript">
  10. $(function(){
  11. $("#myManage").taiji().on("taijiSearchSuccess",function(event,result){
  12. $("#${today}").addClass("cal-today");
  13. $("#searchCondition").text($(result).find(".searchCondtion").html());
  14. });
  15. $("#myManage").on("click",".cal-click",function(){
  16. alert($(this).attr("id"));
  17. return false;
  18. });
  19. $("#todayId").click(function(){
  20. $("#year").val("${year}");
  21. $("#month").val("${month}");
  22. $("#queryButton").click();
  23. return false;
  24. });
  25. });
  26. </script>
  27. <style type="text/css">
  28. body {
  29. font-family: "Arial","Microsoft YaHei","黑体","宋体","sans-serif";
  30. color: #2c3e50;
  31. }
  32. .cal-box {
  33. background-color:white;
  34. /* border: 2px solid #6cd3fb; */
  35. padding-bottom: 30px;
  36. }
  37. .cal-header{
  38. height: 60px;
  39. padding: 10px;
  40. border-bottom: 1px solid #d0f7fd;
  41. }
  42. .cal-body{
  43. padding: 0 10px;
  44. }
  45. .cal-table{
  46. width:100%;
  47. text-align: center;
  48. vertical-align: middle;
  49. border-collapse:collapse;
  50. border-spacing: 0;
  51. }
  52. .cal-table tr{
  53. height: 61px;
  54. border-bottom: 1px solid #e3e4e6;
  55. }
  56. .cal-table thead>tr{
  57. height: 40px;
  58. }
  59. .cal-table th{
  60. font-size: 16px;
  61. text-align: center;
  62. }
  63. .cal-table td{
  64. color: #000000;
  65. font-size: 20px;
  66. }
  67. .cal-table td>a{
  68. text-decoration:none;
  69. color: #000000;
  70. display: block;
  71. font-size: 24px;
  72. height:60px;
  73. line-height:60px;
  74. margin: auto;
  75. width: 70px;
  76. }
  77. .cal-table td>a:hover{
  78. text-decoration:none;
  79. border: 3px solid #ffbb00;
  80. }
  81. .cal-table td>a.test{
  82. border: 3px solid #ffbb00;
  83. }
  84. .cal-table td>a.cal-today{
  85. background-color:#b6c2c9;
  86. }
  87. #myManage1::before,#myManage1::after {
  88. content:"";
  89. position: absolute;
  90. top: 14px;
  91. width: 16px;
  92. height: 16px;
  93. background-color: white;
  94. z-index:1;
  95. border-radius:10px;
  96. box-shadow: inset 1px 2px 2px 2px #aaaaaa;
  97. }
  98. #myManage::before{
  99. left:180px;
  100. }
  101. #myManage::after{
  102. right:180px;
  103. }
  104. </style>
  105. </head>
  106. <body>
  107. <div id="page-loader" class="fade in"><span class="spinner"></span></div>
  108. <!-- begin #page-container -->
  109. <div id="page-container" class="fade">
  110. <!-- begin #header -->
  111. <%@ include file="/WEB-INF/jsp/header.jsp" %>
  112. <!-- end #header -->
  113. <!-- begin #sidebar -->
  114. <%@ include file="/WEB-INF/jsp/sidebar.jsp" %>
  115. <!-- end #sidebar -->
  116. <!-- 内容页 -->
  117. <!-- begin #content -->
  118. <div id="content" class="content">
  119. <ol class="breadcrumb pull-right">
  120. </ol>
  121. <!-- begin page-header -->
  122. <h1 class="page-header">示例管理页面</h1>
  123. <!-- end page-header -->
  124. <div class="row">
  125. <div class="col-md-12">
  126. <div id="myManage" class="panel panel-default" style="width:586px;position: relative;">
  127. <div class="panel-heading">
  128. <h4 class="panel-title">工作日</h4>
  129. </div>
  130. <div class="cal-box">
  131. <form class="taiji_search_form cal-header form-inline" action="${rootUrl}app/system/workday/manage" method="post">
  132. <label class="control-label" id="searchCondition" style="font-size: 18px;"></label>
  133. <div class="form-group m-t-5">
  134. <select name="year" id="year" class="form-control">
  135. <c:forEach items="${years }" var="y">
  136. <option value="${y}" <c:if test="${y eq year}">selected</c:if> >${y }月</option>
  137. </c:forEach>
  138. </select>
  139. </div>
  140. <div class="form-group m-t-5">
  141. <select name="month" id="month" class="form-control">
  142. <c:forEach items="${months }" var="m">
  143. <option value="${m }" <c:if test="${m eq month}">selected</c:if> >${m.value }月</option>
  144. </c:forEach>
  145. </select>
  146. </div>
  147. <button id="queryButton" class="taiji_search_submit btn btn-md btn-success m-l-5" type="button" ><i class="fa fa-calendar m-r-10 "></i>查询</button>
  148. <button id="todayId" class="btn btn-md btn-default" style="margin-left: 3%" type="button" ><i class="fa fa-clock-o m-r-10 "></i>今天</button>
  149. </form>
  150. <div class="taiji_search_result cal-body">
  151. <table class="cal-table">
  152. <thead>
  153. <tr>
  154. <th>日</th>
  155. <th>一</th>
  156. <th>二</th>
  157. <th>三</th>
  158. <th>四</th>
  159. <th>五</th>
  160. <th>六</th>
  161. </tr>
  162. </thead>
  163. <tbody>
  164. </tbody>
  165. </table>
  166. </div>
  167. </div>
  168. </div> <!-- end panel -->
  169. </div>
  170. </div>
  171. </div>
  172. <!-- 内容页 -->
  173. <!-- 版权页 -->
  174. <a href="javascript:;" class="btn btn-icon btn-circle btn-success btn-scroll-to-top fade" data-click="scroll-top"><i class="fa fa-angle-up"></i></a>
  175. <!-- 版权页 -->
  176. </div>
  177. </body>
  178. </html>