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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="WorkList.aspx.cs" Inherits="Work_WorkList" %>
  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="left" style="height: 32px;" colspan="2">
  44.           
  45.                
  46.                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CssClass="usertableborder"
  47.                     OnRowDataBound="GridView1_RowDataBound" PageSize="20" Width="100%">
  48.                     <Columns>
  49.                         <asp:BoundField DataField="ID" HeaderText="流水号" >
  50.                            <ItemStyle HorizontalAlign="Center" />
  51.                         </asp:BoundField>
  52.                                     <asp:TemplateField HeaderText="工作名称">
  53.                             <HeaderStyle Width="150px" />
  54.                             <ItemTemplate>
  55.                                 <%#LiuCheng()%>
  56.                             </ItemTemplate>
  57.                             <ItemStyle HorizontalAlign="Center" />
  58.                         </asp:TemplateField>  
  59.                              <asp:BoundField DataField="FQSJ" HeaderText="开始时间">                        
  60.                             <ItemStyle HorizontalAlign="Center" />
  61.                         </asp:BoundField>   
  62.                               <asp:BoundField DataField="FQR" HeaderText="发起人">                        
  63.                             <ItemStyle HorizontalAlign="Center" />
  64.                         </asp:BoundField>  
  65.                                       <asp:TemplateField HeaderText="已用时间">
  66.                             <HeaderStyle/>
  67.                             <ItemTemplate>
  68.                                 <%# HaoFeiShiJian()%>
  69.                             </ItemTemplate>
  70.                             <ItemStyle HorizontalAlign="Center" />
  71.                         </asp:TemplateField>  
  72.             
  73.                               <asp:BoundField DataField="YXZT" HeaderText="运行状态">                        
  74.                             <ItemStyle HorizontalAlign="Center" />
  75.                         </asp:BoundField>  
  76.                       <asp:TemplateField HeaderText="操作">
  77.                             <HeaderStyle Width="200px" />
  78.                             <ItemTemplate>
  79.                                 <%#CaoZuo()%>
  80.                             </ItemTemplate>
  81.                             <ItemStyle HorizontalAlign="Center" />
  82.                         </asp:TemplateField>           </Columns>
  83.                     <RowStyle CssClass="usertablerow2" />
  84.                     <AlternatingRowStyle CssClass="usertablerow1" />
  85.                 </asp:GridView>
  86.              <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging">
  87.                 </webdiyer:AspNetPager>  
  88.             </td>
  89.         </tr>
  90.      
  91.     </table>
  92.     <br>
  93.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  94.         border="0">
  95.         <tr>
  96.             <th colspan="2">
  97.                 使用方法</th>
  98.         </tr>
  99.         <tr>
  100.             <td class="usertablerow1" align="right" width="11%">
  101.                 <strong>特殊说明</strong></td>
  102.             <td class="usertablerow1" width="89%">
  103.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  104.         </tr>
  105.     </table>
  106.     </form>
  107.     
  108. </body>
  109. </html>