WorkAdd.aspx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:10k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeFile="WorkAdd.aspx.cs" Inherits="Work_WorkAdd" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />  
  6.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  7. </head>
  8.   <script>
  9.   function GetMyValue(contrlname,myvalue)
  10.   {
  11.    if(typeof(myvalue)=="undefined")
  12.    {}
  13.    else
  14.    {
  15.    document.getElementById(contrlname).value+=myvalue+',';
  16.    }
  17.   }
  18.   function clr(contrlname)
  19.   {
  20.    document.getElementById(contrlname).value='';
  21.   }
  22. function SetWinHeight(obj)
  23. {
  24. var win=obj;
  25. if (document.getElementById)
  26. {
  27. if (win && !window.opera)
  28. {
  29.    if (win.contentDocument && win.contentDocument.body.offsetHeight) 
  30.      win.height = win.contentDocument.body.offsetHeight; 
  31.    else if(win.Document && win.Document.body.scrollHeight)
  32.      win.height = win.Document.body.scrollHeight;
  33. }
  34. }
  35. }
  36.   </script>
  37.   
  38.   <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
  39. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  40. <form runat="server" id="fm1">
  41.     <br>
  42.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  43.         border="0">
  44.         <tr>
  45.             <th colspan="3" style="height: 25px">
  46.                 工作新建</th>
  47.         </tr>
  48.                <tr>
  49.             <td class="usertablerow2" align="left" style="height: 32px;" colspan="2">
  50.                 <table align="center" bgcolor="#FFFFFF" border="0" cellpadding="2" cellspacing="1"
  51.                     class="small" width="90%">
  52.                <tr>
  53.                         <td class="usertablerow1" nowrap="nowrap" valign="top">
  54.                             下一步骤:</td>
  55.                         <td class="usertablerow2" style="width: 515px"><asp:DropDownList ID="KeyValue_XYBID"   runat="server" Width="113px" AutoPostBack="True" OnSelectedIndexChanged="KeyValue_XYBID_SelectedIndexChanged">
  56.                         </asp:DropDownList>
  57.       </td>
  58.                     </tr>
  59.           <tr>
  60.                         <td class="usertablerow2" nowrap="nowrap">
  61.                             选择下一步审查人员:</td>
  62.                         <td class="usertablerow2" style="width: 515px"><asp:DropDownList ID="KeyValue_YQLSCCBZRY"   runat="server" Width="113px">
  63.                         </asp:DropDownList>
  64.                            </td>
  65.                     </tr>
  66.                     <tr>
  67.                         <td class="usertablerow2" colspan="2">
  68.                            <iframe id="WorkFlowForm_HTML" name="WorkFlowForm_HTML"  style="float: left; margin: 0px 0 0 0; border-right-style: none; border-left-style: none; background-color: transparent; border-bottom-style: none;" src="FormContent.aspx?form_id=<%=BiaoDanSelect%>&step_id=<%=StepID%>" width="100%"
  69.  type="text/x-scriptlet" scrolling="no"  frameborder="0" onload="Javascript:SetWinHeight(this)"></iframe>
  70.                         <input type="hidden" id="PenCONTENT" name="PenCONTENT" runat="server" value=""/> <input type="hidden" id="CONTENT" name="CONTENT" runat="server" value=""/></td>
  71.                     </tr>
  72.                           
  73.                 </table>
  74.                 <br />
  75.                 <table align="center" bgcolor="#000000" border="0" cellpadding="3" cellspacing="1"
  76.                     class="small" width="90%">
  77.                     <tr>
  78.                         <th class="usertablerow2" colspan="2" nowrap="nowrap">
  79.                             <img align="absMiddle" src="../images/plus.gif" />
  80.                             <b>会签意见区</b></th>
  81.                     </tr>
  82.                                       <tr>
  83.                         <td class="usertablerow2" nowrap="nowrap" align="right" style="width: 98px">
  84.                             附件上传:</td>
  85.                         <td class="usertablerow2" style="width: 515px">
  86.                             <asp:FileUpload ID="KeyValue_FJPath" runat="server" />为了安全起见,多文件请采用压缩rar形式</td>
  87.                     </tr>
  88.                                             <tr>
  89.                         <td class="usertablerow2" nowrap="nowrap" align="right" style="height: 51px; width: 98px;">
  90.                             我的意见:</td>
  91.                         <td class="usertablerow2" style="width: 515px; height: 51px;">
  92.                             <asp:TextBox ID="MyIdea" runat="server" Height="51px" Width="201px"></asp:TextBox></td>
  93.                     </tr>
  94.                                             <tr>
  95.                         <td class="usertablerow2" nowrap="nowrap" align="right" style="width: 98px">
  96.                             意见签名:</td>
  97.                         <td class="usertablerow2" style="width: 515px"><iframe id="WorkFlowPen_HTML" name="WorkFlowPen_HTML"  style="float: left; margin: 0px 0 0 0; border-right-style: none; border-left-style: none; background-color: transparent; border-bottom-style: none; width: 80%;" src="Pen.aspx" width="100%"
  98.  type="text/x-scriptlet" scrolling="no"  frameborder="0" onload="Javascript:SetWinHeight(this)">
  99.                         </iframe>
  100.                             </td>
  101.                     </tr>
  102.                          <tr>
  103.                         <th class="usertablerow2" colspan="2">
  104.                             <img align="absMiddle" src="../images/plus.gif" />
  105.                             流程步骤属性</th>
  106.                     </tr>
  107.            
  108.                              <tr>
  109.                         <td class="usertablerow2" nowrap="nowrap" style="height: 24px; width: 98px;" align="right">
  110.                             步骤名称:</td>
  111.                         <td class="usertablerow2" style="height: 24px; width: 515px;">
  112.                          <asp:Label ID="KeyValue_BZMC" runat="server" ></asp:Label></td>
  113.                     </tr>
  114.                     <tr>
  115.                         <td class="usertablerow1" nowrap="nowrap" align="right" style="width: 98px">
  116.                             流程名称:</td>
  117.                         <td class="usertablerow1" style="width: 515px">
  118.                             <asp:Label ID="KeyValue_LCMC" runat="server" ></asp:Label>
  119.                         </td>
  120.                     </tr>
  121.            
  122.              
  123.          
  124.                                   <tr>
  125.                         <td class="usertablerow2" nowrap="nowrap" align="right" style="width: 98px">
  126.                             本步骤顺序号:</td>
  127.                         <td class="usertablerow2" style="width: 515px">
  128.                             <asp:Label ID="KeyValue_BZSXH" runat="server"></asp:Label></td>
  129.                     </tr>
  130.         
  131.                <tr>
  132.                         <td class="usertablerow1" nowrap="nowrap" style="height: 24px; width: 98px;" align="right">
  133.                             流程分类:</td>
  134.                         <td class="usertablerow1" style="height: 24px; width: 515px;">
  135.                             <asp:DropDownList ID="KeyValue_LCFL" runat="server" Enabled="false">
  136.                             </asp:DropDownList></td>
  137.                     </tr>
  138.                                <tr>
  139.                         <td class="usertablerow2" nowrap="nowrap" align="right" style="width: 98px">
  140.                             表单名称:</td>
  141.                         <td class="usertablerow2" style="width: 515px"><asp:DropDownList ID="KeyValue_BDID"  Enabled="false" runat="server">
  142.                         </asp:DropDownList></td>
  143.                     </tr>
  144.                     <tr>
  145.                              <td class="usertablerow2" nowrap="nowrap" align="right" style="width: 98px">
  146.                                  提示:</td>
  147.                         <td class="usertablerow2" style="width: 515px">
  148.                             <asp:CheckBox ID="CheckBox_Tel" runat="server" Text="发送短信到手机" /></td>
  149.                     </tr>
  150.                     <tr>
  151.                         <td class="usertablerow2" nowrap="nowrap" style="width: 98px">
  152.                             
  153.                         </td>
  154.                         <td align="middle" class="usertablerow2" nowrap="nowrap">
  155.                         <a href="WorkFlowView.aspx?lcid=<%=LiuChengID %>" target="_blank">
  156.                                 <img align="absMiddle" border="0" height="13" src="../images/arrow_down.gif" width="11" /><span
  157.                                     style="color: #0000ff; text-decoration: underline">查看流程细节 </span></a>&nbsp;       <a href="WorkFlowPICView.aspx?lcid=<%=LiuChengID %>" target="_blank">
  158.                                 <img align="absMiddle" border="0" height="13" src="../images/arrow_down.gif" width="11" /><span
  159.                                     style="color: #0000ff; text-decoration: underline">查看流程图 </span></a>
  160.                         </td>
  161.                     </tr>
  162.                 </table>
  163.               
  164.               
  165.                
  166.        
  167.          
  168.             </td>
  169.         </tr>
  170.         <tr>
  171.             <td align="center" class="usertablerow1" colspan="2">
  172.                 &nbsp; &nbsp;<asp:Button ID="Button1" runat="server" CssClass="ptsbutton" OnClick="Button1_Click"
  173.                     Text="新建工作" OnClientClick="document.getElementById('CONTENT').value=document.frames['WorkFlowForm_HTML'].document.body.innerHTML;document.getElementById('PenCONTENT').value=document.frames['WorkFlowPen_HTML'].document.getElementById('test').innerHTML" />
  174.                         &nbsp;&nbsp;
  175.                         <input type="Button"  Class="ptsbutton" value="返回" OnClick="javascript:history.go(-1);" /><div id="Div2">
  176.                                 </div>   </td>
  177.          
  178.         </tr>
  179.      
  180.     </table>
  181.     <br>
  182.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  183.         border="0">
  184.         <tr>
  185.             <th colspan="2">
  186.                 使用方法</th>
  187.         </tr>
  188.         <tr>
  189.             <td class="usertablerow1" align="right" width="11%">
  190.                 <strong>特殊说明</strong></td>
  191.             <td class="usertablerow1" width="89%">
  192.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  193.         </tr>
  194.     </table>
  195.     </form>
  196.     
  197. </body>
  198. </html>