project_deal_approve_info.jsp

来自「java jsp教程」· JSP 代码 · 共 368 行 · 第 1/2 页

JSP
368
字号
<%@ page contentType="text/html;charset=GBK" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ page import="com.icss.cnpc.project.vo.ScriptInfo" %>
<%@ page import="java.util.List" %>
<%
    response.setHeader("Pragma", "No-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setDateHeader("Expires", 0);
%>
<%
	ScriptInfo sInfo = (ScriptInfo)request.getAttribute("scriptInfo");
	List auditedorgs = (List)session.getAttribute(sInfo.getProjectno());
	pageContext.setAttribute("auditedorgs",auditedorgs);
%>	
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/style.css">
<style type="text/css">
<!--
.style1 {font-size: 16px}
.style2 {	font-size: 12px;
	font-weight: bold;
}
.tag1 {
	background-color:#a6d0f2; 
	width:73px; position:absolute; 
	left:0px; 
	top: 24px;
	
	font-weight:300;
	height:15px; 
	border-bottom-color:#FFFFFF; 
	font-size:13px; 
	text-align:center;
	cursor:hand;
}
.tag2 {
	background-color:#EEF4FF; 
	width:73px; position:absolute; 
	left:66px; 
	top: 23px;
	
	font-weight:300;
	height:15px; 
	border-bottom-color:#FFFFFF; 
	font-size:13px; 
	text-align:center;
	cursor:hand;
}
-->
</style>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/xtree.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/xmlextras.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/xloadtree.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/project.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/codeDict.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/common.js"></script>
<script type="text/javascript">
webFXTreeConfig.rootIcon		= "<%=request.getContextPath()%>/images/xp/folder.png";
webFXTreeConfig.openRootIcon	= "<%=request.getContextPath()%>/images/xp/openfolder.png";
webFXTreeConfig.folderIcon		= "<%=request.getContextPath()%>/images/xp/folder.png";
webFXTreeConfig.openFolderIcon= "<%=request.getContextPath()%>/images/xp/openfolder.png";
webFXTreeConfig.fileIcon		= "<%=request.getContextPath()%>/images/xp/file.png";
webFXTreeConfig.lMinusIcon		= "<%=request.getContextPath()%>/images/xp/Lminus.png";
webFXTreeConfig.lPlusIcon		= "<%=request.getContextPath()%>/images/xp/Lplus.png";
webFXTreeConfig.tMinusIcon		= "<%=request.getContextPath()%>/images/xp/Tminus.png";
webFXTreeConfig.tPlusIcon		= "<%=request.getContextPath()%>/images/xp/Tplus.png";
webFXTreeConfig.iIcon			= "<%=request.getContextPath()%>/images/xp/I.png";
webFXTreeConfig.lIcon			= "<%=request.getContextPath()%>/images/xp/L.png";
webFXTreeConfig.tIcon			= "<%=request.getContextPath()%>/images/xp/T.png";
webFXTreeConfig.blankIcon		= "<%=request.getContextPath()%>/images/xp/blank.png";

// Inserts an xml document as a subtree to the provided node
function _xmlFileLoaded(oXmlDoc, jsParentNode) {
	if (jsParentNode.loaded)
		return;

	var bIndent = false;
	var bAnyChildren = false;
	jsParentNode.loaded = true;
	jsParentNode.loading = false;

	// there is one extra level of tree elements
	var root = oXmlDoc.documentElement;

	// loop through all tree children
	var cs = root.childNodes;
	var l = cs.length;
	for (var i = 0; i < l; i++)
	{
		if (cs[i].tagName == "tree")
		{
			if(cs[i].getAttribute("text") == "补列计划")
				continue;
			bAnyChildren = true;
			bIndent = true;
			jsParentNode.add( _xmlTreeToJsTree(cs[i]), true);
		}
	}


	// remove dummy
	if (jsParentNode._loadingItem != null) {
		jsParentNode._loadingItem.remove();
		bIndent = true;
	}

	if (bIndent) {
		// indent now that all items are added
		jsParentNode.indent();
	}

	// show error in status bar
	if (jsParentNode.errorText != "")
		window.status = jsParentNode.errorText;
}
</script>
<c:if test="${param.errCode == '1'}">
<script>	
	window.parent.location.reload();
</script>
</c:if>
<BODY text=#000000 leftMargin=0 background=<%=request.getContextPath()%>/images/grid.gif topMargin=10>
<form name="form1" method="post" action="<%=request.getContextPath()%>/servlet/SaveCognizanceScriptServlet">
<input type="hidden" name="scriptNo" value='<c:out value="${scriptInfo.scriptno}"/>'>
<input type="hidden" name="scripttype" value='<c:out value="${scriptInfo.scripttype}"/>'>
<input type="hidden" name="processtype" value='<c:out value="${scriptInfo.processtype}"/>'>
<input type="hidden" name="check_state" value='<c:out value="${scriptInfo.approvestate}"/>'>
<input type="hidden" name="check_fruittypename" value='<c:out value="${scriptInfo.fruittypename}"/>'>
<!-- 
input type="hidden" name="problemtype" value='<c:out value="${scriptInfo.problemtype}"/>'>
<input type="hidden" name="processtype" value='<c:out value="${scriptInfo.processtype}"/>' -->
<c:if test="${scriptInfo.scripttype != '0' && scriptInfo.scripttype != 'x' && scriptInfo.scripttype != 'y'}">
<br/>
<br/>
	<div  class="tag1" id="s1" onclick="_viewInfo()">审计底稿</div>
	<div  class="tag2" id="s2" onclick="_viewItem()">审计明细</div>
</c:if>
	  		<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0 id="infotable">
              <TBODY>
                <TR>
                  <TD align=middle>
				  <TABLE cellSpacing=1 borderColorDark=#dfdfff cellPadding=2 width="100%" 
						 align=center bgColor=#b3c4db borderColorLight=#003366 border=0>
                      <TBODY>
                        <TR bgcolor="#a6d0f2">
                          <TD align=middle height=26 colspan="4"><div align="center" class="style1">审出问题和纠正情况</div></TD>
                        </TR>
                        <TR onmouseover="this.bgColor='#EBEBEB';" onmouseout="this.bgColor='#EEF4FF';" bgColor=#eef4ff>
	                      <TD height="23" width="19%" align=middle><div align="right">被审计单位:</div></TD>
                          <TD height="23"><c:out value="${scriptInfo.problemorgname}"/></TD>
                          <TD height="23" align="right">问题金额:</TD>
                          <TD height="23">
                          	<fmt:formatNumber pattern=".00"><c:out value="${scriptInfo.problemsum}"/></fmt:formatNumber>
                          </TD>
                        </TR>                     
						 <TR onmouseover="this.bgColor='#EBEBEB';" onmouseout="this.bgColor='#EEF4FF';" bgColor=#eef4ff>
						 <TD height="25" width="19%" align=middle><div align="right">问题摘要:</div></TD>
                          <TD height="25" align=middle >
						    <div align="left"><c:out value="${scriptInfo.problemnote}"/></div></TD>  
                          <TD width="10%" height="23" align=middle><div align="right">问题类别:</div></TD>
                          <TD width="40%" height="23">
                            <!-- 
                              <input name="problemtypename" 
                              value='<c:out value="${scriptInfo.problemtypename}"/>' type="text" id="wtlb" size="25" readonly>
											<c:if test="${scriptInfo.scripttype == '0'||scriptInfo.scripttype == 'x'||scriptInfo.scripttype == 'y'}" >                              
                           		 <img src="<%=request.getContextPath()%>/images/fuction.gif" 
								 width="20" height="15" align="absmiddle" style="cursor:hand;" onClick="showDiv('wtlbdiv')"></c:if>
							 -->
							 <c:out value="${scriptInfo.problemtypename}"/>
						   </TD>						  
					    </TR>                        
                        <TR onmouseover="this.bgColor='#EBEBEB';" onmouseout="this.bgColor='#EEF4FF';" bgColor=#eef4ff>
                          <TD height="25" width="19%" align=middle><div align="right">处理意见:</div></TD>
                          <TD height="25" align=middle>
							<div align="left">
							<textarea cols="25" rows="3" name="processnote" ><c:out value="${scriptInfo.processnote}"/></textarea>(50个字)
                          </div></TD>
						  <td  align="right"><div align="right">处理方式:</div></td>
                          <td >
        					<input name="processtypename" size="25"  onchange="fireChange()" readonly value='<c:out value="${scriptInfo.processtypename}"/>'>
							<img src="<%=request.getContextPath()%>/images/fuction.gif" width="20" align="absmiddle" height="15" style="cursor:hand;" onClick="showDiv('clfsdiv')">
		  				  </td>
                        </TR>
				<!--

⌨️ 快捷键说明

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