⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list.jsp

📁 spring+hibernate+struts开发的校务oa系统
💻 JSP
字号:
<%@ page contentType="text/html; charset=GBK" pageEncoding="GBK"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="/WEB-INF/ajaxtags.tld" prefix="ajaxtags"%>
<%@ taglib uri="/WEB-INF/displaytag-el.tld" prefix="displaytag-el"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
	<head>
		
		
	<style type="text/css" media="all">
      @import url("<%=path%>/resources/css/displaytag/maven-base.css");
      @import url("<%=path%>/resources/css/displaytag/maven-theme.css");
      @import url("<%=path%>/resources/css/displaytag/site.css");
      @import url("<%=path%>/resources/css/displaytag/screen.css");
    </style>
	</head>
	
	<BODY>
		<DIV>
			<p>
				<a href="<%=path%>/transaction/transactionAction.do?METHOD=toApply">申请任务工作</a>
			</p>
			<c:choose>
			<c:when test="${!empty pageList.list}">
			
				<displaytag-el:table name="pageList.list"
									 id="list"
									 size="pageList.fullListSize"
									 partialList="true"
									 pagesize="${pageList.objectsPerPage}"
									 class="its"
									 requestURI="/transaction/transactionAction.do">
						<displaytag-el:column property="title"
											  sortable="true"
											  title="申请任务"
											  maxLength="10"
											  url="/transaction/transactionAction.do?METHOD=content&trantype=apply"
											  paramId="pid"
											  paramProperty="transactionid"/>
						<displaytag-el:column property="recevieop.username" 
											  sortable="true" 
											  title="审批人"/>
						<displaytag-el:column property="sendtime"
											  sortable="true" 
											  title="申请时间" 
											  format="{0,date,yyyy-MM-dd}" />
						<displaytag-el:column property="tranbegintime"
											  sortable="true"
											  title="开始使用时间" 
											  format="{0,date,yyyy-MM-dd}"/>
						
						<displaytag-el:column property="tranendtime"
											  sortable="true"
											  title="结束使用时间"
											  format="{0,date,yyyy-MM-dd}"/>
						<c:choose>
							<c:when test="${list.ischeck.mcode eq 1}">
								<displaytag-el:column property="ischeck.mname"
												  sortable="true"
												  title="审核情况"
												 
												  style="color: green;"/>
							</c:when>
							<c:otherwise>
								<displaytag-el:column property="ischeck.mname"
												  sortable="true"
												  title="审核情况"
												  
												  style="color: red"/>
							</c:otherwise>
						</c:choose>
						<c:choose>
							<c:when test="${list.ispass.mcode eq 1}">
								<displaytag-el:column property="ispass.mname"
												  sortable="true"
												  title="批准情况"
												  
												  style="color: green"/>
							</c:when>
							<c:otherwise>
								<displaytag-el:column property="ispass.mname"
												  sortable="true"
				           						  title="批准情况"
				           						 
				           						  style="color: red;" />
							</c:otherwise>
						</c:choose>
				</displaytag-el:table>
			</c:when>
			<c:otherwise>事务为空</c:otherwise>
		</c:choose>
		<hr>
			<!-- end if display -->
		</DIV>
	</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -