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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="finish_list.aspx.cs" Inherits="web_fair_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.         
  12.     <center>
  13.         &nbsp;</center>
  14.         <center>
  15.             <asp:Label ID="LblTitle" runat="server" Text="已簽核表單" Font-Bold="True" Font-Size="Medium"></asp:Label>&nbsp;</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="LblDepartment" 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.             </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_FAIR_FORM_FLOW AS f INNER JOIN dbo.OA_FAIR 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.         <br />
  50.         <asp:Table id="TblFair" Visible="false" runat="server" Width="580px">
  51.             <asp:TableHeaderRow BackColor="menu">
  52.                 <asp:TableHeaderCell ColumnSpan="2" BorderWidth="1px" HorizontalAlign="Left">費用申請表單</asp:TableHeaderCell>
  53.             </asp:TableHeaderRow>
  54.             <asp:TableRow>
  55.                 <asp:TableCell BorderWidth="1px" Width="130px">單號</asp:TableCell>
  56.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  57.                     <asp:TextBox ID="TxtFormNo" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  58.                 </asp:TableCell>
  59.             </asp:TableRow>
  60.             <asp:TableRow>
  61.                 <asp:TableCell BorderWidth="1px">申請人姓名</asp:TableCell>
  62.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  63.                     <asp:TextBox ID="TxtEmpName" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  64.                 </asp:TableCell>
  65.             </asp:TableRow>
  66.             <asp:TableRow>
  67.                 <asp:TableCell BorderWidth="1px">申請人工號</asp:TableCell>
  68.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  69.                     <asp:TextBox ID="TxtEmpNo" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  70.                 </asp:TableCell>
  71.             </asp:TableRow>
  72.             <asp:TableRow>
  73.                 <asp:TableCell BorderWidth="1px">申請日期</asp:TableCell>
  74.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  75.                     <asp:TextBox ID="TxtApplyDate" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  76.                 </asp:TableCell>
  77.             </asp:TableRow>
  78.             <asp:TableRow>
  79.                 <asp:TableCell BorderWidth="1px">主旨</asp:TableCell>
  80.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  81.                     <asp:TextBox ID="TxtSubject" runat="server" Width="300px" Enabled="false"></asp:TextBox>
  82.                 </asp:TableCell>
  83.             </asp:TableRow>
  84.             <asp:TableRow>
  85.                 <asp:TableCell BorderWidth="1px">申請金額</asp:TableCell>
  86.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  87.                     <asp:TextBox ID="TxtAmount" runat="server" Width="300px" Enabled="false"></asp:TextBox>
  88.                 </asp:TableCell>
  89.             </asp:TableRow>
  90.             <asp:TableRow Visible="false">
  91.                 <asp:TableCell BorderWidth="1px">差旅單號</asp:TableCell>
  92.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  93.                     <asp:HyperLink ID="HlFormNo" runat="server"></asp:HyperLink>
  94.                 </asp:TableCell>
  95.             </asp:TableRow>
  96.             <asp:TableRow>
  97.                 <asp:TableCell BorderWidth="1px">備註</asp:TableCell>
  98.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  99.                     <asp:TextBox ID="TxtRemark" runat="server" Width="400px" Enabled="false" TextMode="MultiLine" Rows="5"></asp:TextBox>
  100.                 </asp:TableCell>
  101.             </asp:TableRow>
  102.             <asp:TableRow Visible="false">
  103.                 <asp:TableCell BorderWidth="1px">圖檔</asp:TableCell>
  104.                 <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  105.                     <asp:Panel ID="PnlPicture" runat="server" HorizontalAlign="Left">
  106.                     </asp:Panel>
  107.                 </asp:TableCell>
  108.             </asp:TableRow>
  109.         </asp:Table>
  110.         <br />
  111.             <asp:Panel style="POSITION: relative" id="PnlDeal" runat="server" Visible="false">
  112.                 <table border="1" style="position: relative" width="580">
  113.                     <tr>
  114.                         <td align="center" style="width: 59px">
  115.                         </td>
  116.                         <td align="left">
  117.                             <asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" BorderStyle="None"
  118.                                 Enabled="False" RepeatDirection="Horizontal" Style="position: relative" Width="163px">
  119.                                 <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
  120.                                 <asp:ListItem Value="N">不同意</asp:ListItem>
  121.                             </asp:RadioButtonList></td>
  122.                     </tr>
  123.                     <tr>
  124.                         <td align="center" style="width: 59px">
  125.                             意見:
  126.                         </td>
  127.                         <td align="left">
  128.                             <asp:TextBox ID="TxtComment" runat="server" BorderStyle="None" Enabled="False" Rows="5"
  129.                                 Style="position: relative" TextMode="MultiLine" Width="500px">已同意</asp:TextBox></td>
  130.                     </tr>
  131.                     <tr>
  132.                         <td align="center" style="width: 59px">處理日期:</td>
  133.                         <td align="left">
  134.                             <asp:TextBox ID="TxtCheckDate" runat="server" BorderStyle="None" Enabled="false"></asp:TextBox>
  135.                         </td>
  136.                     </tr>
  137.                 </table>
  138.             </asp:Panel>
  139.         </center>
  140.     </div>
  141.     </form>
  142. </body>
  143. </html>