sysPlanSearch.jsp 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. <%@include file="/commons/include/get.jsp" %>
  6. <title>日程查询列表</title>
  7. <script type="text/javascript" src="${ctx}/js/hotent/platform/system/SysPlanScript.js"></script>
  8. </head>
  9. <body>
  10. <div class="panel">
  11. <div class="panel-top">
  12. <div class="tbar-title">
  13. <span class="tbar-label">>日程查询列表</span>
  14. </div>
  15. <div class="panel-toolbar">
  16. <c:forEach items="${dicList}" var="dic" varStatus="vs">
  17. <div>
  18. <c:forEach items="${map}" var="map" varStatus="vs">
  19. <c:if test="${dic.itemValue eq map.key}">
  20. <a class="link search" href="search.ht?planLevel=${dic.itemValue}"><span></span>${dic.itemName}
  21. <c:choose>
  22. <c:when test="${dic.itemValue eq 1}"><font color="blue">${map.value}</font></c:when>
  23. <c:when test="${dic.itemValue eq 2}"><font color="green">${map.value}</font></c:when>
  24. <c:when test="${dic.itemValue eq 3}"><font color="red">${map.value}</font></c:when>
  25. <c:otherwise><font>${map.value}</font></c:otherwise>
  26. </c:choose>
  27. </a>
  28. </c:if>
  29. </c:forEach>
  30. </div>
  31. </c:forEach>
  32. <div class="toolBar">
  33. <div class="group" style="margin-top: -5px;margin-left: 0px;"><a class="link search" id="btnSearch"><span></span>查询</a></div>
  34. </div>
  35. </div>
  36. <div class="panel-search">
  37. <form id="searchForm" method="post" action="${ctx}/platform/system/sysPlan/search.ht">
  38. <input type="hidden" id="queryUserId" name="queryUserId" value="${queryUserId}" />
  39. <ul class="row">
  40. <li><span class="label">日志时间:</span><input type="text" name="Q_taskName_SL" class="inputText" value="${param['Q_taskName_SL']}"/></li>
  41. <li><span class="label">日志名称:</span><input type="text" name="Q_projectName_SL" class="inputText" value="${param['Q_projectName_SL']}"/></li>
  42. <li><span class="label">下属名称:</span><input type="text" name="Q_charge_SL" class="inputText" value="${param['Q_charge_SL']}"/></li>
  43. </ul>
  44. <ul class="row">
  45. <li><span class="label">开始时间 从:</span> <input name="Q_beginStartTime_DL" class="inputText date" value="${param['Q_beginStartTime_DL']}"/></li>
  46. <li><span class="label">至: </span><input name="Q_endStartTime_DG" class="inputText date" value="${param['Q_endStartTime_DG']}"> </li>
  47. </ul>
  48. <ul class="row">
  49. <li><span class="label">结束时间 从:</span> <input name="Q_beginEndTime_DL" class="inputText date" value="${param['Q_beginEndTime_DL']}"/></li>
  50. <li><span class="label">至: </span><input name="Q_endEndTime_DG" class="inputText date" value="${param['Q_endEndTime_DG']}"></li>
  51. </ul>
  52. </form>
  53. </div>
  54. </div>
  55. <div class="panel-body">
  56. <display:table name="sysPlanList" id="sysPlan" requestURI="${ctx}/platform/system/sysPlan/search.ht" sort="external" cellpadding="1" cellspacing="1" class="table-grid">
  57. <display:column property="taskName" title="日志时间" sortable="true" sortName="TASKNAME"></display:column>
  58. <display:column property="projectName" title="日志名称" sortable="true" sortName="PROJECTNAME"></display:column>
  59. <display:column property="charge" title="负责人(下属)" sortable="true" sortName="CHARGE"></display:column>
  60. <display:column title="开始时间" sortable="true" sortName="STARTTIME" style="width:150px;">
  61. <fmt:formatDate value='${sysPlan.startTime}' pattern='yyyy-MM-dd hh:mm:ss'/>
  62. </display:column>
  63. <display:column title="结束时间" sortable="true" sortName="ENDTIME" style="width:150px;">
  64. <fmt:formatDate value='${sysPlan.endTime}' pattern='yyyy-MM-dd hh:mm:ss'/>
  65. </display:column>
  66. <display:column title="任务状态" sortable="true" sortName="RATE" style="width:70px;">
  67. <c:choose>
  68. <c:when test="${sysPlan.rate == null || sysPlan.rate == ''|| sysPlan.rate == 0}">未开始</c:when>
  69. <c:when test="${sysPlan.rate == 100}">已完成</c:when>
  70. <c:otherwise>完成${sysPlan.rate}%</c:otherwise>
  71. </c:choose>
  72. </display:column>
  73. <display:column title="日志级别" sortable="true" sortName="PLANLEVEL" style="width:70px;">
  74. <c:choose>
  75. <c:when test="${empty dicList}">
  76. 请在数据字典定义一个nodeKey为rzlx的分类
  77. </c:when>
  78. <c:otherwise>
  79. <c:forEach items="${dicList }" var="dic">
  80. <c:if test="${dic.itemValue eq sysPlan.planLevel}">
  81. <c:choose>
  82. <c:when test="${dic.itemValue eq 1}"><font color="blue">${dic.itemName}</font></c:when>
  83. <c:when test="${dic.itemValue eq 2}"><font color="green">${dic.itemName}</font></c:when>
  84. <c:when test="${dic.itemValue eq 3}"><font color="red">${dic.itemName}</font></c:when>
  85. <c:otherwise><font>${map.value}</font></c:otherwise>
  86. </c:choose>
  87. </c:if>
  88. </c:forEach>
  89. </c:otherwise>
  90. </c:choose>
  91. </display:column>
  92. <display:column title="管理" media="html" style="width:70px;text-align:center" > <!-- class="rowOps" -->
  93. <a href="${ctx}/platform/system/sysPlan/subscribeGet.ht?type=subscribe&id=${sysPlan.id}&subscribeId=${sysPlan.subscribeId}&queryUserId=${queryUserId}&isSearch=true" class="link detail">明细</a>
  94. </display:column>
  95. </display:table>
  96. <hotent:paging tableId="sysPlanItem"/>
  97. </div><!-- end of panel-body -->
  98. </div> <!-- end of panel -->
  99. </body>
  100. </html>