finish_list.aspx
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:19k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="finish_list.aspx.cs" Inherits="web_approvel_tw_finish_list" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6.     <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">
  10.     <div>
  11.     <center>
  12.         <div>
  13.             <center>
  14.                 <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Medium" Style="position: relative"
  15.                     Text="已簽核表單"></asp:Label></center>
  16.             <center>
  17.                 &nbsp;</center>
  18.             <center>
  19.                 <asp:GridView ID="ApprovelList" runat="server" AllowPaging="True" AllowSorting="True"
  20.                     AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None"
  21.                     BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource1" OnRowCreated="ApprovelList_RowCreated"
  22.                     OnRowDataBound="ApprovelList_RowDataBound" Style="position: relative" Width="580px">
  23.                     <FooterStyle BackColor="White" ForeColor="#000066" />
  24.                     <RowStyle ForeColor="Black" />
  25.                     <Columns>
  26.                         <asp:BoundField DataField="emp_name" HeaderText="寄件者" SortExpression="emp_name" />
  27.                         <asp:TemplateField HeaderText="主旨">
  28.                             <ItemTemplate>
  29.                                 <asp:Label ID="LblSubject" runat="server" Style="position: relative"></asp:Label>
  30.                             </ItemTemplate>
  31.                         </asp:TemplateField>
  32.                         <asp:BoundField DataField="apply_date" HeaderText="接收日期" SortExpression="apply_date" />
  33.                         <asp:TemplateField>
  34.                             <ItemTemplate>
  35.                                 <asp:LinkButton ID="LbRevoke" Text="撤銷" runat="server" Style="position: relative" OnClientClick="return confirm('確定要撤銷嗎?')"></asp:LinkButton>
  36.                             </ItemTemplate>
  37.                         </asp:TemplateField>
  38.                     </Columns>
  39.                     <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Left" />
  40.                     <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
  41.                     <HeaderStyle BackColor="Menu" Font-Bold="True" ForeColor="Black" />
  42.                 </asp:GridView>
  43.                 <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  44.                     SelectCommand="SELECT f.id, e.emp_name, a.apply_date FROM dbo.OA_TW_APPROVEL_FORM_FLOW AS f INNER JOIN dbo.OA_TW_APPROVEL_FORM AS a ON f.form_id = a.id INNER JOIN dbo.OA_EMPLOYEE AS e ON a.emp_id = e.id WHERE (f.operator_id = @user_id) AND (f.is_check = 'Y') order by a.apply_date desc">
  45.                     <SelectParameters>
  46.                         <asp:SessionParameter DefaultValue="0" Name="user_id" SessionField="user_id" />
  47.                     </SelectParameters>
  48.                 </asp:SqlDataSource>
  49.                 <asp:Panel ID="PnlApprovel" runat="server" Style="position: relative" Visible="False">
  50.                     <br />
  51.                     <asp:Table ID="TblForm" runat="server" Style="position: relative" Width="580px">
  52.                         <asp:TableHeaderRow runat="server">
  53.                             <asp:TableHeaderCell runat="server" BackColor="Menu" ColumnSpan="4" Height="20px"
  54.                                 HorizontalAlign="Left">流通事業群台幹差假單</asp:TableHeaderCell>
  55.                         </asp:TableHeaderRow>
  56.                         <asp:TableRow runat="server">
  57.                             <asp:TableCell runat="server" BorderWidth="1px">
  58.                                 <asp:Label ID="LblFormNo" runat="server" BorderStyle="None" Text="申請單號"></asp:Label>
  59.                             </asp:TableCell>
  60.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  61.                                 <asp:TextBox ID="TxtFormNo" runat="server" Enabled="False"></asp:TextBox>
  62.                             </asp:TableCell>
  63.                             <asp:TableCell runat="server" BorderWidth="1px">
  64.                                 <asp:Label ID="LblVacationBegin" runat="server" BorderStyle="None" Text="休假日期起"></asp:Label>
  65.                             </asp:TableCell>
  66.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  67.                                 <asp:TextBox ID="TxtVacationBegin" runat="server" Enabled="False"></asp:TextBox>
  68.                             </asp:TableCell>
  69.                         </asp:TableRow>
  70.                         <asp:TableRow runat="server">
  71.                             <asp:TableCell runat="server" BorderWidth="1px">
  72.                                 <asp:Label ID="LblEmpNo" runat="server" BorderStyle="None" Text="申請人工號"></asp:Label>
  73.                             </asp:TableCell>
  74.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  75.                                 <asp:TextBox ID="TxtEmpNo" runat="server" Enabled="False"></asp:TextBox>
  76.                             </asp:TableCell>
  77.                             <asp:TableCell runat="server" BorderWidth="1px">
  78.                                 <asp:Label ID="LblVacationEnd" runat="server" BorderStyle="None" Text="休假日期止"></asp:Label>
  79.                             </asp:TableCell>
  80.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  81.                                 <asp:TextBox ID="TxtVacationEnd" runat="server" Enabled="False"></asp:TextBox>
  82.                             </asp:TableCell>
  83.                         </asp:TableRow>
  84.                         <asp:TableRow runat="server">
  85.                             <asp:TableCell runat="server" BorderWidth="1px">
  86.                                 <asp:Label ID="LblApplyDate" runat="server" BorderStyle="None" Text="申請日期"></asp:Label>
  87.                             </asp:TableCell>
  88.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  89.                                 <asp:TextBox ID="TxtApplyDate" runat="server" Enabled="False"></asp:TextBox>
  90.                             </asp:TableCell>
  91.                             <asp:TableCell runat="server" BorderWidth="1px">
  92.                                 <asp:Label ID="LblVacationPlace" runat="server" BorderStyle="None" Text="休假區域"></asp:Label>
  93.                             </asp:TableCell>
  94.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  95.                                 <asp:TextBox ID="TxtVacationPlace" runat="server"></asp:TextBox>
  96.                             </asp:TableCell>
  97.                         </asp:TableRow>
  98.                         <asp:TableRow runat="server">
  99.                             <asp:TableCell runat="server" BorderWidth="1px">
  100.                                 <asp:Label ID="LblEmpId" runat="server" BorderStyle="None" Text="申請人姓名"></asp:Label>
  101.                             </asp:TableCell>
  102.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  103.                                 <asp:TextBox ID="TxtEmpName" runat="server" Enabled="False"></asp:TextBox>
  104.                             </asp:TableCell>
  105.                             <asp:TableCell runat="server" BorderWidth="1px">
  106.                                 <asp:Label ID="LblFlightGoDepart" runat="server" BorderStyle="None" Text="班機(往)出發地"></asp:Label>
  107.                             </asp:TableCell>
  108.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  109.                                 <asp:TextBox ID="TxtFlightGoDepart" runat="server" Enabled="False"></asp:TextBox>
  110.                             </asp:TableCell>
  111.                         </asp:TableRow>
  112.                         <asp:TableRow runat="server">
  113.                             <asp:TableCell runat="server" BorderWidth="1px">
  114.                                 <asp:Label ID="LblDepartment" runat="server" BorderStyle="None" Text="申請人部門"></asp:Label>
  115.                             </asp:TableCell>
  116.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  117.                                 <asp:TextBox ID="TxtDepartment" runat="server" Enabled="False"></asp:TextBox>
  118.                             </asp:TableCell>
  119.                             <asp:TableCell runat="server" BorderWidth="1px">
  120.                                 <asp:Label ID="LblFlightGoArrive" runat="server" BorderStyle="None" Text="班機(往)終地點"></asp:Label>
  121.                             </asp:TableCell>
  122.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  123.                                 <asp:TextBox ID="TxtFlightGoArrive" runat="server" Enabled="False"></asp:TextBox>
  124.                             </asp:TableCell>
  125.                         </asp:TableRow>
  126.                         <asp:TableRow runat="server">
  127.                             <asp:TableCell runat="server" BorderWidth="1px">
  128.                                 <asp:Label ID="LblPosition" runat="server" BorderStyle="None" Text="申請人職稱"></asp:Label>
  129.                             </asp:TableCell>
  130.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  131.                                 <asp:TextBox ID="TxtPosition" runat="server" Enabled="False"></asp:TextBox>
  132.                             </asp:TableCell>
  133.                             <asp:TableCell runat="server" BorderWidth="1px">
  134.                                 <asp:Label ID="LblFlightGoTime" runat="server" BorderStyle="None" Text="(往)起飛時間"></asp:Label>
  135.                             </asp:TableCell>
  136.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  137.                                 <asp:TextBox ID="TxtFlightGoTime" runat="server" Enabled="False"></asp:TextBox>
  138.                             </asp:TableCell>
  139.                         </asp:TableRow>
  140.                         <asp:TableRow runat="server">
  141.                             <asp:TableCell runat="server" BorderWidth="1px">
  142.                                 <asp:Label ID="LblDelegate" runat="server" BorderStyle="None" Text="代理人"></asp:Label>
  143.                             </asp:TableCell>
  144.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  145.                                 <asp:TextBox ID="TxtDelegate" runat="server" Enabled="False"></asp:TextBox>
  146.                             </asp:TableCell>
  147.                             <asp:TableCell runat="server" BorderWidth="1px">
  148.                                 <asp:Label ID="LblFlightBackTime" runat="server" BorderStyle="None" Text="(返)起飛時間"></asp:Label>
  149.                             </asp:TableCell>
  150.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  151.                                 <asp:TextBox ID="TxtFlightBackTime" runat="server" Enabled="False"></asp:TextBox>
  152.                             </asp:TableCell>
  153.                         </asp:TableRow>
  154.                         <asp:TableRow runat="server">
  155.                             <asp:TableCell runat="server" BorderWidth="1px">
  156.                                 <asp:Label ID="LblOffType" runat="server" BorderStyle="None" Text="假別"></asp:Label>
  157.                             </asp:TableCell>
  158.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  159.                                 <asp:TextBox ID="TxtOffType" runat="server" Enabled="False"></asp:TextBox>
  160.                             </asp:TableCell>
  161.                             <asp:TableCell runat="server" BorderWidth="1px">
  162.                                 <asp:Label ID="LblFlightBackDepart" runat="server" BorderStyle="None" Text="班機(返)出發地"></asp:Label>
  163.                             </asp:TableCell>
  164.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  165.                                 <asp:TextBox ID="TxtFlightBackDepart" runat="server" Enabled="False"></asp:TextBox>
  166.                             </asp:TableCell>
  167.                         </asp:TableRow>
  168.                         <asp:TableRow runat="server">
  169.                             <asp:TableCell runat="server" BorderWidth="1px">
  170.                                 <asp:Label ID="LblParenthesis" runat="server" BorderStyle="None" Text="附帶公務假"></asp:Label>
  171.                             </asp:TableCell>
  172.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  173.                                 <asp:TextBox ID="TxtParenthesis" runat="server" Enabled="False"></asp:TextBox>
  174.                             </asp:TableCell>
  175.                             <asp:TableCell runat="server" BorderWidth="1px">
  176.                                 <asp:Label ID="LblFlightBackArrive" runat="server" BorderStyle="None" Text="班機(返)終地點"></asp:Label>
  177.                             </asp:TableCell>
  178.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  179.                                 <asp:TextBox ID="TxtFlightBackArrive" runat="server" Enabled="False"></asp:TextBox>
  180.                             </asp:TableCell>
  181.                         </asp:TableRow>
  182.                         <asp:TableRow runat="server">
  183.                             <asp:TableCell runat="server" BorderWidth="1px">
  184.                                 <asp:Label ID="LblDays" runat="server" BorderStyle="None" Text="工作日數"></asp:Label>
  185.                             </asp:TableCell>
  186.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  187.                                 <asp:TextBox ID="TxtDays" runat="server" Enabled="False"></asp:TextBox>
  188.                             </asp:TableCell>
  189.                             <asp:TableCell runat="server" BorderWidth="1px">
  190.                                 <asp:Label ID="LblBusinessBegin" runat="server" BorderStyle="None" Text="工作日期起"></asp:Label>
  191.                             </asp:TableCell>
  192.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  193.                                 <asp:TextBox ID="TxtBusinessBegin" runat="server" Enabled="False"></asp:TextBox>
  194.                             </asp:TableCell>
  195.                         </asp:TableRow>
  196.                         <asp:TableRow runat="server">                            
  197.                             <asp:TableCell runat="server" BorderWidth="1px">
  198.                                 <asp:Label ID="LblBusinessPlace" runat="server" BorderStyle="None" Text="工作地點"></asp:Label>
  199.                             </asp:TableCell>
  200.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  201.                                 <asp:TextBox runat="Server" ID="TxtBusinessPlace" Enabled="false"></asp:TextBox>
  202.                             </asp:TableCell>
  203.                             <asp:TableCell runat="server" BorderWidth="1px">
  204.                                 <asp:Label ID="LblBusinessEnd" runat="server" BorderStyle="None" Text="工作日期止"></asp:Label>
  205.                             </asp:TableCell>
  206.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  207.                                 <asp:TextBox ID="TxtBusinessEnd" runat="server" Enabled="False"></asp:TextBox>
  208.                             </asp:TableCell>
  209.                         </asp:TableRow>
  210.                         <asp:TableRow runat="server">
  211.                             <asp:TableCell runat="server" BorderWidth="1px">
  212.                                 <asp:Label ID="LblReason" runat="server" BorderStyle="None" Text="申請事由"></asp:Label>
  213.                             </asp:TableCell>
  214.                             <asp:TableCell runat="server" BorderWidth="1px" ColumnSpan="3" HorizontalAlign="Left">
  215.                                 <asp:TextBox ID="TxtReason" runat="server" Enabled="False" Rows="3" TextMode="MultiLine"
  216.                                     Width="450px"></asp:TextBox>
  217.                             </asp:TableCell>
  218.                         </asp:TableRow>
  219.                     </asp:Table>
  220.                 </asp:Panel>
  221.                 <br />
  222.                 <asp:Panel ID="PnlDeal" runat="server" Style="position: relative" Visible="false">
  223.                     <table border="1" style="position: relative" width="580">
  224.                         <tr>
  225.                             <td align="center" style="width: 59px">
  226.                             </td>
  227.                             <td align="left">
  228.                                 <asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" BorderStyle="None"
  229.                                     Enabled="False" RepeatDirection="Horizontal" Style="position: relative" Width="163px">
  230.                                     <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
  231.                                     <asp:ListItem Value="N">不同意</asp:ListItem>
  232.                                 </asp:RadioButtonList></td>
  233.                         </tr>
  234.                         <tr>
  235.                             <td align="center" style="width: 59px">
  236.                                 意見:
  237.                             </td>
  238.                             <td align="left">
  239.                                 <asp:TextBox ID="TxtComment" runat="server" BorderStyle="None" Enabled="False" Rows="5"
  240.                                     Style="position: relative" TextMode="MultiLine" Width="500px">已同意</asp:TextBox></td>
  241.                         </tr>
  242.                         <tr>
  243.                             <td align="center" style="width: 59px">處理日期:</td>
  244.                             <td align="left">
  245.                                 <asp:TextBox ID="TxtCheckDate" runat="server" BorderStyle="None" Enabled="false"></asp:TextBox>
  246.                             </td>
  247.                         </tr>
  248.                     </table>
  249.                 </asp:Panel>
  250.             </center>
  251.         </div>
  252.         
  253.     </center>
  254.     </div>
  255.     </form>
  256. </body>
  257. </html>