📄 showdetail.jsp
字号:
<%@ page contentType="text/html; charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.recordset.DetailRecordSet,cn.com.aheadsoft.util.StringFormat" %>
<%@ page import="java.util.Properties"%>
<%@ page import="cn.com.aheadsoft.recordset.ProjectRecordSet,cn.com.aheadsoft.recordset.DetailRecordSet,cn.com.aheadsoft.recordset.YearAimRecordSet,cn.com.aheadsoft.recordset.PersonInfoRecordSet,cn.com.aheadsoft.recordset.PlanRecordSet,cn.com.aheadsoft.recordset.DeptInfoRecordSet,java.util.StringTokenizer,java.util.ArrayList,java.util.List,cn.com.aheadsoft.util.StringFormat,cn.com.aheadsoft.util.UserInfo,cn.com.aheadsoft.manage.UserPurviewManage" %>
<%@ page import="cn.com.aheadsoft.business.PersonInfoBusiness, cn.com.aheadsoft.recordset.PersonInfoRecordSet"%>
<%@ page import="java.util.Properties,cn.com.aheadsoft.recordset.TaskLevelRecordSet,cn.com.aheadsoft.business.TaskLevelBusiness"%>
<%
DetailRecordSet set = (DetailRecordSet) request.getAttribute("result");
// added by wjant 2004.3.20
String isproblem = request.getParameter("isproblem");
set.next();
String D_Serial = set.getD_Serial();
%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/a6oa.css">
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<title>任务详细信息
</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<SCRIPT language=JavaScript>
function change_style(info){
var lastchoose = document.task.lastinfo.value;
if(lastchoose == "basic"){
document.getElementById("font_basic").style.fontWeight="";
document.getElementById("basic").style.backgroundColor="#ADD7FF";
document.getElementById("form_basic").style.display="none";
document.getElementById("basic").style.borderBottomColor="#FFFFFF";
}
if(lastchoose == "aim"){
document.getElementById("font_aim").style.fontWeight="";
document.getElementById("aim").style.backgroundColor="#ADD7FF";
document.getElementById("form_aim").style.display="none";
document.getElementById("aim").style.borderBottomColor="#FFFFFF";
}
if(lastchoose == "plan"){
document.getElementById("font_plan").style.fontWeight="";
document.getElementById("plan").style.backgroundColor="#ADD7FF";
document.getElementById("form_plan").style.display="none";
document.getElementById("plan").style.borderBottomColor="#FFFFFF";
}
if(lastchoose == "proccess"){
document.getElementById("font_proccess").style.fontWeight="";
document.getElementById("proccess").style.backgroundColor="#ADD7FF";
document.getElementById("form_proccess").style.display="none";
document.getElementById("proccess").style.borderBottomColor="#FFFFFF";
}
if(lastchoose == "problem"){
document.getElementById("font_problem").style.fotWeight="";
document.getElementById("problem").style.backgroundColor="#ADD7FF";
document.getElementById("form_problem").style.display="none";
document.getElementById("problem").style.borderBottomColor="#FFFFFF";
}
if(lastchoose == "attach"){
document.getElementById("font_attach").style.fotWeight="";
document.getElementById("attach").style.backgroundColor="#ADD7FF";
document.getElementById("form_attach").style.display="none";
document.getElementById("attach").style.borderBottomColor="#FFFFFF";
}
if(lastchoose == "memo"){
document.getElementById("font_memo").style.fontWeight="";
//change backgroundcolor
document.getElementById("memo").style.backgroundColor="#ADD7FF";
//change display
document.getElementById("form_memo").style.display="none";
//change borderbottomcolor
document.getElementById("memo").style.borderBottomColor="#FFFFFF";
}
if(info == "basic"){
document.getElementById("font_basic").style.fontWeight="bold";
document.getElementById("basic").style.backgroundColor="#E7F3FF";
document.getElementById("form_basic").style.display="";
document.getElementById("basic").style.borderBottomColor="#C0C0C0";
document.task.basicinfo.focus();
}
if(info == "aim"){
document.getElementById("font_aim").style.fontWeight="";
document.getElementById("aim").style.backgroundColor="#E7F3FF";
document.getElementById("form_aim").style.display="";
document.getElementById("aim").style.borderBottomColor="#C0C0C0";
}
if(info == "plan"){
document.getElementById("font_plan").style.fontWeight="";
document.getElementById("plan").style.backgroundColor="#E7F3FF";
document.getElementById("form_plan").style.display="";
document.getElementById("plan").style.borderBottomColor="#C0C0C0";
}
if(info == "proccess"){
document.getElementById("font_proccess").style.fontWeight="";
document.getElementById("proccess").style.backgroundColor="#E7F3FF";
document.getElementById("form_proccess").style.display="";
document.getElementById("proccess").style.borderBottomColor="#C0C0C0";
}
if(info == "problem"){
document.getElementById("font_problem").style.fotWeight="";
document.getElementById("problem").style.backgroundColor="#E7F3FF";
document.getElementById("form_problem").style.display="";
document.getElementById("problem").style.borderBottomColor="#C0C0C0";
}
if(info == "attach"){
document.getElementById("font_attach").style.fotWeight="";
document.getElementById("attach").style.backgroundColor="#E7F3FF";
document.getElementById("form_attach").style.display="";
document.getElementById("attach").style.borderBottomColor="#C0C0C0";
}
if(info == "memo"){
document.getElementById("font_memo").style.fontWeight="";
document.getElementById("memo").style.backgroundColor="#E7F3FF";
document.getElementById("form_memo").style.display="";
document.getElementById("memo").style.borderBottomColor="#C0C0C0";
document.task.remark.focus();
}
document.task.lastinfo.value = info;
}
function logintoproblem() {
document.getElementById("font_basic").style.fontWeight="";
document.getElementById("basic").style.backgroundColor="#ADD7FF";
document.getElementById("form_basic").style.display="none";
document.getElementById("basic").style.borderBottomColor="#FFFFFF";
document.getElementById("font_aim").style.fontWeight="";
document.getElementById("aim").style.backgroundColor="#ADD7FF";
document.getElementById("form_aim").style.display="none";
document.getElementById("aim").style.borderBottomColor="#FFFFFF";
document.getElementById("font_plan").style.fontWeight="";
document.getElementById("plan").style.backgroundColor="#ADD7FF";
document.getElementById("form_plan").style.display="none";
document.getElementById("plan").style.borderBottomColor="#FFFFFF";
document.getElementById("font_proccess").style.fontWeight="";
document.getElementById("proccess").style.backgroundColor="#ADD7FF";
document.getElementById("form_proccess").style.display="none";
document.getElementById("proccess").style.borderBottomColor="#FFFFFF";
document.getElementById("font_problem").style.fotWeight="";
document.getElementById("problem").style.backgroundColor="#E7F3FF";
document.getElementById("form_problem").style.display="";
document.getElementById("problem").style.borderBottomColor="#C0C0C0";
document.getElementById("font_attach").style.fotWeight="";
document.getElementById("attach").style.backgroundColor="#ADD7FF";
document.getElementById("form_attach").style.display="none";
document.getElementById("attach").style.borderBottomColor="#FFFFFF";
document.getElementById("font_memo").style.fontWeight="";
//change backgroundcolor
document.getElementById("memo").style.backgroundColor="#ADD7FF";
//change display
document.getElementById("form_memo").style.display="none";
//change borderbottomcolor
document.getElementById("memo").style.borderBottomColor="#FFFFFF";
document.task.lastinfo.value = "problem";
}
function login(){
document.getElementById("font_basic").style.fontWeight="bold";
document.getElementById("basic").style.backgroundColor="#E7F3FF";
document.getElementById("form_basic").style.display="";
document.getElementById("basic").style.borderBottomColor="#C0C0C0";
document.getElementById("font_aim").style.fontWeight="";
document.getElementById("aim").style.backgroundColor="#ADD7FF";
document.getElementById("form_aim").style.display="none";
document.getElementById("aim").style.borderBottomColor="#FFFFFF";
document.getElementById("font_plan").style.fontWeight="";
document.getElementById("plan").style.backgroundColor="#ADD7FF";
document.getElementById("form_plan").style.display="none";
document.getElementById("plan").style.borderBottomColor="#FFFFFF";
document.getElementById("font_proccess").style.fontWeight="";
document.getElementById("proccess").style.backgroundColor="#ADD7FF";
document.getElementById("form_proccess").style.display="none";
document.getElementById("proccess").style.borderBottomColor="#FFFFFF";
document.getElementById("font_problem").style.fotWeight="";
document.getElementById("problem").style.backgroundColor="#ADD7FF";
document.getElementById("form_problem").style.display="none";
document.getElementById("problem").style.borderBottomColor="#FFFFFF";
document.getElementById("font_attach").style.fotWeight="";
document.getElementById("attach").style.backgroundColor="#ADD7FF";
document.getElementById("form_attach").style.display="none";
document.getElementById("attach").style.borderBottomColor="#FFFFFF";
document.getElementById("font_memo").style.fontWeight="";
//change backgroundcolor
document.getElementById("memo").style.backgroundColor="#ADD7FF";
//change display
document.getElementById("form_memo").style.display="none";
//change borderbottomcolor
document.getElementById("memo").style.borderBottomColor="#FFFFFF";
document.task.basicinfo.focus();
}
</SCRIPT>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td width="100%" valign="top" style="BORDER-TOP: #ffffff 1px solid">
<form method="post" name="task">
<input type="hidden" name="lastinfo" value="basic">
<table border="1" width="100%" cellspacing="0" bordercolor="#c0c0c0" cellpadding="0">
<tr> <td align=center height=25 id=basic
style="BORDER-BOTTOM: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid"
width="14%" valign="bottom" onclick='javascript:change_style("basic");'>
<font id=font_basic><a href="#">基本信息</a></font>
</td>
<td align=center height=25 id=aim
style="BORDER-BOTTOM: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid"
width="14%" valign="bottom" onclick='javascript:change_style("aim");'>
<font id=font_aim><a href="#">实施目标</a></font>
</td>
<td align=center height=25 id=plan
style="BORDER-BOTTOM: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid"
width="14%" valign="bottom" onclick='javascript:change_style("plan");'>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -