ShowCahier.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:7k
源码类别:
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 intCahierID = m_request.GetInt("ID");
- if(intCahierID < 1)
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("请选择正确的会议纪要!");
- history.back();
- </script>
- <%
- }
- else
- {
- Vector vt = CahierManager.getRecordByID(intCahierID);
- 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="/Calendar/PopUpCalendarDlg.js"></SCRIPT>
- <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"><p> </p><p><strong>查看会议纪要信息</strong></p>
- <table border="1" 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>
- <%
- Vector vtApply = BoardroomApplyManager.getRecordByApplyed(Integer.parseInt(((Vector)vt.get(0)).get(1).toString()));
- if (vtApply.size() > 0)
- {
- for (int i = 0; i < vtApply.size(); i++)
- {
- if (((Vector)vtApply.get(i)).get(0).toString().equalsIgnoreCase(((Vector)vt.get(0)).get(1).toString()))
- out.println(((Vector)vtApply.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>
- <%
- Vector vtBoardroom = BoardroomManager.getAllRecord();
- if (vtBoardroom.size() > 0)
- {
- for (int i = 0; i < vtBoardroom.size(); i++)
- {
- if (((Vector)vtBoardroom.get(i)).get(0).toString().equalsIgnoreCase(((Vector)vt.get(0)).get(8).toString()))
- out.println(((Vector)vtBoardroom.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>
- <%=((Vector)vt.get(0)).get(2).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议名称:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=((Vector)vt.get(0)).get(3).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">开始时间:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%java.util.Date t_Date = new java.util.Date();%>
- <%=StringNew.GetDateString(((Vector)vt.get(0)).get(4).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>
- <%=StringNew.GetDateString(((Vector)vt.get(0)).get(4).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>
- <%=((Vector)vt.get(0)).get(6).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">参会用户:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=((Vector)vt.get(0)).get(9).toString()%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">会议说明:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=((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>
- <%=DepartmentManager.getDepartNamesByIDs(((Vector)vt.get(0)).get(14).toString())%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">允许查看的员工:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=UserManager.getPersonnelNamesByUserIDs(((Vector)vt.get(0)).get(13).toString())%>
- </td>
- </tr>
- <tr>
- <td width="100" align="right" valign="middle">附 件:</td>
- <td valign="middle" align="left">
- <%
- Vector vArticle = ArticleAttManager.getAttInfo(intCahierID,"CahierInfo");
- if (vArticle.size() > 0)
- {
- for (int j = 0;j < vArticle.size();j++)
- {
- out.println("<a href="" + ((Vector)vArticle.get(j)).get(2).toString() + "" target="_blank">" + ((Vector)vArticle.get(j)).get(1).toString() + "</a><br>");
- }
- }
- %>
- </td>
- </tr><!--
- <tr>
- <td width="100" align="right" valign="middle"><font color="#0A0A0A">纪要主题:</font></td>
- <td colspan="3" align="left" valign="middle" nowrap>
- <%=((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>
- <%=((Vector)vt.get(0)).get(12).toString()%>
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle"> </td>
- <td colspan="3" align="right" valign="middle" nowrap>
- <input type="button" value="关闭" onclick="self.close();">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
- </html>
- <%
- }
- else
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("该记录已经被删除或者您没有权限查看此记录!");
- history.back();
- </script>
- <%
- }
- }
- %>