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

📄 reportperspicuitview.jsp

📁 一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs12315src里,没有打包数据库.
💻 JSP
字号:
<%@ page import="com.gs.util.*,java.util.*"%>
<%@ page contentType="text/html; charset=GBK" %>
<%@ page import="com.gs.pageBuilder.model.*"%>
<%
try{
	ArrayList reportPageDataList=new ArrayList();
	reportPageDataList=(ArrayList)request.getAttribute("reportPageDataList");
	ReportPageModel reportPageModelTemp=null;
	String td="businessTd01";
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="<%=request.getContextPath()%>/include/style/style01/style.css" rel="stylesheet" type="text/css">
<title>报表明晰</title>
</head>
<body topmargin="0" leftmargin="0">
<form name=f1 action="" >
<table border="1"  class="businessTable00"  width="100%" id="stockmanID">
  <tr>
    <td class="businessTdTitle00">报表单位</td>
    <td class="businessTdTitle00">起始日期</td>
    <td class="businessTdTitle00">终止日期</td>
    <td class="businessTdTitle00">期别</td>
    <td class="businessTdTitle00">报表备注</td>
    <td class="businessTdTitle00">范围</td>
    <td class="businessTdTitle00">报出日期</td>
    <td class="businessTdTitle00">填表人</td>
  </tr>
  <%for(int i=0;i<reportPageDataList.size();i++){
  reportPageModelTemp=(ReportPageModel)reportPageDataList.get(i);
  td=td=="businessTd01"?"businessTd00":"businessTd01";
  %>
  <tr onclick="changeItem(<%=reportPageModelTemp.getCode()%>,'stockmanID',<%=i+1%>)" onmouseout="this.style.cursor ='default'"  onmouseover="this.style.cursor ='hand'">
    <td class=<%=td%>><%=reportPageModelTemp.getReportUnit()%></td>
    <td class=<%=td%>><%=reportPageModelTemp.getReportFrom()%></td>
    <td class=<%=td%>><%=reportPageModelTemp.getReportTo()%></td>
    <td class=<%=td%>><%=reportPageModelTemp.getReportType()%></td>
    <td class=<%=td%>><%=reportPageModelTemp.getReportRemark()%></td>
    <td class=<%=td%>><%=reportPageModelTemp.getReportExtent()%></td>
    <td class=<%=td%>><%=reportPageModelTemp.getReportDate()%></td>
    <td class=<%=td%>><%=reportPageModelTemp.getOperator()%></td>
  </tr>
  <%}%>  
</table>
<script>
function changeItem(xnameV,stockman,selectnum){
	var rowT=document.all(stockman);
	var i=0;
	var j=0;
	var rowsNum=rowT.rows.length;	
	var log=0;
	for(i=1;i<rowsNum;i++){
		if(log==0)log=1;else log=0;		
		for(j=0;j<rowT.rows[i].cells.length;j++){
			if(log==1){	
				if(selectnum==i)
					rowT.rows[i].cells[j].className="businessTd03";	
				else
					rowT.rows[i].cells[j].className="businessTd00";			
			}else{			
				if(selectnum==i)
					rowT.rows[i].cells[j].className="businessTd03";	
				else
					rowT.rows[i].cells[j].className="businessTd01";							
			}
		}		
	}	
	document.all.selectItem.value=xnameV;
}
</script>
<input type="hidden" name=selectItem value="">
</form>
</body>
</html>
<%}
catch(Exception ex){
	Debug.println("reportPerspicuitView.jsp exception:"+ex.getMessage());
}%>

⌨️ 快捷键说明

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