alertFlowConf.jsp 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <%@ page language="java" contentType="text/html;charset=GBK"
  2. pageEncoding="GBK"%>
  3. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  8. <title>流程列表</title>
  9. <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  10. <link href="${pageContext.request.contextPath}/yw/bpm/style/flowlist.css" rel="stylesheet" type="text/css" />
  11. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
  12. <script
  13. src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js"
  14. type="text/javascript"></script>
  15. <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  16. <script type="text/javascript" src="/shares/js/constant.js"></script>
  17. <script type="text/javascript" src="/shares/js/common.js"></script>
  18. <script type="text/javascript" src="/shares/js/yw/bpm/oa.js"></script>
  19. <script type="text/javascript">
  20. function saveFlowAlert() {
  21. submitForm("alertConf");
  22. }
  23. function getDate(){
  24. var now = new Date();
  25. return now.getFullYear() + "-" + (now.getMonth()+1) + "-" + now.getDate();
  26. }
  27. var oldSearch = null;
  28. function searchInPage(){
  29. if(oldSearch != null){
  30. $("table[title*='" + oldSearch + "']").css("border" ,"");
  31. }
  32. var search = stripscript($("#insName").val());
  33. oldSearch = search;
  34. $("table[title*='" + search + "']").css("border" ,"2px solid #ff0000");
  35. }
  36. function removeSearch(){
  37. var search =stripscript($("#insName").val());
  38. $("table[title*='" + search + "']").css("border" ,"");
  39. $("#insName").val("");
  40. }
  41. </script>
  42. </head>
  43. <body>
  44. <div class="container-layout" style="padding-top: 40px; ">
  45. <div id="title" class="form-button" style="width:100%;">
  46. <input onclick="closeTabUseInOA();" type="button" value="关闭" class="l-button">
  47. <input onclick="saveFlowAlert();" type="button" value="保存" class="l-button">
  48. </div>
  49. <div class="default_search" style="margin: 5px 0px 0px 0px ; width: 100%;">
  50. <ul class="list_search" style="width:250px;">
  51. <li class="title">流程标题:</li>
  52. <li class="text">
  53. <input type="text" id="insName" name="insName" style="width: 130px;">
  54. </li>
  55. </ul>
  56. <ul style="width:350px;"><li class="title">&nbsp;</li>
  57. <li class="search-button">
  58. <input type="button" class='l-button' name="search" onclick="searchInPage()" value="查询"/>
  59. <input type="button" class='l-button' name="search" onclick="removeSearch()" value="清除条件"/>
  60. </li>
  61. </ul>
  62. </div>
  63. <form action="flowAlertAction.do?method=saveFlowAlert" method="post" name="alertConf">
  64. <div id="liucheng">
  65. <c:forEach items="${requestScope.ftypeList }" var="flowType">
  66. <div id="liucheng_lx">
  67. <div id="liucheng_lx_name">
  68. <span><img src="${pageContext.request.contextPath}/yw/bpm/style/liucheng_lx_name.png" /></span>${flowType.typeName }
  69. </div>
  70. </div>
  71. <% int i = 1; %>
  72. <c:forEach items="${requestScope.fList }" var="flow" varStatus="s">
  73. <c:if test="${flowType.typeId eq flow.typeId.typeId }">
  74. <% if(i%5==1){%>
  75. <div id="liucheng_name">
  76. <% }%>
  77. <div id="liucheng_name1">
  78. <table width="100%" class="bg" title="#${flow.modelName }" height="auto" cellpadding="0" cellspacing="0" border="0">
  79. <tbody>
  80. <tr>
  81. <td valign="middle" style="width:20%; text-align:center;"><img src="${pageContext.request.contextPath}/yw/bpm/style/li.png" />
  82. <c:if test="${flow.isAlert eq '1' }">
  83. <input type="checkbox" name="flowIds" title="是否提配" checked="checked" value="${flow.modelId}">
  84. </c:if>
  85. <c:if test="${flow.isAlert ne '1' }">
  86. <input type="checkbox" name="flowIds" title="是否提配" value="${flow.modelId}">
  87. </c:if>
  88. </td>
  89. <td style="width:80%;line-height:28px; text-align:left;" >${flow.modelName }</td>
  90. </tr>
  91. </tbody>
  92. </table>
  93. </div>
  94. <% if(i%5==0){%>
  95. </div>
  96. <% }
  97. i++;
  98. %>
  99. </c:if>
  100. </c:forEach>
  101. </c:forEach>
  102. </div>
  103. </form>
  104. </div>
  105. </div>
  106. <%@ include file="/include/message.jsp"%>
  107. </body>
  108. </html>