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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="副本 deal_list.aspx.cs" Inherits="web_approvel_tw_deal_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.         <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Medium" Style="position: relative"
  13.             Text="處理與通知"></asp:Label>&nbsp;</center>
  14.         <center>
  15.             &nbsp;</center>
  16.         <center>
  17.         <asp:Table runat="server" ID="TblFlow" Width="580px" Visible="False">
  18.             <asp:TableHeaderRow BackColor="Menu" runat="server">
  19.                 <asp:TableHeaderCell runat="server">寄件者</asp:TableHeaderCell>
  20.                 <asp:TableHeaderCell runat="server">主旨</asp:TableHeaderCell>
  21.                 <asp:TableHeaderCell runat="server">接收日期</asp:TableHeaderCell>
  22.                 <asp:TableHeaderCell runat="server"></asp:TableHeaderCell>
  23.             </asp:TableHeaderRow>
  24.         </asp:Table>
  25.             &nbsp;&nbsp;
  26.             <asp:Panel ID="PnlApprovel" runat="server" Style="position: relative" Visible="false">
  27.                 <br />
  28.                 <asp:Table ID="TblForm" runat="server" Style="position: relative" Width="580px">
  29.                     <asp:TableHeaderRow runat="server">
  30.                         <asp:TableHeaderCell runat="server" BackColor="Menu" ColumnSpan="4" Height="20px"
  31.                             HorizontalAlign="Left">流通事業群台幹差假單</asp:TableHeaderCell>
  32.                     </asp:TableHeaderRow>
  33.                     <asp:TableRow runat="server">
  34.                         <asp:TableCell runat="server" BorderWidth="1px">
  35.                             <asp:Label ID="LblFormNo" runat="server" BorderStyle="None" Text="申請單號"></asp:Label>
  36.                         </asp:TableCell>
  37.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  38.                             <asp:TextBox ID="TxtFormNo" runat="server" Enabled="False"></asp:TextBox>
  39.                         </asp:TableCell>
  40.                         <asp:TableCell runat="server" BorderWidth="1px">
  41.                             <asp:Label ID="LblVacationBegin" runat="server" BorderStyle="None" Text="休假日期起"></asp:Label>
  42.                         </asp:TableCell>
  43.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  44.                             <asp:TextBox ID="TxtVacationBegin" runat="server" Enabled="False"></asp:TextBox>
  45.                         </asp:TableCell>
  46.                     </asp:TableRow>
  47.                     <asp:TableRow runat="server">
  48.                         <asp:TableCell runat="server" BorderWidth="1px">
  49.                             <asp:Label ID="LblEmpNo" runat="server" BorderStyle="None" Text="申請人工號"></asp:Label>
  50.                         </asp:TableCell>
  51.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  52.                             <asp:TextBox ID="TxtEmpNo" runat="server" Enabled="False"></asp:TextBox>
  53.                         </asp:TableCell>
  54.                         <asp:TableCell runat="server" BorderWidth="1px">
  55.                             <asp:Label ID="LblVacationEnd" runat="server" BorderStyle="None" Text="休假日期止"></asp:Label>
  56.                         </asp:TableCell>
  57.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  58.                             <asp:TextBox ID="TxtVacationEnd" runat="server" Enabled="False"></asp:TextBox>
  59.                         </asp:TableCell>
  60.                     </asp:TableRow>
  61.                     <asp:TableRow runat="server">
  62.                         <asp:TableCell runat="server" BorderWidth="1px">
  63.                             <asp:Label ID="LblApplyDate" runat="server" BorderStyle="None" Text="申請日期"></asp:Label>
  64.                         </asp:TableCell>
  65.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  66.                             <asp:TextBox ID="TxtApplyDate" runat="server" Enabled="False"></asp:TextBox>
  67.                         </asp:TableCell>
  68.                         <asp:TableCell runat="server" BorderWidth="1px">
  69.                             <asp:Label ID="LblVacationPlace" runat="server" BorderStyle="None" Text="休假區域"></asp:Label>
  70.                         </asp:TableCell>
  71.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  72.                             <asp:TextBox ID="TxtVacationPlace" runat="server" Enabled="False"></asp:TextBox>
  73.                         </asp:TableCell>
  74.                     </asp:TableRow>
  75.                     <asp:TableRow runat="server">
  76.                         <asp:TableCell runat="server" BorderWidth="1px">
  77.                             <asp:Label ID="LblEmpId" runat="server" BorderStyle="None" Text="申請人姓名"></asp:Label>
  78.                         </asp:TableCell>
  79.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  80.                             <asp:TextBox ID="TxtEmpName" runat="server" Enabled="False"></asp:TextBox>
  81.                         </asp:TableCell>
  82.                         <asp:TableCell runat="server" BorderWidth="1px">
  83.                             <asp:Label ID="LblFlightGoDepart" runat="server" BorderStyle="None" Text="班機(往)出發地"></asp:Label>
  84.                         </asp:TableCell>
  85.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  86.                             <asp:TextBox ID="TxtFlightGoDepart" runat="server" Enabled="False"></asp:TextBox>
  87.                         </asp:TableCell>
  88.                     </asp:TableRow>
  89.                     <asp:TableRow runat="server">
  90.                         <asp:TableCell runat="server" BorderWidth="1px">
  91.                             <asp:Label ID="LblDepartment" runat="server" BorderStyle="None" Text="申請人部門"></asp:Label>
  92.                         </asp:TableCell>
  93.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  94.                             <asp:TextBox ID="TxtDepartment" runat="server" Enabled="False"></asp:TextBox>
  95.                         </asp:TableCell>
  96.                         <asp:TableCell runat="server" BorderWidth="1px">
  97.                             <asp:Label ID="LblFlightGoArrive" runat="server" BorderStyle="None" Text="班機(往)終地點"></asp:Label>
  98.                         </asp:TableCell>
  99.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  100.                             <asp:TextBox ID="TxtFlightGoArrive" runat="server" Enabled="False"></asp:TextBox>
  101.                         </asp:TableCell>
  102.                     </asp:TableRow>
  103.                     <asp:TableRow runat="server">
  104.                         <asp:TableCell runat="server" BorderWidth="1px">
  105.                             <asp:Label ID="LblPosition" runat="server" BorderStyle="None" Text="申請人職稱"></asp:Label>
  106.                         </asp:TableCell>
  107.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  108.                             <asp:TextBox ID="TxtPosition" runat="server" Enabled="False"></asp:TextBox>
  109.                         </asp:TableCell>
  110.                         <asp:TableCell runat="server" BorderWidth="1px">
  111.                             <asp:Label ID="LblFlightGoTime" runat="server" BorderStyle="None" Text="(往)起飛時間"></asp:Label>
  112.                         </asp:TableCell>
  113.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  114.                             <asp:TextBox ID="TxtFlightGoTime" runat="server" Enabled="False"></asp:TextBox>
  115.                         </asp:TableCell>
  116.                     </asp:TableRow>
  117.                     <asp:TableRow runat="server">
  118.                         <asp:TableCell runat="server" BorderWidth="1px">
  119.                             <asp:Label ID="LblDelegate" runat="server" BorderStyle="None" Text="代理人"></asp:Label>
  120.                         </asp:TableCell>
  121.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  122.                             <asp:TextBox ID="TxtDelegate" runat="server" Enabled="False"></asp:TextBox>
  123.                         </asp:TableCell>
  124.                         <asp:TableCell runat="server" BorderWidth="1px">
  125.                             <asp:Label ID="LblFlightBackTime" runat="server" BorderStyle="None" Text="(返)起飛時間"></asp:Label>
  126.                         </asp:TableCell>
  127.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  128.                             <asp:TextBox ID="TxtFlightBackTime" runat="server" Enabled="False"></asp:TextBox>
  129.                         </asp:TableCell>
  130.                     </asp:TableRow>
  131.                     <asp:TableRow runat="server">
  132.                         <asp:TableCell runat="server" BorderWidth="1px">
  133.                             <asp:Label ID="LblOffType" runat="server" BorderStyle="None" Text="假別"></asp:Label>
  134.                         </asp:TableCell>
  135.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  136.                             <asp:TextBox ID="TxtOffType" runat="server" Enabled="False"></asp:TextBox>
  137.                         </asp:TableCell>
  138.                         <asp:TableCell runat="server" BorderWidth="1px">
  139.                             <asp:Label ID="LblFlightBackDepart" runat="server" BorderStyle="None" Text="班機(返)出發地"></asp:Label>
  140.                         </asp:TableCell>
  141.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  142.                             <asp:TextBox ID="TxtFlightBackDepart" runat="server" Enabled="False"></asp:TextBox>
  143.                         </asp:TableCell>
  144.                     </asp:TableRow>
  145.                     <asp:TableRow runat="server">
  146.                         <asp:TableCell runat="server" BorderWidth="1px">
  147.                             <asp:Label ID="LblParenthesis" runat="server" BorderStyle="None" Text="附帶公務假"></asp:Label>
  148.                         </asp:TableCell>
  149.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  150.                             <asp:TextBox ID="TxtParenthesis" runat="server" Enabled="False"></asp:TextBox>
  151.                         </asp:TableCell>
  152.                         <asp:TableCell runat="server" BorderWidth="1px">
  153.                             <asp:Label ID="LblFlightBackArrive" runat="server" BorderStyle="None" Text="班機(返)終地點"></asp:Label>
  154.                         </asp:TableCell>
  155.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  156.                             <asp:TextBox ID="TxtFlightBackArrive" runat="server" Enabled="False"></asp:TextBox>
  157.                         </asp:TableCell>
  158.                     </asp:TableRow>
  159.                     <asp:TableRow runat="server">
  160.                         <asp:TableCell runat="server" BorderWidth="1px">
  161.                             <asp:Label ID="LblDays" runat="server" BorderStyle="None" Text="工作日數"></asp:Label>
  162.                         </asp:TableCell>
  163.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  164.                             <asp:TextBox ID="TxtDays" runat="server" Enabled="False"></asp:TextBox>
  165.                         </asp:TableCell>
  166.                         <asp:TableCell runat="server" BorderWidth="1px">
  167.                             <asp:Label ID="LblBusinessBegin" runat="server" BorderStyle="None" Text="工作日期起"></asp:Label>
  168.                         </asp:TableCell>
  169.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  170.                             <asp:TextBox ID="TxtBusinessBegin" runat="server" Enabled="False"></asp:TextBox>
  171.                         </asp:TableCell>
  172.                     </asp:TableRow>
  173.                     <asp:TableRow runat="server">
  174.                         <asp:TableCell runat="server" BorderWidth="1px">
  175.                             <asp:Label ID="LblBusinessPlace" runat="server" BorderStyle="None" Text="工作地點"></asp:Label>
  176.                         </asp:TableCell>
  177.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  178.                             <asp:TextBox runat="Server" ID="TxtBusinessPlace" Enabled="false"></asp:TextBox>
  179.                         </asp:TableCell>
  180.                         <asp:TableCell runat="server" BorderWidth="1px">
  181.                             <asp:Label ID="LblBusinessEnd" runat="server" BorderStyle="None" Text="工作日期止"></asp:Label>
  182.                         </asp:TableCell>
  183.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  184.                             <asp:TextBox ID="TxtBusinessEnd" runat="server" Enabled="False"></asp:TextBox>
  185.                         </asp:TableCell>
  186.                     </asp:TableRow>
  187.                     <asp:TableRow runat="server">
  188.                         <asp:TableCell runat="server" BorderWidth="1px">
  189.                             <asp:Label ID="LblReason" runat="server" BorderStyle="None" Text="申請事由"></asp:Label>
  190.                         </asp:TableCell>
  191.                         <asp:TableCell runat="server" BorderWidth="1px" ColumnSpan="3" HorizontalAlign="Left">
  192.                             <asp:TextBox ID="TxtReason" runat="server" Enabled="False" Rows="3" TextMode="MultiLine"
  193.                                 Width="450px"></asp:TextBox>
  194.                         </asp:TableCell>
  195.                     </asp:TableRow>
  196.                 </asp:Table>
  197.             </asp:Panel>
  198.             <asp:HiddenField ID="flg" runat="server" />
  199.         </center>
  200.         <center>
  201.             <asp:Panel ID="Panflow" runat="server" Height="50px" Width="576px" Visible="False">
  202.                 <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
  203.                     DataSourceID="SqlDataSource1" Width="568px" DataKeyNames="id">
  204.                     <Columns>
  205.                         <asp:BoundField DataField="step" HeaderText="步驟" SortExpression="step" />
  206.                         <asp:BoundField DataField="emp_name" HeaderText="簽核人" SortExpression="operator_id" />
  207.                         <asp:BoundField DataField="check_date" HeaderText="簽核日期" SortExpression="check_date" />
  208.                         <asp:BoundField DataField="comment" HeaderText="意見" SortExpression="comment" />
  209.                     </Columns>
  210.                 </asp:GridView>
  211.                 <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  212.                     SelectCommand="SELECT b.[id], [form_id],b.[emp_name], [operator_id], [check_date], [comment],[step] FROM [OA_TW_APPROVEL_FORM_FLOW] &#13;&#10;as a left join oa_employee as b on a.operator_id=b.id &#13;&#10;WHERE ([form_id] = @form_id)">
  213.                     <SelectParameters>
  214.                         <asp:QueryStringParameter Name="form_id" QueryStringField="f_id" Type="Int32" />
  215.                     </SelectParameters>
  216.                 </asp:SqlDataSource>
  217.             </asp:Panel>
  218.             <br />
  219.             <asp:Panel ID="PnlDeal" runat="server" Style="position: relative" Visible="false">
  220.                 <table style="position: relative" width="580" border="1">
  221.                     <tr>
  222.                         <td style="width: 56px" align="center">
  223.                         </td>
  224.                         <td align="left"><asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" RepeatDirection="Horizontal"
  225.                             Style="position: relative" Width="163px" OnSelectedIndexChanged="RbAgree_SelectedIndexChanged" BorderStyle="None">
  226.                             <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
  227.                             <asp:ListItem Value="N">不同意</asp:ListItem>
  228.                         </asp:RadioButtonList></td>
  229.                     </tr>
  230.                     <tr>
  231.                         <td style="width: 56px" align="center">意見:
  232.                         </td>
  233.                         <td align="left">
  234.                             <asp:TextBox ID="TxtComment" runat="server" Rows="5" Style="position: relative" TextMode="MultiLine"
  235.                                 Width="500px" BorderStyle="None">已同意</asp:TextBox></td>
  236.                     </tr>
  237.                     <tr>
  238.                         <td colspan="2" align="center">
  239.                             <asp:Button ID="BtnOk" runat="server" OnClick="BtnOk_Click" Style="position: relative"
  240.                                 Text="送件" /></td>
  241.                     </tr>
  242.                 </table>
  243.             </asp:Panel>
  244.         </center>
  245.     </div>
  246.     </form>
  247. </body>
  248. </html>