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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WorkNewList.aspx.cs" Inherits="Work_WorkNewList" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <html>
  4. <head>
  5.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  6. </head>
  7. <script>
  8. function delete_form(flow_id)
  9. {
  10.  msg='确认要删除该流程么?n这将删除以下数据:nn1、流程描述与步骤设置n2、依托于该流程的所有工作';
  11.  if(window.confirm(msg))
  12.  {
  13.   URL="type_delete.aspx?flow_id="+flow_id+"&sort_id=1";
  14.   window.location=URL;
  15.  }
  16. }
  17. function empty_form(flow_id)
  18. {
  19.  msg='确认要清空依托于该流程的所有工作数据么?';
  20.  if(window.confirm(msg))
  21.  {
  22.   URL="type_empty.aspx?flow_id="+flow_id+"&sort_id=1";
  23.   window.location=URL;
  24.  }
  25. }
  26. function flow_design(flow_id)
  27. {
  28.    window.open("Design/WorkFlowFormDesign.htm?flow_id="+flow_id,"flow_design","height=600,width=800,status=1,toolbar=no,menubar=no,location=no,scrollbars=yes,top=10,left=10,resizable=yes");
  29. }
  30. </script>
  31.   <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
  32. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  33. <form runat="server" id="fm1">
  34.     <br>
  35.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  36.         border="0">
  37.         <tr>
  38.             <th colspan="3" style="height: 25px">
  39.                 新建工作流</th>
  40.         </tr>
  41.                <tr>
  42.             <td class="usertablerow2" align="left" style="height: 32px;" colspan="2">
  43.                
  44.                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="usertableborder"
  45.                     OnRowDataBound="GridView1_RowDataBound" PageSize="20" Width="100%">
  46.                     <Columns>
  47.                         <asp:BoundField DataField="ID" HeaderText="序号" />
  48.                           <asp:BoundField DataField="LCMC" HeaderText="工作流名称">                        
  49.                             <ItemStyle HorizontalAlign="Center" />
  50.                         </asp:BoundField>   
  51.                         <asp:BoundField DataField="ID" DataFormatString="&lt;a href=&quot;WorkFlowView.aspx?lcid={0}&quot; target=&quot;_Blank&quot;&gt;查看&lt;/a&gt;"
  52.                             HeaderText="办事流程" HtmlEncode="False">
  53.                             <ItemStyle HorizontalAlign="Center" />
  54.                         </asp:BoundField>
  55.                            <asp:BoundField DataField="ID" DataFormatString="&lt;a href=&quot;WorkFlowPICView.aspx?lcid={0}&quot; target=&quot;_Blank&quot;&gt;浏览&lt;/a&gt;"
  56.                             HeaderText="流程图" HtmlEncode="False">
  57.                             <ItemStyle HorizontalAlign="Center" />
  58.                         </asp:BoundField>
  59.                                     <asp:TemplateField HeaderText="表单">
  60.                             <HeaderStyle Width="150px" />
  61.                             <ItemTemplate>
  62.                                 <%#BiaoDan()%>
  63.                             </ItemTemplate>
  64.                             <ItemStyle HorizontalAlign="Center" />
  65.                         </asp:TemplateField>    
  66.                              <asp:TemplateField HeaderText="流程分类">
  67.                             <HeaderStyle Width="150px" />
  68.                             <ItemTemplate>
  69.                                 <%#LiuCheng()%>
  70.                             </ItemTemplate>
  71.                             <ItemStyle HorizontalAlign="Center" />
  72.                         </asp:TemplateField>   
  73.              
  74.                         
  75.                       <asp:TemplateField HeaderText="操作">
  76.                             <HeaderStyle Width="200px" />
  77.                             <ItemTemplate>
  78.                                 <%#CaoZuo()%>
  79.                             </ItemTemplate>
  80.                             <ItemStyle HorizontalAlign="Center" />
  81.                         </asp:TemplateField>           </Columns>
  82.                     <RowStyle CssClass="usertablerow2" />
  83.                     <AlternatingRowStyle CssClass="usertablerow1" />
  84.                 </asp:GridView>
  85.          
  86.             </td>
  87.         </tr>
  88.      
  89.     </table>
  90.     <br>
  91.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  92.         border="0">
  93.         <tr>
  94.             <th colspan="2">
  95.                 使用方法</th>
  96.         </tr>
  97.         <tr>
  98.             <td class="usertablerow1" align="right" width="11%">
  99.                 <strong>特殊说明</strong></td>
  100.             <td class="usertablerow1" width="89%">
  101.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  102.         </tr>
  103.     </table>
  104.     </form>
  105.     
  106. </body>
  107. </html>