querycorporationinfoshow.jsp

来自「一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs」· JSP 代码 · 共 120 行

JSP
120
字号
<%@ page contentType="text/html; charset=GBK"
    import="java.util.*,
			com.gs.util.*,
	        com.gs.component.approve.model.*,
			com.gs.component.approve.util.*,
			com.gs.component.sysadmin.model.*
		   "
%>
<%
String SN = request.getParameter("SN");
String td="businessTd00";
SN = (String)request.getAttribute("SN")==null?SN:(String)request.getAttribute("SN");
SN = SN==null?SN:SN.trim();
String oid = request.getParameter("BID");

//变更的业务转换成开业的业务号
if(oid.substring(0,2).equals("03"))
	oid="02"+oid.substring(oid.indexOf("03")+2);

String BID=(String)request.getAttribute("BID");

String newsn=request.getParameter("newsn");
if (newsn==null) newsn="";
ArrayList pageList = (ArrayList)request.getAttribute("PageList");


%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>企业现状</title>
<script language="javascript">
function openWin(url){
	var w = 794;
	var h = 550;
	if (screen.width == 1024){
		w = 1018;
		h = 720;
	}
	window.open(url,"","toolbar=no,resizable,scrollbars,dependent,width="+w+",height="+h+",top=0,left=0");

}
function openWin1(url){
	var w = 397;
	var h = 550;
	if (screen.width == 1024){
		w = 509;
		h = 720;
	}
	window.open(url,"","toolbar=no,resizable,scrollbars,dependent,width="+w+",height="+h+",top=0,left=0");
}

function openWin2(url){
	var w = 700;
	var h = 500;
	if (screen.width == 1024){
		w = 709;
		h = 500;
	}
	window.open(url,"","toolbar=no,resizable,scrollbars,dependent,width="+w+",height="+h+",top=0,left=0");
}
</script>
<link href="<%=request.getContextPath()%>/include/style/style01/style.css" rel="stylesheet" type="text/css">
</head>
<body class="businessBody01">
 <center>
<table  border="0" width="90%">
		<tr>
		  <td><img src="<%=request.getContextPath()%>/images/bg3.gif" border="0" >&nbsp;<font class="textBusinessTitle">企业现状</font></td>
		</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="90%">
 <tr >
    <td width="100%">
<%
if (pageList!=null && pageList.size()>0)
{
%>
     <table border="1" width="100%" class=businessTable00>
       <tr>
            <td  width="39%" height="31" class="businessTdTitle00"> 项目名称</td>
            <td height="31" width="10%"  class="businessTdTitle00" > 操作</td>
            <td  width="39%" height="31" class="businessTdTitle00"> 项目名称</td>
            <td height="31" width="10%"  class="businessTdTitle00" > 操作</td>
      </tr>
<%for(int i=0;i<pageList.size();i++){
	if (i%2==0){
		out.println("<tr>");
	}
	OperationPageModel pageModel = (OperationPageModel)pageList.get(i);
	td=td.equals("businessTd00")?"businessTd01":"businessTd00";%>
	<td height=30 class="<%=td%>Left">
          	&nbsp;&nbsp;<a href="javascript:openWin('<%=request.getContextPath()%>/operateAction.do?action=4008&SN=<%=SN%>&BID=<%=BID%>&oid=<%=oid%>&table=<%=pageModel.getTableName()%>&page=<%=pageModel.getPageCoding()%>&OPR=2&type=s')" title="查看企业信息" ><%=PubFunc.toShow(pageModel.getPageTitle())%></a>
	</td>
<td  class="<%=td%>"><a href="javascript:openWin('<%=request.getContextPath()%>/operateAction.do?action=4008&SN=<%=SN%>&BID=<%=BID%>&oid=<%=oid%>&table=<%=pageModel.getTableName()%>&page=<%=pageModel.getPageCoding()%>&OPR=2&type=s')" title="查看企业信息" >查看</a></td>
<%	if (i%2!=0)
		out.println("</tr>");
}//for
if ((pageList.size())%2!=0){
		out.println("<td height=30 class='"+td+"'> <div align=center>&nbsp;</div></td><td height=30 width=11% class='"+td+"'> <div align=center>&nbsp;</div></td></tr>");
	}
%>
     </table>
<%
}//if pageList
%>
    </td>
 </tr>
 </table>
<form method="post" action="<%=request.getContextPath()%>/operateAction.do">
<input type=hidden name=action value=5013>
<input type=hidden name=SN value=<%=SN%>>
<input type=hidden name=oid value=<%=oid%>>
<input type=hidden name=hezhundate value=<%=request.getParameter("hezhundate")%>>
<input type=hidden name=newsn value=<%=newsn%>>
<input name="button3" type=button value=关闭窗口 class="button" onmouseover="this.className='mouseover'" onmouseout="this.className='button'" onClick="window.close()">
</form>

</body>
</html>

⌨️ 快捷键说明

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