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

OA系统

开发平台:

C#

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="MyWorkList.aspx.cs" Inherits="Work_MyWorkList" %>
  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.              
  66.                               <asp:BoundField DataField="YXZT" HeaderText="运行状态">                        
  67.                             <ItemStyle HorizontalAlign="Center" />
  68.                         </asp:BoundField>  
  69.                       <asp:TemplateField HeaderText="操作">
  70.                             <HeaderStyle Width="200px" HorizontalAlign="Center" />
  71.                             <ItemTemplate>
  72.                                 <%#CaoZuo()%>
  73.                             </ItemTemplate>
  74.                             <ItemStyle HorizontalAlign="Center" />
  75.                         </asp:TemplateField>           </Columns>
  76.                     <RowStyle CssClass="usertablerow2" />
  77.                     <AlternatingRowStyle CssClass="usertablerow1" />
  78.                 </asp:GridView>
  79.              <webdiyer:AspNetPager ID="AspNetPager1" runat="server" PageSize="20" OnPageChanging="AspNetPager1_PageChanging">
  80.                 </webdiyer:AspNetPager>  
  81.             </td>
  82.         </tr>
  83.      
  84.     </table>
  85.     <br>
  86.     <table class="usertableborder" cellspacing="1" cellpadding="3" width="96%" align="center"
  87.         border="0">
  88.         <tr>
  89.             <th colspan="2">
  90.                 使用方法</th>
  91.         </tr>
  92.         <tr>
  93.             <td class="usertablerow1" align="right" width="11%">
  94.                 <strong>特殊说明</strong></td>
  95.             <td class="usertablerow1" width="89%">
  96.                 <a href="http://www.woying.net/" target="_blank">挨个填写即可</a></td>
  97.         </tr>
  98.     </table>
  99.     </form>
  100.     
  101. </body>
  102. </html>