BoardroomConfirm.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:9k
源码类别:
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 intBoardroomApplyID = m_request.GetInt("ID");
- int intUserID = m_session.GetInt("UserID");
- if(intBoardroomApplyID < 1)
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("请选择正确的会议申请,修改失败!");
- history.back();
- </script>
- <%
- }
- else
- {
- Vector vt = BoardroomApplyManager.getRecordByID(intBoardroomApplyID);
- 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">
- <script language="JavaScript" src="/js/changestyle.js"></script>
- <style type="text/css">
- <!--
- .imgtd {
- border: 1px solid #0A0A0A;
- }
- -->
- </style>
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td height="50" valign="top" background="../images/dy-back.gif">
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr valign="middle">
- <td width="61" align="center" height="20"><img src="../images/dy-01.gif" width="38" height="36"></td>
- <td width="118" nowrap="nowrap" valign="middle"><strong><font color="#000000">新增名片</font></strong></td>
- <td align="right" nowrap="nowrap" valign="bottom">
- <!-- 群增<img src="../images/MulAdd.gif" onMouseOver="this.src='../images/MulAdd_a.gif';" onMouseOut="this.src='../images/MulAdd.gif';" border="0" height="22" width="59"> -->
- <!--单增<img src="../images/Single.gif" onMouseOver="this.src='../images/Single_a.gif';" onMouseOut="this.src='../images/Single.gif';" border="0" height="22" width="59"> -->
- <!-- 修改<img src="../images/Update.gif" onMouseOver="this.src='../images/Update_a.gif';" onMouseOut="this.src='../images/Update.gif';" border="0" height="22" width="59"> -->
- <!-- 删除<img src="../images/Del.gif" onMouseOver="this.src='../images/Del_a.gif';" onMouseOut="this.src='../images/Del.gif';" border="0" height="22" width="59"> -->
- <!-- 查看<img src="../images/Query.gif" onMouseOver="this.src='../images/Query_a.gif';" onMouseOut="this.src='../images/Query.gif';" border="0" height="22" width="59"> -->
- <!-- 组合查询<img src="../images/GroupQuery.gif" onMouseOver="this.src='../images/GroupQuery_a.gif';" onMouseOut="this.src='../images/GroupQuery.gif';" border="0" height="22" width="79"> -->
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table><br>
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top"><p> </p><p><strong>会议申请审批</strong></p>
- <form name="EditBoardroomApply" action="BoardroomConfirmAction.jsp" method="post" >
- <table border="0" cellpadding="0" cellspacing="0" width="90%">
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议主题:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="ID" type="hidden" value="<%=((Vector)vt.get(0)).get(0).toString()%>">
- <input type="hidden" name="Title" value="<%=((Vector)vt.get(0)).get(1).toString()%>">
- <%=((Vector)vt.get(0)).get(1).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">参会人数:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input type="hidden" name="PersonnelAmount" value="<%=((Vector)vt.get(0)).get(11).toString()%>">
- <%=((Vector)vt.get(0)).get(11).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">会 议 室:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input type="hidden" name="BoardroomID" value="<%=((Vector)vt.get(0)).get(10).toString()%>">
- <%
- Vector vBoardroom = BoardroomManager.getAllRecord();
- if (vBoardroom.size() > 0)
- {
- for (int i = 0; i < vBoardroom.size(); i++)
- {
- if (Integer.parseInt(((Vector)vBoardroom.get(i)).get(0).toString()) == (Integer.parseInt(((Vector)vt.get(0)).get(10).toString())))
- out.println(((Vector)vBoardroom.get(i)).get(1).toString());
- }
- }
- %>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">预计开始时间:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input type="hidden" name="PlanStartTime" value="<%=((Vector)vt.get(0)).get(2).toString()%>">
- <%=StringNew.GetDateString(((Vector)vt.get(0)).get(2).toString(),"yyyy年MM月dd HH时mm分")%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">预计结束时间:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input type="hidden" name="PlanEndTime" value="<%=((Vector)vt.get(0)).get(3).toString()%>">
- <%=StringNew.GetDateString(((Vector)vt.get(0)).get(3).toString(),"yyyy年MM月dd HH时mm分")%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">申请人:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input type="hidden" name="ApplyUserID" value="<%=((Vector)vt.get(0)).get(4).toString()%>">
- <%=UserManager.getPersonnelNameByUserID(Integer.parseInt(((Vector)vt.get(0)).get(4).toString()))%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">申请时间:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input type="hidden" name="ApplyTime" value="<%=((Vector)vt.get(0)).get(5).toString()%>">
- <%=StringNew.GetDateString(((Vector)vt.get(0)).get(5).toString(),"yyyy年MM月dd HH时mm分")%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">审批意见:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input name="ConfirmUserID" type="hidden" value="<%=intUserID%>">
- <%java.util.Date t_Date = new java.util.Date();%>
- <input name="ConfirmTime" type="hidden" value="<%=StringNew.GetDateString(t_Date,"yyyy-MM-dd HH:mm:ss")%>">
- <input type="radio" name="IsConfirmed" value="1" <%=((Vector)vt.get(0)).get(6).toString().equalsIgnoreCase("True")?"checked":""%>>同意
- <input type="radio" name="IsConfirmed" value="0" <%=!((Vector)vt.get(0)).get(6).toString().equalsIgnoreCase("True")?"checked":""%>>不同意
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">审批信息:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <input type="text" name="ConfirmInfo" value="<%=((Vector)vt.get(0)).get(9).toString()%>" size="50">
- </td>
- </tr>
- <%if (!((Vector)vt.get(0)).get(8).toString().equalsIgnoreCase(""))
- {%>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">审批人:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=UserManager.getPersonnelNameByUserID(Integer.parseInt(((Vector)vt.get(0)).get(7).toString()))%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">审批时间:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=StringNew.GetDateString(((Vector)vt.get(0)).get(8).toString(),"yyyy年MM月dd日 HH时mm分")%>
- </td>
- </tr>
- <%}%>
- <tr>
- <td align="right" valign="middle"> </td>
- <td colspan="3" align="left" valign="middle" nowrap> </td>
- </tr>
- <tr>
- <td align="right" valign="middle"> </td>
- <td colspan="3" align="center" valign="middle" nowrap>
- <input name="button" type="submit" value="确定">
-
- <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>
- <%
- }
- }
- %>