📄 moddailyarragement.jsp
字号:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="java.util.*,java.text.*,oa.main.DealString"%>
<%
oa.bean.dailyArragement myBean = null;
try{
myBean = new oa.bean.dailyArragement();
if(myBean.getConn()==null)
{
%>
数据库无法响应,请<a href="javascript:window.history.back(-1);">返回</a>重试
<%out.close();
}
DealString ds = new DealString();
//职工人员编号
String strPersonNo = ds.toString((String)request.getParameter("txt_personno"));
String strRCXH = ds.toString((String)request.getParameter("txt_rcxh"));
Hashtable hash = myBean.getOneData(strPersonNo,strRCXH);
String strBT = (String)hash.get("BT");
String strSJ = (String)hash.get("SJ");
String strTXSJ = (String)hash.get("TXSJ");
String strSFTX = (String)hash.get("SFTX");
String strNR = (String)hash.get("NR");
String tempstr = "";
%>
<TABLE WIDTH="100%" BORDER=0 CELLSPACING=1 CELLPADDING=0 ALIGN=center>
<TR CLASS=p9 valign=middle>
<TD ALIGN=center nowrap height=20>
<b>修改信息</b>
</TD>
</TR>
</TABLE>
<TABLE WIDTH="100%" BORDER=0 CELLSPACING=0 CELLPADDING=3 ALIGN=center style="table-layout:fixed;word-break:break-all;">
<tr height=22 >
<td width="30%" align=right>标题:</td>
<td width="50%" align=left><input type="text" size="30" value="<%=strBT%>" name="txtBT" class=txtframe></td>
</tr>
<tr>
<td width="30%" align=right>内容:</td>
<td width="50%"><textarea name="txtNR" cols="30" rows="15"><%=strNR%></textarea></td>
</tr>
<tr>
<td width="30%" align=right>时间:</td>
<td >
<input type="text" name="arraytimemod" size="20" value="<%=strSJ%>" readonly>
<a href="#" title="点击修改时间" onClick="fPopUpDlg('calendar.htm',document.all.arraytimemod,'winpop',172,230);return false;">
<img src="../images/DATETIME.GIF">
</a>
</td>
</tr>
<input type=hidden name="txmod" value="no">
<input type="hidden" name="txtimemod" size="20" value="<%=tempstr%>" readonly>
</TABLE>
<table id="t1" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" height="2">
<tr height="22">
<td align=center>
<input type="button" value="提交" class=fashion onmouseover="msover();" onmouseout="msout();" onclick="return toServlet1(<%=strRCXH%>)">
<input type="button" value="返回" class=fashion onmouseover="msover();" onmouseout="msout();"onclick="javascript:history.back();">
</td>
</tr>
</table>
<script>
function toServlet1(rcxh)
{
if(document.all.txtBT.value=="")
{ alert("标题不能为空!"); return false; }
document.all.txt_type.value = "2";
document.all.txt_edit.value = "2";
//document.all.txt_rcxh.value = rcxh;
document.all.form1.action="../../PerSvlt";
document.all.form1.submit();
}
</script>
<%}catch(Exception e){}
finally{
if(myBean!=null)myBean.closeConn();
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -