📄 modi_rc.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<jsp:useBean id="userinfo" scope="session" class="cn.com.aheadsoft.util.UserInfo"/>
<%@ page import="cn.com.aheadsoft.business.ClendarItemBusiness" %>
<%@ page import="cn.com.aheadsoft.recordset.ClendarItemRecordSet" %>
<%@ page import="cn.com.aheadsoft.util.StringFormat" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>修改日程</title>
</head>
<link href="/krm/jsp/css/a6oa.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
<tr height="8">
<td class="trA"> 您的位置:工作日记 >> 日程安排 >><font class="fontcolor"> 修改日程安排</font></td>
</tr>
<tr height="8">
<td></td>
</tr>
<tr>
<td align="center" >
<form name="form1" method="post" action="/krm/servlet/clendarservlet">
<table width="98%" border="0" cellpadding="1" cellspacing="1" >
<tr>
<td align="center" class="tdA">
<%
String sche_id=request.getParameter("sche_id");
String sche_date=request.getParameter("sche_date");
ClendarItemRecordSet clendarrecordset = new ClendarItemRecordSet();
ClendarItemBusiness business = new ClendarItemBusiness();
business.setQueryWhereForID(sche_id);
int num = business.execute("query");
clendarrecordset = business.getClendarItemRecordSet();
if(clendarrecordset != null && clendarrecordset.size() > 0) {
while(clendarrecordset.next()) {
%>
<%= StringFormat.Source2GB(clendarrecordset.getCAL_date()) %>
<%
String phase = StringFormat.Source2GB(clendarrecordset.getCAL_phase());
if(phase.equals("1morning")) {
out.print("上午");
}
if(phase.equals("2afternoon")) {
out.print("下午");
}
if(phase.equals("2night")) {
out.print("晚上");
}
%></td></tr>
<tr>
<td ><table align="center" width="100%" height="25" border="0" cellpadding="1" cellspacing="1">
<tr >
<td width="100" height="25" class="common bgcolor">
<div align="left"> 内容</div></td>
<td class="common">
<input name="content" class="biglong" type="text" size="60" value="<%= StringFormat.Source2GB(clendarrecordset.getCAL_content()) %>"></td>
</tr>
<tr >
<td height="25" class="common bgcolor">
<div align="left"> 地点</div></td>
<td class="common">
<input name="place" type="text" class="biglong" size="60" value="<%= StringFormat.Source2GB(clendarrecordset.getCAL_place()) %>"></td>
</tr>
<tr >
<td height="25" class="common bgcolor">
<div align="left"> 备注</div></td>
<td>
<textarea name="sche_memo" cols="60" rows="6" style="overflow:auto" ><%= StringFormat.Source2GB(clendarrecordset.getCAL_memo()) %></textarea></td>
</tr>
<tr >
<td height="25" colspan="2" class="tdC">
<div align="center">
<input type="hidden" name="sche_id" value="<%= StringFormat.Source2GB(clendarrecordset.getCAL_ID()) %>">
<input type="hidden" name="sche_date" value="<%= StringFormat.Source2GB(clendarrecordset.getCAL_date()) %>">
<input type="hidden" name="date_phase" value="<%= StringFormat.Source2GB(clendarrecordset.getCAL_phase()) %>">
<input type="Hidden" name="status" value="u">
<input name="imageField" type="submit"onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" value="提 交">
<input name="button" type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="history.back(1);" value="返 回" >
</div></td>
</tr>
</table></td>
</tr>
</table>
</form>
<%
}
}
%>
<br> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -