CalendarPlansLink.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:5k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
- <jsp:include page="/CheckLogin.jsp" flush="true"/> <% Session m_session = new Session(session); %>
- <%
- Request m_request = new Request(request);
- int intCalendarPlansID = m_request.GetInt("ID");
- if(intCalendarPlansID<1)
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("请选择正确的日程计划,查看资料失败!");
- history.back();
- </script>
- <%
- }
- else
- {
- int intUserID = m_session.GetInt("UserID");
- Vector vt = CalendarPlansManager.getRecordByID(intCalendarPlansID,intUserID);
- if(vt.size()==1)
- {
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
- <title>日程计划-- GForce OA 2.0</title>
- <link href="../css/txt.jsp" rel="stylesheet" type="text/css">
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
- <table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td align="center" valign="top">
- <table width="95%" border="0" cellpadding="0" cellspacing="5">
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">计划主题:</font></td>
- <td align="left" valign="middle"> <%=((Vector)vt.get(0)).get(2).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">计划内容:</font></td>
- <td align="left" valign="middle"> <%=((Vector)vt.get(0)).get(3).toString()%></td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">增加日期:</font></td>
- <td align="left" valign="middle"> <%=StringNew.GetDateString(((Vector)vt.get(0)).get(4).toString(),"yyyy-MM-dd")%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">计划开始时间:</font></td>
- <td align="left" valign="middle"> <%=StringNew.GetDateString(((Vector)vt.get(0)).get(5).toString(),"yyyy-MM-dd")%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">计划结束时间:</font></td>
- <td align="left" valign="middle"> <%=StringNew.GetDateString(((Vector)vt.get(0)).get(6).toString(),"yyyy-MM-dd")%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">实际开始时间:</font></td>
- <td align="left" valign="middle"> <%=StringNew.GetDateString(((Vector)vt.get(0)).get(7).toString(),"yyyy-MM-dd")%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">实际结束时间:</font></td>
- <td align="left" valign="middle"> <%=StringNew.GetDateString(((Vector)vt.get(0)).get(8).toString(),"yyyy-MM-dd")%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">重要等级:</font></td>
- <td align="left" valign="middle"> <%=((Vector)vt.get(0)).get(9).toString()%>级
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">提醒时间间隔:</font></td>
- <td align="left" valign="middle"> <%=((Vector)vt.get(0)).get(10).toString()%>小时</td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">是否公开:</font></td>
- <td align="left" valign="middle">
- <%
- if(((Vector)vt.get(0)).get(11).toString().equalsIgnoreCase("true"))
- out.print("完成");
- else
- out.print("未完成");
- %>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap><font color="#0A0A0A">备注:</font></td>
- <td align="left" valign="middle"> <%=((Vector)vt.get(0)).get(12).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap> </td>
- <td align="left" valign="middle"> </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle" nowrap> </td>
- <td align="right" valign="middle">
- <input type="button" value="关闭" onclick="window.close()">
- </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>
- <%
- }
- else
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("该记录已经被删除或者您没有权限查看此记录,查看资料失败!");
- history.back();
- </script>
- <%
- }
- }
- %>