messagelist.jsp

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

JSP
313
字号
<%@ page language="java"%>
<%@ page contentType="text/html;charset=gb2312"%>
<%@ page import="java.util.*"%>
<%@ page import="com.gs.util.*"%>

<%@ page import="com.gs.pageBuilder.util.*"%>
<%@ page import="com.gs.pageBuilder.model.*"%>

<%@ page import="com.gs.control.event.*"%>
<%@ page import="com.gs.component.enterprise.model.*"%>

<%
try{

	String OSN=(String)request.getAttribute("OSN");//页面数据
	String OBID=(String)request.getAttribute("OBID");//页面数据
	String innerID=(String)request.getAttribute("innerID");//页面数据
	MessageInfoModel messageInfoModel=null;
	int i=0;

	ArrayList requisitionSNList03=(ArrayList)request.getAttribute("requisitionSNList03");//变更
	ArrayList requisitionSNList07=(ArrayList)request.getAttribute("requisitionSNList07");//年检


%>
<html>
<head>
<link href="<%=request.getContextPath()%>/include/style/style01/style.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>通知列表</title>
</head>
<body class="businessBody01">
<script>
function openWin(url){
	var w = 794;
	var h = 525;

	window.open(url,"","toolbar=no,resizable=no,scrollbars,dependent,status=yes,width="+w+",height="+h+",top=0,left=0");
}
</script>
  <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>
<center>

       <table border="1" width="90%" class=businessTable00>
       <tr>
       	    <td  width="5%" height="31" class="businessTdTitle00" style="height:30"> <div align="center">序号</div></td>
            <td  width="40%" height="31" class="businessTdTitle00"> <div align="center">通知名称</div></td>
            <td height="20" width="10%"  class="businessTdTitle00" > <div align="center">业务类型</div></td>
            <td width="35%" height="31" class="businessTdTitle00"> <div align="center"  nowrap>备注</div></td>
          </tr>

<tr>
		<td height=30 class="businessTd01" style="height:30">
		1
		</td>
		<td height=30 class="businessTd01Left">
		<%if(OBID!=null&&OBID.length()>2&&OBID.startsWith("01")){%>
		&nbsp;&nbsp;名称核准通知书&nbsp;&nbsp;<a href="#" title="[名称核准]业务的通知" onclick="openWin('<%=request.getContextPath()%>/operateAction.do?action=4200&BID=0102&oid=0102&page=p001.jsp&table=basis02&sub=sub02_03&SN=<%=OSN%>');">[非套打]</a>&nbsp;&nbsp;<a href="#" title="[名称核准]业务的通知" onclick="openWin('<%=request.getContextPath()%>/operateAction.do?action=4200&BID=0102&oid=0102&page=p0011.jsp&table=basis02&sub=sub02_03&SN=<%=OSN%>');">[套打]</a>
		<%}else{%>
		&nbsp;&nbsp;名称核准通知书
		<%}%>
		</td>
		<td height=30 class="businessTd01">
		名称核准
		</td>
		<td height=30 class="businessTd01Left">
		<%if(!(OBID!=null&&OBID.length()>2&&OBID.startsWith("01"))){%>
		<font class=textWarnPrompt>&nbsp;您只有在选择类型为“名称”的记录时才能查看打印!</font>
		<%}%>
		</td>
	</tr>
	<tr>
		<td height=30 class="businessTd01"  style="height:30">
		2
		</td>
		<td height=30 class="businessTd01Left">
		<%if(OBID!=null&&OBID.length()>2&&OBID.startsWith("01")){%>
		&nbsp;&nbsp;<a href="#" title="[名称核准]业务的通知" onclick="openWin('<%=request.getContextPath()%>/BusinessServlet.do?SN=<%=OSN%>&OSN=<%=OSN%>&BID=<%=OBID%>&OBID=<%=OBID%>&SUB=sub01_92~basis01&PAGE=001&OPR=0');">名称核准受理通知书</a>
		<%}else{%>
		&nbsp;&nbsp;名称核准受理通知书
		<%}%>
		</td>
		<td height=30 class="businessTd01">
		名称核准
		</td>
		<td height=30 class="businessTd01Left">
		<%if(!(OBID!=null&&OBID.length()>2&&OBID.startsWith("01"))){%>
		<font class=textWarnPrompt>&nbsp;您只有在选择类型为“名称”的记录时才能查看打印!</font>
		<%}%>
		</td>
	</tr>
	<tr>
		<td height=30 class="businessTd01" style="height:30">
		3
		</td>
		<td height=30 class="businessTd01Left">
		<%if(OBID!=null&&OBID.length()>2&&OBID.startsWith("02")){%>
		&nbsp;&nbsp;<a href="#" title="[开业登记]业务的通知" onclick="openWin('<%=request.getContextPath()%>/BusinessServlet.do?SN=<%=OSN%>&OSN=<%=PubFunc.toShowForm(OSN)%>&BID=<%=OBID%>&OBID=<%=PubFunc.toShowForm(OBID)%>&NBID=<%=OBID%>&SUB=sub01_95&PAGE=001&OPR=0');">公司(企业)登记受理通知书</a>
		<%}else{%>
		&nbsp;&nbsp;公司(企业)登记受理通知书
		<%}%>
		</td>
		<td height=30 class="businessTd01">
		开业登记
		</td>
		<td height=30 class="businessTd01Left">
		<%if(!(OBID!=null&&OBID.length()>2&&OBID.startsWith("02"))){%>
		<font class=textWarnPrompt>&nbsp;您只有在选择类型为“开业登记”的记录时才能查看打印!</font>
		<%}%>
		</td>
	</tr>
	<tr>
		<td height=30 class="businessTd01" style="height:30">
		4
		</td>
		<td height=30 class="businessTd01Left"><br>
		<%if(OBID!=null&&OBID.length()>2&&OBID.startsWith("02")){
		for(i=0;i<requisitionSNList03.size();i++){
		messageInfoModel=(MessageInfoModel)requisitionSNList03.get(i);
		%>
		&nbsp;&nbsp;<a href="#" title="[变更登记]业务的通知" onclick="openWin('<%=request.getContextPath()%>/BusinessServlet.do?SN=<%=messageInfoModel.getSN()%>&OSN=<%=PubFunc.toShowForm(OSN)%>&BID=<%=PubFunc.toShowForm(OBID)%>&OBID=<%=PubFunc.toShowForm(OBID)%>&NBID=03<%=OBID.substring(2,OBID.length())%>&SUB=sub01_95&PAGE=001&OPR=0');">公司(企业)变更受理通知书(第 <%=i+1%> 次变更)</a><br><br>
		<%}
		if(requisitionSNList03.size()==0){%>
		&nbsp;&nbsp;公司(企业)变更受理通知书
		<%}}else{%>
		&nbsp;&nbsp;公司(企业)变更受理通知书
		<%}%>
		</td>
		<td height=30 class="businessTd01">
		变更登记
		</td>
		<td height=30 class="businessTd01Left">
		<%if(!(OBID!=null&&OBID.length()>2&&OBID.startsWith("02"))){%>
		<font class=textWarnPrompt>&nbsp;您只有在选择类型为“开业登记”的记录时才能查看打印!</font>
		<%}else{
			if(requisitionSNList03.size()==0){%>
			<font class="textWarnPrompt">&nbsp;该企业还没有变更业务记录!</font>
			<%}
		%>
		<%}%>
		</td>
	</tr>
	<tr>
		<td height=30 class="businessTd01" style="height:30">
		5
		</td>
		<td height=30 class="businessTd01Left">
		<%if(OBID!=null&&OBID.length()>2&&OBID.startsWith("02")){
		for(i=0;i<requisitionSNList07.size();i++){
		messageInfoModel=(MessageInfoModel)requisitionSNList07.get(i);
		%>
		&nbsp;&nbsp;<a href="#" title="[年检登记]业务的通知"  onclick="openWin('<%=request.getContextPath()%>/BusinessServlet.do?SN=<%=messageInfoModel.getSN()%>&OSN=<%=PubFunc.toShowForm(OSN)%>&BID=07<%=OBID.substring(2,OBID.length())%>&OBID=<%=PubFunc.toShowForm(OBID)%>&SUB=sub01_98&PAGE=001&OPR=0');">限期整改通知书 ( <%=messageInfoModel.getYearCheckupYear()%>  年度)</a><br>
		<%}
			if(requisitionSNList07.size()==0){%>
		&nbsp;&nbsp;限期整改通知书
		<%}}else{%>
		&nbsp;&nbsp;限期整改通知书
		<%}%>
		</td>
		<td height=30 class="businessTd01">
		年检登记
		</td>
		<td height=30 class="businessTd01Left">
		<%if(!(OBID!=null&&OBID.length()>2&&OBID.startsWith("02"))){%>
		<font class=textWarnPrompt>&nbsp;您只有在选择类型为“开业登记”的记录时才能查看打印!</font>
		<%}else{
			if(requisitionSNList07.size()==0){%>
			<font class="textWarnPrompt">&nbsp;该企业还没有年检业务记录!</font>
			<%}
		}%>
		</td>
	</tr>
	<tr>
		<td height=30 class="businessTd01" style="height:30">
		6
		</td>
		<td height=30 class="businessTd01Left">
		<%if(OBID!=null&&OBID.length()>2&&OBID.startsWith("02")){
		for(i=0;i<requisitionSNList07.size();i++){
		messageInfoModel=(MessageInfoModel)requisitionSNList07.get(i);
		%>
		&nbsp;&nbsp;<a href="#" title="[年检登记]业务的通知"  onclick="openWin('<%=request.getContextPath()%>/BusinessServlet.do?SN=<%=messageInfoModel.getSN()%>&OSN=<%=PubFunc.toShowForm(OSN)%>&BID=07<%=OBID.substring(2,OBID.length())%>&OBID=<%=PubFunc.toShowForm(OBID)%>&SUB=sub01_97&PAGE=002&OPR=0');">当场处罚决定书(逾期年检) ( <%=messageInfoModel.getYearCheckupYear()%>  年度)</a><br>
		<%}
		if(requisitionSNList07.size()==0){%>
		&nbsp;&nbsp;当场处罚决定书(逾期年检)
		<%}}else{%>
		&nbsp;&nbsp;当场处罚决定书(逾期年检)
		<%}%>
		</td>
		<td height=30 class="businessTd01">
		年检登记
		</td>
		<td height=30 class="businessTd01Left">
		<%if(!(OBID!=null&&OBID.length()>2&&OBID.startsWith("02"))){%>
		<font class=textWarnPrompt>&nbsp;您只有在选择类型为“开业登记”的记录时才能查看打印!</font>
		<%}else{
			if(requisitionSNList07.size()==0){%>
			<font class="textWarnPrompt">&nbsp;该企业还没有年检业务记录!</font>
			<%}
		}%>
		</td>
	</tr>
	<tr>
		<td height=30 class="businessTd01" style="height:30">
		7
		</td>
		<td height=30 class="businessTd01Left">
		<%if(OBID!=null&&OBID.length()>2&&OBID.startsWith("02")){
		for(i=0;i<requisitionSNList07.size();i++){
		messageInfoModel=(MessageInfoModel)requisitionSNList07.get(i);
		%>
		&nbsp;&nbsp;<a href="#" title="[年检登记]业务的通知"  onclick="openWin('<%=request.getContextPath()%>/BusinessServlet.do?SN=<%=messageInfoModel.getSN()%>&OSN=<%=PubFunc.toShowForm(OSN)%>&BID=07<%=OBID.substring(2,OBID.length())%>&OBID=<%=PubFunc.toShowForm(OBID)%>&SUB=sub01_100&PAGE=005&OPR=0');">当场处罚决定书(简易处罚) ( <%=messageInfoModel.getYearCheckupYear()%>  年度)</a><br>
		<%}
		if(requisitionSNList07.size()==0){%>
		&nbsp;&nbsp;当场处罚决定书(简易处罚)
		<%}}else{%>
		&nbsp;&nbsp;当场处罚决定书(简易处罚)
		<%}%>
		</td>
		<td height=30 class="businessTd01">
		年检登记
		</td>
		<td height=30 class="businessTd01Left">
		<%if(!(OBID!=null&&OBID.length()>2&&OBID.startsWith("02"))){%>
		<font class=textWarnPrompt>&nbsp;您只有在选择类型为“开业登记”的记录时才能查看打印!</font>
		<%}else{
			if(requisitionSNList07.size()==0){%>
			<font class="textWarnPrompt">&nbsp;该企业还没有年检业务记录!</font>
			<%}
		}%>
		</td>
	</tr>
	<tr>
		<td height=30 class="businessTd01" style="height:30">
		8
		</td>
		<td height=30 class="businessTd01Left">
		<%if(OBID!=null&&OBID.length()>2&&OBID.startsWith("02")){
		for(i=0;i<requisitionSNList07.size();i++){
		messageInfoModel=(MessageInfoModel)requisitionSNList07.get(i);
		%>
		&nbsp;&nbsp;<a href="#" title="[年检登记]业务的通知"  onclick="openWin('<%=request.getContextPath()%>/BusinessServlet.do?SN=<%=messageInfoModel.getSN()%>&OSN=<%=PubFunc.toShowForm(OSN)%>&BID=07<%=OBID.substring(2,OBID.length())%>&OBID=<%=PubFunc.toShowForm(OBID)%>&SUB=sub01_93&PAGE=004&OPR=0');">企业网上年检受理通知书 ( <%=messageInfoModel.getYearCheckupYear()%>  年度)</a><br>
		<%}
		if(requisitionSNList07.size()==0){%>
		&nbsp;&nbsp;企业网上年检受理通知书
		<%}}else{%>
		&nbsp;&nbsp;企业网上年检受理通知书
		<%}%>
		</td>
		<td height=30 class="businessTd01">
		年检登记
		</td>
		<td height=30 class="businessTd01Left">
		<%if(!(OBID!=null&&OBID.length()>2&&OBID.startsWith("02"))){%>
		<font class=textWarnPrompt>&nbsp;您只有在选择类型为“开业登记”的记录时才能查看打印!</font>
		<%}else{
			if(requisitionSNList07.size()==0){%>
			<font class="textWarnPrompt">&nbsp;该企业还没有年检业务记录!</font>
			<%}
		}%>
		</td>
	</tr>
	<tr>
		<td height=30 class="businessTd01" style="height:30">
		9
		</td>
		<td height=30 class="businessTd01Left">
		<%if(OBID!=null&&OBID.length()>2&&OBID.startsWith("02")){
		for(i=0;i<requisitionSNList07.size();i++){
		messageInfoModel=(MessageInfoModel)requisitionSNList07.get(i);
		%>
		&nbsp;&nbsp;<a href="#" title="[年检登记]业务的通知"  onclick="openWin('<%=request.getContextPath()%>/BusinessServlet.do?SN=<%=messageInfoModel.getSN()%>&OSN=<%=PubFunc.toShowForm(OSN)%>&BID=07<%=OBID.substring(2,OBID.length())%>&OBID=<%=PubFunc.toShowForm(OBID)%>&SUB=sub01_96&PAGE=003&OPR=0');">企业书式年检受理通知书 ( <%=messageInfoModel.getYearCheckupYear()%>  年度)</a><br>
		<%}
		if(requisitionSNList07.size()==0){%>
		&nbsp;&nbsp;企业书式年检受理通知书
		<%}}else{%>
		&nbsp;&nbsp;企业书式年检受理通知书
		<%}%>
		</td>
		<td height=30 class="businessTd01">
		年检登记
		</td>
		<td height=30 class="businessTd01Left">
		<%if(!(OBID!=null&&OBID.length()>2&&OBID.startsWith("02"))){%>
		<font class=textWarnPrompt>&nbsp;您只有在选择类型为“开业登记”的记录时才能查看打印!</font>
		<%}else{
			if(requisitionSNList07.size()==0){%>
			<font class="textWarnPrompt">&nbsp;该企业还没有年检业务记录!</font>
			<%}
		}%>
		</td>
	</tr>

</table>
<!--结束-->
<br>
<font class="textWarnPrompt">您可以直接点击通知列表增补通知。请您按照通知的具体备注提示查找。</font>
<br>
<br>
<input type="button" name="submit" value="关闭窗口" onclick="window.close();" class="button" onmouseover="this.className='mouseover'" onmouseout="this.className='button'">
</body>
</html>
<%
}catch(Exception e)
{
	Debug.println("page: messgeList.jsp exception:"+e.getMessage());
}
%>

⌨️ 快捷键说明

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