| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141 |
- <%@ page language="java" contentType="text/html;charset=GBK"
- pageEncoding="GBK"%>
- <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>流程列表</title>
- <link
- href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css"
- rel="stylesheet" type="text/css" />
- <script
- src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js"
- type="text/javascript"></script>
- <script
- src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js"
- type="text/javascript"></script>
- <script
- src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js"
- type="text/javascript"></script>
- <link href="${pageContext.request.contextPath}/main.css"
- rel="stylesheet" type="text/css" />
- <script type="text/javascript" src="/shares/js/file.js"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <style type="text/css">
- html {
- overflow: hidden;
- }
- </style>
- <script type="text/javascript" src="/shares/js/yw/bpm/oa.js"></script>
- <script type="text/javascript">
- $(document).ready(function() {
- $("#allSelect0").click(function() {
- if (this.checked) {
- $("[name*='allSelect']").attr("checked", true);
- } else {
- $("[name*='allSelect']").attr("checked", false);
- }
- });
- });
- function openPrintProcess() {
- var allSelect = "";
- $('input[name="allSelect"]:checked').each(function() {
- allSelect += $(this).val() + ",";
- });
- var content = "";
- $('input[name="content"]:checked').each(function() {
- content += $(this).val() + ",";
- });
- if (allSelect == "") {
- alert("请选择要打印的环节!");
- return;
- }
- if (content == "") {
- alert("请选择要打印的内容!");
- return;
- }
- window.open('FlowAction.do?task=printProcess&insId=${param.insId}&content='
- + content + "&allSelect=" + allSelect);
- }
- </script>
- </head>
- <body>
- <form action="FlowAction.do" method="post" id="cform" name="cform">
- <div>
- <div class="default_search"
- style="margin: 0; width: 100%; padding: 0;">
- <ul class="list_search" style="width: 250px;">
- <li class="title" style="width: 250px">请在列表中选择要打印的流转环节及内容</li>
- </ul>
- <ul>
- <li class="title"> </li>
- <li class="search-button"><input type="hidden" name="task"
- id="task" value="printProcess"> <input type="hidden"
- name="insId" id="insId" value="${param.insId }"> <input
- type="button" onclick="openPrintProcess()" class='l-button' name="search" value="打印" /></li>
- </ul>
- </div>
- <div class="forum-container">
- <center>
- <table style="width: 100%;">
- <tbody>
- <tr>
- <th style="width: 5%; text-align: center;"><input
- type="checkbox" id="allSelect0" value="1" checked="checked"></th>
- <th style="width: 15%; text-align: center;">环节名称 <input
- type="checkbox" id="content" name="content" value="1" checked="checked">
- </th>
- <th style="width: 15%; text-align: center;">操作人 <input
- type="checkbox" id="content" name="content" value="2" checked="checked">
- </th>
- <th style="width: 25%; text-align: center;">备注及意见 <input
- type="checkbox" id="content" name="content" value="3" checked="checked">
- </th>
- <th style="width: 20%; text-align: center;">创建时间 <input
- type="checkbox" id="content" name="content" value="4" checked="checked">
- </th>
- <th style="width: 20%; text-align: center;">办结时间 <input
- type="checkbox" id="content" name="content" value="5" checked="checked">
- </th>
- </tr>
- </tbody>
- <tbody>
- <c:forEach items="${requestScope.tacheList }" var="tache">
- <tr>
- <td style="text-align: center;"><input type="checkbox"
- id="allSelect" name="allSelect" value="${tache.tinsId }" checked="checked">
- </td>
- <td style="text-align: center;">
- ${tache.tmodelId.tmodelName }</td>
- <td style="text-align: center;"><c:choose>
- <c:when
- test="${tache.authorizedUser.userId!=null && tache.authorizedUser.userId!='0' && tache.authorizedUser.userId!='' }">
- ${tache.user.username }(授权:${tache.authorizedUser.username})
- </c:when>
- <c:otherwise>
- ${tache.user.username }
- </c:otherwise>
- </c:choose></td>
- <td style="text-align: center;">${tache.remark }</td>
- <td style="text-align: center;">
- ${fn:substring(tache.createdate, 0, 19) }</td>
- <td style="text-align: center;">
- ${fn:substring(tache.finishdate, 0, 19) }</td>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- </center>
- </div>
- </div>
- </form>
- <%@ include file="/include/message.jsp"%>
- </body>
- </html>
|