project_active.jsp
来自「java jsp教程」· JSP 代码 · 共 306 行
JSP
306 行
<%
/**
* @author liyd
* @desc 财务类证据列表
* 北京中软国际信息技术有限公司 审计事业部
*/
%>
<%@ page contentType="text/html;charset=GBK" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ page import="java.util.*" %>
<HTML><HEAD><TITLE>项目启动</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/style.css">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<style type="text/css">
<!--
.style1 {font-size: 16px}
.style3 {color: #FF0000}
-->
</style></HEAD>
<script type="text/javascript" src="../../js/xtree.js"></script>
<script type="text/javascript" src="../../js/xmlextras.js"></script>
<script type="text/javascript" src="../../js/xloadtree.js"></script>
<script>
function doActive(){
var sForm = document.form1;
if(sForm.activeTime.value == ""){
alert("请选择项目启动时间");
sForm.activeTime.focus();
return;
}
sForm.submit();
}
</script>
<BODY text=#000000 leftMargin=0 background=../images/grid.gif topMargin=10>
<form name="form1" method="post" action="/cnpc/servlet/ProjectActiveServlet">
<input type="hidden" name="cognizance" value="17b0f89d-1063990928a-ef8bef4fd92437cb4e5790a51e360081">
<input type="hidden" name="oldCognizance" value='<c:out value="${appChiefUmpire[0].personid}" />'>
<input type="hidden" name="projLeader" value="17b0f89d-10639926f1a-ef8bef4fd92437cb4e5790a51e360081">
<input type="hidden" name="oldProjLeader" value='<c:out value="${appLeader[0].personid}" />'>
<input type="hidden" name="planNo" value='<c:out value="${planInfo.planno}" />'>
<TABLE cellSpacing=0 borderColorDark=#dfdfff cellPadding=0
width="100%" align=center bordercolorlight="#003366"
border=0>
<TBODY>
<TR>
<TD height=40 align=center bgColor=#F7FAFF> </TD>
</TR>
<TR align="center" valign="middle">
<TD height="143" bgColor=#F7FAFF><TABLE cellSpacing=1 borderColorDark="#dfdfff" cellPadding=2
width="90%" align=center bgColor=#b3c4db
borderColorLight="#003366" border=0>
<TBODY>
<tr bgcolor="#a6d0f2">
<TD height=27 colspan="4" align=left><div align="center" class="unnamed2"><font size="4"><strong>项 目 启 动</strong></font></div></td></tr>
<TR>
<TD width="18%" height=25 align="right" bgColor=#eef4ff class="unnamed1" >
<strong>项目组长</strong>:<span class="style3">*</span>
</TD>
<TD width="33%" height=10 align="left" bgColor=#eef4ff >
<img src="../images/edit.gif" style="cursor:hand" alt="添加参会人,点击名字则将其从名单中删除"
onClick="alert('弹出人员结构树')">
<span id="projLeaderTab"><c:out value="${appLeader[0].personname}" /></span>
<TD width="14%" align="left" bgColor=#eef4ff align="right">
<strong>审理人:</strong> <span class="unnamed1"><span class="style3">*</span></span>
</td>
<TD width="35%" height=10 align="left" bgColor=#eef4ff ><div align="left">
<span class="unnamed1">
<img src="../images/edit.gif" style="cursor:hand" alt="添加参会人,点击名字则将其从名单中删除"
onClick="alert('弹出人员结构树')" border="0">
<span id="projLeaderTab"><c:out value="${appChiefUmpire[0].personname}" /></span>
</span></div>
</TR>
<tr><td height="25" bgcolor="#eef4ff" align="right">
启动时间</strong>:</span></strong></div></td>
<td height="10" bgcolor="#eef4ff">
<input name="activeTime" type="text" size="20" readonly >
<img src="../images/calendar.gif" style="cursor:hand " onClick="popUpCalendarDlg(activeTime)"></td>
<td height="10" bgcolor="#eef4ff"><div align="right"><strong>项目启动:<span class="unnamed1"><span class="style3">*</span></span></strong></div></td>
<td height="10" bgcolor="#eef4ff"><div align="right"><strong></strong></div> <input type="radio" name="active" value="yes" checked>
启动
<input type="radio" name="active" value="no">
不启动</td>
</tr>
<tr>
<td colspan="4" align="center" bgcolor="#eef4ff" height="10">
<img src="../images/confirm.gif" alt="保存" align="absmiddle"
style="cursor:hand" onClick="doActive()">
<img src="../images/return.gif" style="cursor:hand;" align="absmiddle" alt="返回" onClick="window.history.go(-1)">
</td>
</tr>
</TABLE></TD>
</TR>
</TABLE>
</form>
<div id=xmlbdiv style="position:absolute; left:250px; top:177px; width:180px; visibility:hidden; z-index:901; height: 150px;" onmouseover="userMenuVisible2=true" >
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr bgcolor="#EEFFF7">
<td height="150" valign="top">
<script type="text/javascript" src="../../js/xmlb.js"></script>
</td>
</tr>
</table>
</div>
<TABLE cellSpacing=0 borderColorDark=#dfdfff cellPadding=0
width="100%" align=center bordercolorlight="#003366"
border=0>
<TBODY>
<TR align="center" valign="middle">
<TD height="143" bgColor=#F7FAFF><TABLE cellSpacing=1 borderColorDark="#dfdfff" cellPadding=2
width="90%" align=center bgColor=#b3c4db
borderColorLight="#003366" border=0>
<TBODY>
<tr bgcolor="#a6d0f2">
<TD height=27 colspan="4" align=left><div align="center" class="unnamed2"><font size="4"><strong>计 划 信 息</strong></font></div></td>
<TR style="display:block">
<TD width="18%" height=21 align=right bgColor=#eef4ff class="unnamed1">项目计划编号:<strong></strong></TD>
<TD height=21 align=left bgColor=#eef4ff><c:out value="${planInfo.planno}" /></TD>
<TD height=21 align=left bgColor=#eef4ff><div align="right">审计单位:</div></TD>
<TD height=21 align=left bgColor=#eef4ff><div align="left"><c:out value="${planInfo.auditingdeptname}" /></div></TD>
</TR>
<TR>
<TD height=30 align="right" bgColor=#eef4ff class="unnamed1" >项目计划名称:<strong></strong></TD>
<TD height=30 align="left" bgColor=#eef4ff colspan="3"><c:out value="${planInfo.planname}" /><span class="unnamed1"><strong></strong></span>
</TR>
<TR>
<TD height=25 align="right" bgColor=#eef4ff class="unnamed1" >被审计单位:<strong></strong><strong></strong></TD>
<TD width="33%" height=10 align="left" bgColor=#eef4ff ><c:out value="${planInfo.auditedorgname}" />
<TD width="21%" height=10 align="left" bgColor=#eef4ff ><div align="right"><span class="unnamed1">计划类别:</span> </div>
<TD width="28%" height=10 align="left" bgColor=#eef4ff ><c:out value="${planInfo.plantypename}" />
</TR>
<TR>
<TD height=25 align="right" bgColor=#eef4ff class="unnamed1" >项目类别:<strong></strong> </TD>
<TD height=10 align="left" bgColor=#eef4ff ><c:out value="${planInfo.projecttypename}" />
<TD height=10 align="left" bgColor=#eef4ff ><div align="right"><span class="unnamed1">计划开始时间:<strong></strong></span> </div>
<TD height=10 align="left" bgColor=#eef4ff ><c:out value="${planInfo.begaintime}" />
</TR>
<TR>
<TD height=25 align="right" bgColor=#eef4ff class="unnamed1" ><DIV align=right>项目级别:<strong></strong></DIV></TD>
<TD height=10 align="left" bgColor=#eef4ff ><c:out value="${planInfo.projectlevelname}" />
<TD height=10 align="left" bgColor=#eef4ff ><div align="right">计划结束时间:<span class="unnamed1"><strong></strong></span> </div>
<TD height=10 align="left" bgColor=#eef4ff ><c:out value="${planInfo.endtime}" />
</TR>
<TR>
<TD height=25 align="right" bgColor=#eef4ff class="unnamed1" >计划审计费用: </TD>
<TD height=10 align="left" bgColor=#eef4ff ><c:out value="${planInfo.auditingcost}" />
<TD height=10 align="left" bgColor=#eef4ff ><div align="right">审计工作日: </div>
<TD height=10 align="left" bgColor=#eef4ff ><c:out value="${planInfo.plandays}" />
</TR>
<TR>
<TD height=25 align="right" bgColor=#eef4ff class="unnamed1" >计划审核人:</TD>
<TD height=10 align="left" bgColor=#eef4ff ><div align="left"><c:out value="${approvor1[0].personname}" /> </div>
<TD height=10 align="left" bgColor=#eef4ff ><div align="right">计划审批人: </div>
<TD height=10 align="left" bgColor=#eef4ff ><div align="left"><c:out value="${approvor2[0].personname}" /> </div>
</TR>
<TR>
<TD height=25 align="right" bgColor=#eef4ff class="unnamed1" >计划负责人:<strong></strong> </TD>
<TD height=10 align="left" bgColor=#eef4ff >张强
<TD height=10 align="left" bgColor=#eef4ff ><div align="right">计划录入人:</div>
<TD height=10 align="left" bgColor=#eef4ff ><c:out value="${planInfo.creatorname}" />
</TR>
<TR>
<TD height=25 align="right" bgColor=#eef4ff class="unnamed1" >审计组长:</TD>
<TD height=10 align="left" bgColor=#eef4ff > 李长明
<TD height=10 align="left" bgColor=#eef4ff ><div align="right"><span class="unnamed1">审计主审:</span></div>
<TD height=10 align="left" bgColor=#eef4ff >
<span class="style1" ><font color="#33CCCC" title="">☆ </font></span>
<c:out value="${appChiefUmpire[0].personname}" />
</TR>
<TR>
<TD height=25 align="right" bgColor=#eef4ff class="unnamed1" >项目组组员:</TD>
<TD height=10 align="left" bgColor=#eef4ff colspan="3">
<c:forEach var="member" items="${planInfo.teammemberList}">
<span class="style1" ><font color="#33CCCC" title="">☆</font></span>
<c:out value="${member.personname}" />
</c:forEach>
</TR>
<TR>
<TD height=25 align="right" bgColor=#eef4ff class="unnamed1" >备注:</TD>
<TD height=10 align="left" bgColor=#eef4ff colspan="3"><c:out value="${planInfo.memo}" />
</TR>
<c:forEach var="appRecord" items="${planInfo.approveRecordList}">
<TR>
<TD height=25 align="right" bgColor=#eef4ff class="unnamed1" >审核意见:</TD>
<TD height=10 align="left" bgColor=#eef4ff><c:out value="${appRecord.approvenote}" />
<TD height=10 align="left" bgColor=#eef4ff><div align="right">审核结果:</div>
<TD height=10 align="left" bgColor=#eef4ff>
<c:if test="${appRecord.approveresult == 0}">不通过</c:if>
<c:if test="${appRecord.approveresult == 1}">通过</c:if>
</TR>
</c:forEach>
</TABLE></TD>
</TR>
</TABLE>
</form>
<script>
function hidejhlbtype()
{
// document.getElementById("jhlbdiv").style.display="block";
}
function selectxmlbtype()
{
var x = event.clientX;
var y = event.clientY;
document.all.xmlbdiv.style.posLeft=x-45;
document.all.xmlbdiv.style.posTop=y-100;
document.all.xmlbdiv.style.visibility="visible";
document.getElementById("xmlbdiv").style.display="block";
}
function selecttype()
{
var x = event.clientX;
var y = event.clientY;
//alert('x-'+x+',y-'+y);
document.all.jhlbdiv.style.posLeft=x-45;
document.all.jhlbdiv.style.posTop=y-100;
//document.all.adminMenuDiv.style.position="absolute; left:"+x+";top:"+y+";width:110;visibility:hidden;z-index:901";
document.all.jhlbdiv.style.visibility="visible";
document.getElementById("jhlbdiv").style.display="block";
}
function popUpCalendarDlg(ctrlobj) {
showx = event.screenX - event.offsetX - 4 - 210 ; // + deltaX;
showy = event.screenY - event.offsetY + 18; // + deltaY;
newWINwidth = 210 + 4 + 18;
retval = window.showModalDialog("../include/date.htm", "", "dialogWidth:220px; dialogHeight:220px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; status:no; directories:yes;scroll:no;Resizable:no; " );
if( retval != null ){
ctrlobj.value = retval;
}
}
function delPerson()
{
alert("将其从项目组成员中删除");
}
function fanhui()
{
window.location.href="../auditplan_modify.html";
}
function save()
{
window.location.href="../auditplan_modify.html";
}
function selectClass()
{
}
function testWordVersion(){
if (window.top.wordVersion) return;
var wdApp;
try{
wdApp = new ActiveXObject("Word.Application");
window.top.wordVersion=wdApp.Version;
}catch(e){
window.top.wordVersion = "0";
}finally{
if(wdApp){
wdApp.Quit(0);
}
}
}
function funFlowModifyFile(uuid)
{
if(window.top.wordVersion.indexOf("9.0") == 0){
flowModifyFile(WebWord,uuid);
}else if(window.top.wordVersion.indexOf("8.0") == 0){
flowModifyFile(WebWord97,uuid);
}else{
flowModifyFile(WebWord,uuid);
}
}
function flowModifyFile(object,uuid)
{
object.SetData("","||");
object.IsFullURL="1";
object.Upload="1";
object.Download="1";
object.HttpDownloadURL="<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/servlet/ExportDocServlet?materialMod=2"+"&materialID="+uuid;
object.HttpUploadURL="<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/servlet/ExportDocServlet?materialMod=2"+"&materialID="+uuid;
object.createFile();
return true;
}
function active() {
if(document.form1.teamLeader.value == "") {
alert("项目组长不能为空");
return;
}
if( document.form1.activeTime.value=="") {
alert("请指定项目启动时间");
return;
}
window.location="project_frame.htm";
}
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?