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

📄 accountmbrowsedata.jsp

📁 java电信经典-学习例子源代码
💻 JSP
字号:
<%@ page pageEncoding="gb2312" isELIgnored="false"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="ui"%>
<!-- 标准标记库 -->
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<table width='100%' height='100%' border='0' cellspacing='0'
	cellpadding='0'>
	<tr>
		<td width='40'
			background='${pageContext.request.contextPath}/images/index_26.jpg'>
			&nbsp;
		</td>
		<!--内容区导航开始-->
		<td align='left' valign='middle'
			background='${pageContext.request.contextPath}/images/ctitle_bak_center.jpg'>
			<table border='0' cellspacing='0' cellpadding='0'>
				<tr>

					<td height='31'
						background='${ pageContext.request.contextPath}/images/ctitle_bak_fcenter.jpg'>
						<a href='..index.html' class=channel_title>首页</a>
						<ui:img page='/images/sy_2_18.jpg' border='0' />
						<a
							href='${ pageContext.request.contextPath}${module.url}?method=index&moduleid=${module.id}'
							class=channel_title>帐务管理首页</a>
						<ui:img page='/images/sy_2_18.jpg' border='0' />
						<a
							href='${ pageContext.request.contextPath}${module.url}?method=accountMQeury'
							class=channel_title>帐务管理-月查询</a>
					</td>
				</tr>
			</table>
		</td>
		<!--内容区导航结束-->
		<td align='left' valign='middle'
			background='${pageContext.request.contextPath}/images/ctitle_bak_center.jpg'>
			&nbsp;
		</td>
		<td width='13' align='right' valign='middle'
			background='${pageContext.request.contextPath}/images/ctitle_bak_center.jpg'>
			<ui:img page='/images/ctitle_bak_right.jpg' width='10' height='31' />
		</td>
	</tr>
</table>

<table width='100%' border='1' cellspacing='0' cellpadding='0'>
	<tr width="100%" height="10%">
		<!-- 显示查询UI -->
		<td align="left" height='31'
			background='${pageContext.request.contextPath}/images/ctitle_bak_fcenter.jpg'>
			<ui:form action="${module.url}?method=serviceTimeQueryMUI">
			查询条件:&nbsp;&nbsp;		
			年份:<ui:select property="year" style="WIDTH: 80px">
					<c:forEach var="y"  items="${years}">
						<c:if test="${y  eq cy}">
							<option value="${y}" selected>${y }年</option>
						</c:if>
						<c:if test="${y  ne cy}">
							<option value="${y}">${y }年</option>
						</c:if>
					</c:forEach>
				</ui:select>
		    月份:<ui:select property="month" style="WIDTH: 80px">
		    	<c:forEach  var="m" begin="1" end="12"  step="1">
		    		<c:if test="${m eq cm}">
						<option value="${m}"  selected>${m}月</option>
					</c:if>
					<c:if test="${m ne cm}">
						<option value="${m}" >${m}月</option>
					</c:if>
				</c:forEach>	
				</ui:select>

				<ui:submit value=" 查询"></ui:submit>
			</ui:form>
		</td>
	</tr>
	<tr width="100%" height="300px">
		<td width="100%" valign="top" >
			<!-- 显示浏览列表 -->
			<div style="display:block;overflow-x:hidden;overflow-y:auto;height:300px;">
				<table cellspacing='0' cellpadding='0' width="100%" border="1">
					<tr class="tabhead">
						<td>
							实验室ip
						</td>
						<td>
						</td>
						<td>
						</td>
						<td>
							总计(单位:小时)
						</td>
						<td>
							查看明细
						</td>

					</tr>
					<c:forEach var="monthAccout" items="${monthAccounts}">
						<tr align="center" class="9P">
							<td width="20%" nowrap>
								${monthAccout.labip}
							</td>
							<td width="15%" nowrap>
								${year }
							</td>
							<td width="15%" nowrap>
								${month }
							</td>
							<td width="30%" nowrap>
								${monthAccout.duration}
							</td>
							<td width="20%">
								<a
									href="<%=request.getContextPath()%>/${module.url}?method=serviceTimeDetailM&labip=${monthAccout.labip }&year=${year}&month=${month }">详细清单</a>
							</td>
						</tr>
					</c:forEach>
				</table>
			</div>
		</td>
	</tr>
</table>

⌨️ 快捷键说明

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