atsAttenceCycleSelector.jsp 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/commons/include/html_doctype.html" %>
  3. <html>
  4. <head>
  5. <title>选择日历模版</title>
  6. <%@include file="/commons/include/get.jsp" %>
  7. <script type="text/javascript">
  8. $(function(){
  9. $("tr.odd,tr.even").unbind("hover");
  10. $("tr.odd,tr.even").click(function(){
  11. $(this).siblings().removeClass("over").end().addClass("over");
  12. });
  13. });
  14. </script>
  15. <style type="text/css">
  16. div.bottom{text-align: center;padding-top: 10px;}
  17. body {overflow: hidden;}
  18. </style>
  19. </head>
  20. <body>
  21. <div class="panel-top">
  22. <div class="panel-search">
  23. <form id="searchForm" method="post" action="${ctx}/platform/ats/atsAttenceCycle/selector.ht" >
  24. <ul class="row">
  25. <input type="hidden" name="isSingle" value="${isSingle }">
  26. <li><span class="label" >名称:</span><input size="14" type="text" name="Q_name_SL" class="inputText" style="width:60%;" value="${param['Q_name_SL']}"/>
  27. &nbsp;<a href="javascript:;" onclick="$('#searchForm').submit()" class='button'><span>查询</span></a></li>
  28. </ul>
  29. </form>
  30. </div>
  31. </div>
  32. <display:table name="atsAttenceCycleList" id="atsAttenceCycleItem" requestURI="selector.ht" sort="external" cellpadding="1" cellspacing="1" class="table-grid">
  33. <display:column title="选择" media="html" style="width:30px;">
  34. <input type="radio" class="pk" name="data" value="${atsAttenceCycleItem.id}#${atsAttenceCycleItem.name}">
  35. </display:column>
  36. <display:column property="code" title="编码" sortable="true" sortName="CODE" maxLength="80"></display:column>
  37. <display:column property="name" title="名称" sortable="true" sortName="NAME" maxLength="80"></display:column>
  38. <display:column title="周期类型" sortable="true" sortName="TYPE" maxLength="80">
  39. <c:choose>
  40. <c:when test="${atsAttenceCycleItem.type==1}">
  41. <span class="red">自然月</span>
  42. </c:when>
  43. <c:otherwise>
  44. <span class="green">月(固定日期)</span>
  45. </c:otherwise>
  46. </c:choose>
  47. </display:column>
  48. <display:column title="开始周期" sortable="true" sortName="YEAR">
  49. ${atsAttenceCycleItem.year }年${atsAttenceCycleItem.month}月
  50. </display:column>
  51. <display:column title="周期开始日期" sortable="true" sortName="START_DAY">
  52. <c:choose>
  53. <c:when test="${atsAttenceCycleItem.type==1}">
  54. 1
  55. </c:when>
  56. <c:otherwise>
  57. ${atsAttenceCycleItem.startDay}
  58. </c:otherwise>
  59. </c:choose>
  60. </display:column>
  61. <display:column title="是否默认" sortable="true" sortName="IS_DEFAULT">
  62. <c:choose>
  63. <c:when test="${atsAttenceCycleItem.isDefault==1}">
  64. <span class="red">是</span>
  65. </c:when>
  66. <c:otherwise>
  67. <span class="green">否</span>
  68. </c:otherwise>
  69. </c:choose>
  70. </display:column>
  71. </display:table>
  72. <hotent:paging tableId="atsAttenceCycleItem" showExplain="false"/>
  73. </body>
  74. </html>