📄 editback.jsp
字号:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="java.util.*,java.text.*,oa.main.DealString"%>
<jsp:useBean id="pb" class="oa.main.ParentBean" scope="page"/>
<jsp:useBean id="psbean" class="oa.bean.PersonBean" scope="page"/>
<%@include file="../../../inc.jsp"%>
<%
try{
String uid = (String)session.getAttribute("zgbh");
if(uid==null)
{
response.sendRedirect("../../session_oa.htm");
return;
}
DealString ds = new DealString();
//取出当前人的职工编号
String person_ID = ds.toString((String)session.getAttribute("zgbh"));
Vector vect = new Vector();
String noticeId = ds.toString(request.getParameter("noticeId"));//通知id
String noticeMen_Id = ds.toString(request.getParameter("noticeMen_Id"));//通知接收人表的id
String sql1 = "select ID,RECEIVER,READTIME,ISREAD,REBACK from HG2_MEET_NOTICEMEN where ID="+noticeMen_Id;
vect = pb.getDataBySql(sql1);
String zgbh= (String)((Hashtable)vect.get(0)).get("RECEIVER");//职工编号
String zgxm = psbean.getZgName(zgbh);//职工姓名
String strREADTIME= (String)((Hashtable)vect.get(0)).get("READTIME");
String strISREAD= (String)((Hashtable)vect.get(0)).get("ISREAD");
if(strISREAD!=null && strISREAD.equals("1"))strISREAD = "是";
else strISREAD = "否";
String strREBACK= (String)((Hashtable)vect.get(0)).get("REBACK");
String sql2 = "select TITLE from HG2_MEET_NOTICE where ID="+noticeId;
vect = pb.getDataBySql(sql2);
String title = (String)((Hashtable)vect.get(0)).get("TITLE");
%>
<HTML>
<head><title>会议通知</title>
<link href="../../css/person.css" type=text/css rel=stylesheet>
<script language="javascript" src="../scripts/department.js"></script>
<script src="Popup.js"></script>
</head>
<BODY leftMargin=0 topMargin=0 >
<br> <font color="#505050" size=2>当前位置:会议管理>><a href="list.jsp">会议通知</a></font>
<div align=center>
<font color="#666666" size=3><b>反馈意见<b></font>
</div>
<br>
<form name=form1 action="" method=post>
<table border="1" width="95%" align=center cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#A5BEE0" >
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>会议通知标题:</td>
<td width="85%" > <a href="read.jsp?id=<%=noticeId%>"><u><%=title%></u></a></td>
</tr>
<tr bgcolor="#ffffff" height=25>
<td width="15%" align=right>姓名:</td>
<td width="85%" > <%=zgxm%></td>
</tr>
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>是否阅读:</td>
<td width="85%" > <%=strISREAD%></td>
</tr>
<tr bgcolor="#ffffff" height=25>
<td width="15%" align=right>发表反馈时间:</td>
<td width="85%" > <input type="text" name="addtime" maxlength=20 size="20" class=text value="<%=strREADTIME%>" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 12px;BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0" readonly>
<!-- <a href="#" title="点击修改预警时间" onClick="fPopUpDlg('calendar.htm',document.all.addtime,'winpop',172,230);return false;">
<img src="../../images/DATETIME.GIF" border=0>
-->
</td>
</tr>
<tr bgcolor="#E0E0E0" height=25>
<td width="15%" align=right>反馈意见:</td>
<td width="85%" ><br> <textarea name="txt_yj" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 12px;BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0" rows=10 cols=40 <%if(person_ID!=null && !zgbh.equals(person_ID)){%>readonly<%}%>><%=strREBACK%></textarea>(最多200字)<br><br></td>
</tr>
<tr bgcolor="#ffffff" height=25>
<td colspan=2 align=center>
<%if(person_ID!=null && zgbh.equals(person_ID)){%>
<input type="button" value="提交" name="baocun" onclick="toact1()" style="background-color: #ffffff;cursor:hand;" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 12px;BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0">
<%}%>
<%if(person_ID!=null && !zgbh.equals(person_ID)){%>
<input type="button" value="返回" name="fanhui" onclick="history.back()" style="background-color: #ffffff;cursor:hand;" style="color: #000000; background-color: #FFFFFF;font-family:宋体; font-size: 12px;BORDER-RIGHT: 1px solid #A5BEE0; BORDER-TOP: 1px solid #A5BEE0; BORDER-LEFT: 1px solid #A5BEE0; BORDER-BOTTOM: 1px solid #A5BEE0"><%}%>
</td>
</tr>
</table>
</form>
</BODY>
</HTML>
<script language=javascript>
function toact1()
{
document.all.form1.action="action.jsp?action=opinion&id=<%=noticeId%>¬iceMenId=<%=noticeMen_Id%>";
document.all.form1.submit();
}
function onButton_OK(oList){
var strNames="";
var strValues="";
for(var i=0;i<oList.length;i++){
strNames+=oList.options[i].text;
strNames+=",";
strValues+=oList.options[i].value;
strValues+=";";
}
document.all.txt_receiver.value = strValues;
}
function openWns(url,name){
var hWnd=window.open(url,name,'left=100,top=50,width=460,height=490');
hWnd.focus();
}
</script>
<%}finally{
if(pb!=null)
pb.closeConn();
if(psbean!=null)
psbean.closeConn();
}%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -