📄 adddailyarragement.jsp
字号:
<%@page language="java" contentType="text/html;charset=GBK"%>
<%@page import="java.util.*,java.text.*,oa.main.DealString"%>
</script>
<br><br>
<TABLE WIDTH="95%" BORDER=0 CELLSPACING=1 CELLPADDING=0 ALIGN=center bgcolor="#ffffff" style="word-break:break-all;">
<!---hr noshade color="yellow"--->
<col width="55%"><col width="45%">
<TR CLASS=p9 valign=middle>
<TD ALIGN=center BGCOLOR=#cc99cc nowrap height=25>
<FONT COLOR=#ffffff size=3> <b>日程安排</b></FONT>
</TD>
</TR>
</TABLE>
<TABLE WIDTH="95%" BORDER=0 CELLSPACING=0 CELLPADDING=3 ALIGN=center style="table-layout:fixed;word-break:break-all;">
<tr bgcolor="#E7E7E7">
<td width="15%" align=right>日程标题:</td>
<td width="50%" ><input type="text" size="51" value="" name="txtBT" maxlength=50>(最大长度50)</td>
</tr>
<tr bgcolor="#E7E7E7">
<td align=right valign=top>日程内容:</td>
<td width="50%" ><textarea name="txtNR" cols="50" rows="15" class=textarea1 onchange="return temp();"></textarea>(最大长度500)</td>
</tr>
<tr bgcolor="#E7E7E7">
<td align=right>日程时间:</td>
<td >
<input type="text" name="arraytime" size="47" value="<%//=jiebanriqi%>" readonly>
<a href="#" title="点击修改预警时间" onClick="fPopUpDlg('calendar.htm',document.all.arraytime,'winpop',172,230);return false;">
<img src="../images/DATETIME.GIF">
</a>
</td>
</tr>
<tr bgcolor="#E7E7E7">
<td align=right>是否提醒:</td>
<td >
<input type=radio name="tx" value="yes" checked>是
<input type=radio name="tx" value="no">否</td>
</tr>
<tr bgcolor="#E7E7E7">
<td align=right>提醒时间:</td>
<td >
<input type="text" name="txtime" size="47" value="<%//=jiebanriqi%>" readonly>
<a href="#" title="点击修改预警时间" onClick="fPopUpDlg('calendar.htm',document.all.txtime,'winpop',172,230);return false;">
<img src="../images/DATETIME.GIF">
</a>
</td>
</tr>
<tr bgColor="#cc99cc" height=25><TD align=center colspan=2>
<input type="button" value="提交" class=fashion onmouseover="msover();" onmouseout="msout();" onclick="return toServlet()">
<input type="button" value="返回" class=fashion onmouseover="msover();" onmouseout="msout();"onclick="javascript:history.back();">
</td>
</tr>
</TABLE>
<script>
function toServlet()
{
if(document.all.txtNR.value.length>500){
alert("超出最大范围!");
return false;
}
if(document.all.txtBT.value=="")
{ alert("日程安排标题不能为空!"); return false; }
if(document.all.tx[0].checked==true && document.all.txtime.value=="")
{ alert("请选择提醒时间!"); return false; }
if(document.all.tx[1].checked==true && document.all.txtime.value!="")
{ alert("请确定是否设置提醒时间!"); return false; }
document.all.txt_type.value = "2"; //个人日程安排表
document.all.txt_edit.value = "1";
document.all.form1.action="../../PerSvlt";
document.all.form1.submit();
return false;
}
function temp()
{
var leng = document.all.txtNR.value.length;
if(leng>500)
{
alert("超出最大范围!");
return false;
}
return true;
}
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -