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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="SearchWorkList.aspx.cs" Inherits="Work_SearchWorkList" %>
  2. <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  4. <html>
  5. <head>
  6.     <link href="../css/main.css" type="text/css" rel="stylesheet">
  7. </head>
  8. <script>
  9. function delete_form(flow_id)
  10. {
  11.  msg='确认要删除该流程么?n这将删除以下数据:nn1、流程描述与步骤设置n2、依托于该流程的所有工作';
  12.  if(window.confirm(msg))
  13.  {
  14.   URL="type_delete.aspx?flow_id="+flow_id+"&sort_id=1";
  15.   window.location=URL;
  16.  }
  17. }
  18. function empty_form(flow_id)
  19. {
  20.  msg='确认要清空依托于该流程的所有工作数据么?';
  21.  if(window.confirm(msg))
  22.  {
  23.   URL="type_empty.aspx?flow_id="+flow_id+"&sort_id=1";
  24.   window.location=URL;
  25.  }
  26. }
  27. function flow_design(flow_id)
  28. {
  29.    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");
  30. }
  31. </script>
  32.   <SCRIPT language="JavaScript" src="../js/calendar.js"></SCRIPT>
  33. <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
  34. <form runat="server" id="fm1">
  35.     <br>
  36.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  37.         border="0">
  38.         <tr>
  39.             <th colspan="3" style="height: 25px">
  40.                 查询条件</th>
  41.         </tr>
  42.                <tr>
  43.             <td class="usertablerow2" align="center" style="height: 32px;" colspan="2">
  44.                 运行状态:<asp:DropDownList ID="KeyValue_YXZT" runat="server">
  45.                     <asp:ListItem>运行中</asp:ListItem>
  46.                     <asp:ListItem>结束</asp:ListItem>
  47.                     <asp:ListItem>销毁</asp:ListItem>
  48.                 </asp:DropDownList>
  49.                 工作流名称:<asp:DropDownList ID="KeyValue_LCFL" runat="server">
  50.                 </asp:DropDownList>
  51.                 开始时间:<asp:TextBox ID="DateTimeTextBox1" runat="server" onblur="IsDate(this)" onclick="calendar()"
  52.                     Width="104px"></asp:TextBox>
  53.                 <img align="absMiddle" border="0" src="../images/calendar.gif" style="cursor: hand" />
  54.                 结束时间:<asp:TextBox ID="DateTimeTextBox2" runat="server" onblur="IsDate(this)" onclick="calendar()"
  55.                     Width="105px"></asp:TextBox>
  56.                 <img align="absMiddle" border="0" src="../images/calendar.gif" style="cursor: hand" />
  57.                 用户:<asp:TextBox ID="KeyValue_YHMC" runat="server" Width="105px"></asp:TextBox>流水号:<asp:TextBox
  58.                     ID="RunID_TextBox" runat="server" Width="55px"></asp:TextBox>
  59.                 <asp:Button ID="Button1" runat="server" CssClass="ptsbutton" OnClick="Button1_Click"
  60.                     Text="查询" /></td>
  61.         </tr>
  62.      
  63.     </table>
  64.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  65.         border="0">
  66.         <tr>
  67.             <th colspan="3" style="height: 25px">
  68.                 查询结果</th>
  69.         </tr>
  70.                <tr>
  71.             <td class="usertablerow2" align="left" style="height: 32px;" colspan="2">
  72.           
  73.                
  74.                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="usertableborder"
  75.                     OnRowDataBound="GridView1_RowDataBound" PageSize="20" Width="100%">
  76.                     <Columns>
  77.                         <asp:BoundField DataField="ID" HeaderText="流水号" >
  78.                            <ItemStyle HorizontalAlign="Center" />
  79.                         </asp:BoundField>
  80.                                     <asp:TemplateField HeaderText="工作名称">
  81.                             <HeaderStyle Width="150px" />
  82.                             <ItemTemplate>
  83.                                 <%#LiuCheng()%>
  84.                             </ItemTemplate>
  85.                             <ItemStyle HorizontalAlign="Center" />
  86.                         </asp:TemplateField>  
  87.                              <asp:BoundField DataField="FQSJ" HeaderText="开始时间">                        
  88.                             <ItemStyle HorizontalAlign="Center" />
  89.                         </asp:BoundField>   
  90.                               <asp:BoundField DataField="FQR" HeaderText="发起人">                        
  91.                             <ItemStyle HorizontalAlign="Center" />
  92.                         </asp:BoundField>  
  93.                               <asp:BoundField DataField="YXZT" HeaderText="运行状态">                        
  94.                             <ItemStyle HorizontalAlign="Center" />
  95.                         </asp:BoundField>  
  96.                       <asp:TemplateField HeaderText="操作">
  97.                             <HeaderStyle Width="200px" />
  98.                             <ItemTemplate>
  99.                                 <%#CaoZuo()%>
  100.                             </ItemTemplate>
  101.                             <ItemStyle HorizontalAlign="Center" />
  102.                         </asp:TemplateField>           </Columns>
  103.                     <RowStyle CssClass="usertablerow2" />
  104.                     <AlternatingRowStyle CssClass="usertablerow1" />
  105.                 </asp:GridView>
  106.              <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging">
  107.                 </webdiyer:AspNetPager>  
  108.             </td>
  109.         </tr>
  110.      
  111.     </table>
  112.     <br>
  113.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  114.         border="0">
  115.         <tr>
  116.             <th colspan="2">
  117.                 使用方法</th>
  118.         </tr>
  119.         <tr>
  120.             <td class="usertablerow1" align="right" width="11%">
  121.                 <strong>特殊说明</strong></td>
  122.             <td class="usertablerow1" width="89%">
  123.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  124.         </tr>
  125.     </table>
  126.     </form>
  127.     
  128. </body>
  129. </html>