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

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 HeaderText="狀態">
  34.                           <ItemTemplate>
  35.                                 <asp:Label ID="LblStatus" runat="server" Style="position: relative"></asp:Label>
  36.                             </ItemTemplate>
  37.                         </asp:TemplateField>
  38.                         <asp:TemplateField>
  39.                             <ItemTemplate>
  40.                                 <asp:LinkButton ID="LbRevoke" Text="撤銷" runat="server" Style="position: relative" OnClientClick="return confirm('確定要撤銷嗎?')"></asp:LinkButton>
  41.                             </ItemTemplate>
  42.                         </asp:TemplateField>
  43.                     </Columns>
  44.                     <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Left" />
  45.                     <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
  46.                     <HeaderStyle BackColor="Menu" Font-Bold="True" ForeColor="Black" />
  47.                 </asp:GridView>
  48.                 <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  49.                     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">
  50.                     <SelectParameters>
  51.                         <asp:SessionParameter DefaultValue="0" Name="user_id" SessionField="user_id" />
  52.                     </SelectParameters>
  53.                 </asp:SqlDataSource>
  54.                 <asp:Panel ID="PnlApprovel" runat="server" Style="position: relative" Visible="False">
  55.                     <br />
  56.                     &nbsp;<asp:Table ID="TblForm" runat="server" Height="300" Width="574px">
  57.                         <asp:TableHeaderRow runat="server">
  58.                             <asp:TableHeaderCell runat="server" BackColor="Menu" ColumnSpan="4" Height="20px"
  59.                                 HorizontalAlign="Left">流通事業群POS來客數統計單</asp:TableHeaderCell>
  60.                         </asp:TableHeaderRow>
  61.                         <asp:TableRow runat="server">
  62.                             <asp:TableCell runat="server" BorderWidth="1px">
  63.                                 <asp:Label ID="LblFormNo" runat="server" BorderStyle="None" Text="申請單號"></asp:Label>
  64.                             </asp:TableCell>
  65.                             <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  66.                                 <asp:TextBox ID="TxtFormNo" runat="server" Enabled="False"></asp:TextBox>
  67.                             </asp:TableCell>
  68.                             <asp:TableCell ID="TableCell3" runat="server" BorderWidth="1px">
  69.                                 <asp:Label ID="Label0" runat="server" BorderStyle="None" Text="申請人工號"></asp:Label>
  70.                             </asp:TableCell>
  71.                             <asp:TableCell ID="TableCell4" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  72.                                 <asp:TextBox ID="TxtEmpNo" runat="server" Enabled="False"></asp:TextBox>
  73.                             </asp:TableCell>
  74.                         </asp:TableRow>
  75.                         <asp:TableRow runat="server">
  76.                             <asp:TableCell ID="TableCell5" runat="server" BorderWidth="1px">
  77.                                 <asp:Label ID="Label2" runat="server" BorderStyle="None" Text="申請人姓名"></asp:Label>
  78.                             </asp:TableCell>
  79.                             <asp:TableCell ID="TableCell6" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  80.                                 <asp:TextBox ID="TxtEmpName" runat="server" Enabled="False"></asp:TextBox>
  81.                             </asp:TableCell>
  82.                             <asp:TableCell ID="TableCell7" runat="server" BorderWidth="1px">
  83.                                 <asp:Label ID="Label3" runat="server" BorderStyle="None" Text="申請日期"></asp:Label>
  84.                             </asp:TableCell>
  85.                             <asp:TableCell ID="TableCell8" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  86.                                 <asp:TextBox ID="TxtApplyDate" runat="server" Enabled="False"></asp:TextBox>
  87.                             </asp:TableCell>
  88.                         </asp:TableRow>
  89.                         <asp:TableRow runat="server">
  90.                             <asp:TableCell ID="TableCell9" runat="server" BorderWidth="1px">
  91.                                 <asp:Label ID="Label4" runat="server" BorderStyle="None" Text="申請人部門"></asp:Label>
  92.                             </asp:TableCell>
  93.                             <asp:TableCell ID="TableCell10" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  94.                                 <asp:TextBox ID="TxtDepartment" runat="server" Enabled="False"></asp:TextBox>
  95.                             </asp:TableCell>
  96.                             <asp:TableCell ID="TableCell11" runat="server" BorderWidth="1px">
  97.                                 <asp:Label ID="Label5" runat="server" BorderStyle="None" Text="申請人職稱"></asp:Label>
  98.                             </asp:TableCell>
  99.                             <asp:TableCell ID="TableCell12" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  100.                                 <asp:TextBox ID="TxtPosition" runat="server" Enabled="False"></asp:TextBox>
  101.                             </asp:TableCell>
  102.                         </asp:TableRow>
  103.                         <asp:TableRow ID="TableRow1" runat="server">
  104.                             <asp:TableCell ID="TableCell1" runat="server" BorderWidth="1px">
  105.                                 <asp:Label ID="Label6" runat="server" BorderStyle="None" Text="來客數"></asp:Label>
  106.                             </asp:TableCell>
  107.                             <asp:TableCell ID="TableCell2" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  108.                                 <asp:TextBox ID="TextCount" runat="server" Enabled="False"></asp:TextBox>
  109.                             </asp:TableCell>
  110.                             <asp:TableCell ID="TableCell13" runat="server" BorderWidth="1px">
  111.                                 <asp:Label ID="Label7" runat="server" BorderStyle="None" Text="提袋數"></asp:Label>
  112.                             </asp:TableCell>
  113.                             <asp:TableCell ID="TableCell14" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  114.                                 <asp:TextBox ID="TextCount1" runat="server" Enabled="False"></asp:TextBox>
  115.                             </asp:TableCell>
  116.                         </asp:TableRow>
  117.                         <asp:TableRow ID="TableRow2" runat="server">
  118.                             <asp:TableCell ID="TableCell15" runat="server" BorderWidth="1px">
  119.                                 <asp:Label ID="Label8" runat="server" BorderStyle="None" Text="提袋率"></asp:Label>
  120.                             </asp:TableCell>
  121.                             <asp:TableCell ID="TableCell16" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  122.                                 <asp:TextBox ID="TextLv" runat="server" Enabled="False"></asp:TextBox>
  123.                             </asp:TableCell>
  124.                             <asp:TableCell ID="TableCell17" runat="server" BorderWidth="1px">
  125.                                 <asp:Label ID="Label9" runat="server" BorderStyle="None" Text="提袋日期"></asp:Label>
  126.                             </asp:TableCell>
  127.                             <asp:TableCell ID="TableCell18" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  128.                                 <asp:TextBox ID="TextDate" runat="server" Enabled="False"></asp:TextBox>
  129.                             </asp:TableCell>
  130.                         </asp:TableRow>
  131.                         <asp:TableRow ID="TableRow3" runat="server">
  132.                         <asp:TableCell ID="TableCell19" runat="server" BorderWidth="1px">
  133.                             <asp:Label ID="LblReason" runat="server" BorderStyle="None" Text="備注"></asp:Label>
  134.                         </asp:TableCell>
  135.                         <asp:TableCell ID="TableCell20" runat="server" BorderWidth="1px" ColumnSpan="3" HorizontalAlign="Left">
  136.                             <asp:TextBox ID="TxtRemark" runat="server" Enabled="False" Rows="3" TextMode="MultiLine"
  137.                                 Width="450px"></asp:TextBox>
  138.                         </asp:TableCell>
  139.                     </asp:TableRow>
  140.                         <asp:TableRow runat="server" BorderWidth="1px">
  141.                             <asp:TableCell runat="server" BorderWidth="1px" ColumnSpan="4">
  142.                                 <asp:Button ID="BtnOk" runat="server" OnClick="BtnOk_Click" Text="送件" />&nbsp;
  143.                                 <asp:Button ID="BtnSave" runat="server" OnClick="BtnSave_Click" Text="存储" />
  144.                             </asp:TableCell>
  145.                         </asp:TableRow>
  146.                     </asp:Table>
  147.                 </asp:Panel>
  148.                 <br />
  149.                 <asp:Panel ID="PnlDeal" runat="server" Style="position: relative" Visible="false">
  150.                     <table border="1" style="position: relative" width="580">
  151.                         <tr>
  152.                             <td align="center" style="width: 59px">
  153.                             </td>
  154.                             <td align="left">
  155.                                 <asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" BorderStyle="None"
  156.                                     Enabled="False" RepeatDirection="Horizontal" Style="position: relative" Width="163px">
  157.                                     <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
  158.                                     <asp:ListItem Value="N">不同意</asp:ListItem>
  159.                                 </asp:RadioButtonList></td>
  160.                         </tr>
  161.                         <tr>
  162.                             <td align="center" style="width: 59px">
  163.                                 意見:
  164.                             </td>
  165.                             <td align="left">
  166.                                 <asp:TextBox ID="TxtComment" runat="server" BorderStyle="None" Enabled="False" Rows="5"
  167.                                     Style="position: relative" TextMode="MultiLine" Width="500px">已同意</asp:TextBox></td>
  168.                         </tr>
  169.                         <tr>
  170.                             <td align="center" style="width: 59px">處理日期:</td>
  171.                             <td align="left">
  172.                                 <asp:TextBox ID="TxtCheckDate" runat="server" BorderStyle="None" Enabled="false"></asp:TextBox>
  173.                             </td>
  174.                         </tr>
  175.                     </table>
  176.                 </asp:Panel>
  177.             </center>
  178.         </div>
  179.         
  180.     </center>
  181.     </div>
  182.     </form>
  183. </body>
  184. </html>