shoucang.aspx
上传用户:lishan0805
上传日期:2019-12-08
资源大小:12048k
文件大小:5k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="shoucang.aspx.cs" Inherits="gxxz_shoucang" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html>
  4. <head>
  5. <title></title>
  6. <script type="text/vbscript">
  7. function tof_Click()
  8. if document.all("tof").checked Then
  9.     document.all("his").style.display="inline"
  10. Else
  11.     document.all("his").style.display="none"
  12. End IF
  13. end function
  14. </script>
  15. <style type="text/css">
  16. <!--
  17. .tx1 {height: 20px; width: 30px; font-size: 9pt; border: 1px solid; border-color: black black #000000; color: #0000FF}
  18. .tx {height: 16px; width: 30px; border-color: black black #000000; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 1px; border-left-width: 0px; font-size: 9pt; background-color: #eeeeee; color: #0000FF}
  19. -->
  20. </style>
  21. <link href="../css/link.css" rel="stylesheet" type="text/css"/>
  22. <link href="../css/textarea.css" rel="stylesheet" type="text/css"/>
  23. <style type="text/css">
  24. <!--
  25. .style6 {
  26. color: #FFFFFF;
  27. font-weight: bold;
  28. }
  29. .style9 {font-size: 12px}
  30. .style10 {color: #FFFFFF}
  31. .style13 {color: #000000}
  32. -->
  33. </style>
  34. </head>
  35. <body>
  36. <div align="center">
  37.   <table width="75%" border="0" cellspacing="0" cellpadding="0">
  38.     <tr>
  39.       <td>
  40.   <div class="RoundedCorner"> 
  41.     <div align="center"><b class="rtop"><b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b></b> <span class="style1">收 藏 共 享</span></div>
  42.   </div>
  43.   </td>
  44.     </tr>
  45.   </table>
  46. </div>
  47. <div align="center">
  48.   <table width="75%" border="0" cellpadding="0" cellspacing="1" bgcolor="#5AAE18">
  49.     <tr>
  50.       <td bgcolor="#FFFFFF">
  51.       <form action="shoucangpost.aspx" method="post" name="form1">
  52.         <table width="99%" border="0" cellpadding="3" cellspacing="0" bgcolor="#399CA0">
  53.           <tr bgcolor="#FFFFFF">
  54.             <td height="8" colspan="2"></td>
  55.             </tr>
  56.             <%
  57.                  int fid=Int32.Parse( this.Request.Params["id"]);
  58.                  string filename=this.Request.Params["n"];
  59.                  COM.OA.Entity.files f = COM.OA.BLL.filesBLL.Select(fid);
  60.                  int start = f.f_filename.LastIndexOf(".") + 1;
  61.                  string hz = f.f_filename.Substring(start);
  62.                  string imgPath = "../gxxz/img/icon/"+hz+".gif";
  63.                  COM.OA.Entity.users u = (COM.OA.Entity.users)Session["loginuser"];
  64.                  
  65.             %>
  66.           <tr bgcolor="#FFFFFF">
  67.             <td><div align="right">接收人:</div></td>
  68.             <td width="511"><select name="bumen" id="bumen" >
  69.                 <option value="<%=u.department.dept_id %>" selected="selected"><%=u.department.dept_department %></option>
  70.               </select>
  71.                 <select name="city" id="city" >
  72.                   <option value="<%=u.employee.em_id %>" selected="selected"><%=u.employee.em_name %></option>
  73.                 </select>
  74.                 </td>
  75.           </tr>
  76.           <tr bgcolor="#FFFFFF">
  77.             <td rowspan="2"><div align="right">文 件:</div></td>
  78.             <td >&nbsp;<img src='<%=imgPath %>'>&nbsp;<a href="" target="_blank" title=""><%=filename %></a>
  79.             <input type="hidden" id="filename" name="filename" value="<%=filename %>" />
  80.             <input type="hidden" id="f_id" name="f_id" value="<%=f.f_id %>"/>
  81.                                     </td>
  82.             
  83.           </tr>
  84.           <tr bgcolor="#FFFFFF">
  85.             <td>
  86.                 &nbsp;&nbsp;
  87.               <div id="his" style="display:none" >
  88.                 <textarea name="fuyan" cols="44" rows="5" id="fuyan"></textarea>
  89.                 <br/>
  90.                 <a href="javascript:SummaryFromText()"></a><br/>
  91. &nbsp;<a href="javascript:change(document.all.fuyan,-20)"><img src="../gxxz/img/minus.gif" border="0" title="缩小文本框"></a>&nbsp;&nbsp;<a href="javascript:change(document.all.fuyan,20)"><img src="../gxxz/img/plus.gif" border="0" title="放大文本框"></a></div></td>
  92.           </tr>
  93.           <tr bgcolor="#FFFFFF">
  94.             <td width="69"><div align="center"></div></td>
  95.             <td><input name="submit" type="submit" id="submit" style="FONT-SIZE: 12px; HEIGHT: 27px"  value= " 收 藏 " />
  96.            
  97.             <input name="按钮" type="button" style="FONT-SIZE: 12px; HEIGHT: 27px"   onclick="javascript:history.go(-1)" value= " 取 消 " />
  98.             <input type="checkbox" name="tof" id="" onclick="tof_Click()" />
  99.             <span class="style13">附言</span><span class="bg"> <img alt="" src="../gxxz/img/sjyf.gif" width="11" height="18"/></span></td>
  100.           </tr>
  101.           <tr bgcolor="#FFFFFF">
  102.             <td colspan="2"></td>
  103.           </tr>
  104.         </table>
  105.         </form></td>
  106.     </tr>
  107.   </table>
  108. </div>
  109. </body>
  110. </html>