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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="deal_list.aspx.cs" Inherits="web_approvel_ch_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">
  19.                 <asp:TableHeaderCell>寄件者</asp:TableHeaderCell>
  20.                 <asp:TableHeaderCell>主旨</asp:TableHeaderCell>
  21.                 <asp:TableHeaderCell>接收日期</asp:TableHeaderCell>
  22.                 <asp:TableHeaderCell></asp:TableHeaderCell>
  23.             </asp:TableHeaderRow>
  24.         </asp:Table>
  25.             &nbsp;
  26.             <asp:HiddenField ID="FormId" runat="server" />
  27.         </center>
  28.         <center>
  29.         &nbsp;<asp:Panel ID="PnlApprovel" runat="server" Style="position: relative; left: 25px; top: -3px;" Visible="False">
  30.                 <br />
  31.             <asp:Table ID="TblForm" runat="server" Style="position: relative" Width="580px">
  32.                 <asp:TableHeaderRow ID="TableHeaderRow1" runat="server">
  33.                     <asp:TableHeaderCell ID="TableHeaderCell1" runat="server" BackColor="Menu" ColumnSpan="4"
  34.                         Height="20px" HorizontalAlign="Left">流通事業群中幹出差單</asp:TableHeaderCell>
  35.                 </asp:TableHeaderRow>
  36.                 <asp:TableRow runat="server">
  37.                     <asp:TableCell runat="server" BorderWidth="1px">
  38.                         <asp:Label ID="Label221" runat="server" Text="申請單號"></asp:Label></asp:TableCell>
  39.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  40.                         <asp:TextBox ID="TxtFormId" runat="server" ReadOnly="true"></asp:TextBox></asp:TableCell>
  41.                     <asp:TableCell runat="server" BorderWidth="1px">
  42.                         <asp:Label ID="Label9" runat="server" Style="position: relative" Text="差假別"></asp:Label></asp:TableCell>
  43.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  44.                         <asp:TextBox ID="TxtOffType" runat="server" ReadOnly="true"  Style="position: relative"
  45.                             Text="出差"></asp:TextBox></asp:TableCell>
  46.                 </asp:TableRow>
  47.                 <asp:TableRow runat="server">
  48.                     <asp:TableCell runat="server" BorderWidth="1px">
  49.                         <asp:Label ID="Label2" runat="server" Style="position: relative" Text="申請人工號"></asp:Label></asp:TableCell>
  50.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  51.                         <asp:TextBox ID="TxtEmpNo" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox></asp:TableCell>
  52.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Center">
  53.                         <asp:Label ID="Label10" runat="server" Style="position: relative" Text="出差日期起"></asp:Label></asp:TableCell>
  54.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  55.                         <asp:TextBox ID="TxtBeginTime" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox>
  56.                     </asp:TableCell>
  57.                 </asp:TableRow>
  58.                 <asp:TableRow runat="server">
  59.                     <asp:TableCell runat="server" BorderWidth="1px">
  60.                         <asp:Label ID="Label3" runat="server" Style="position: relative" Text="申請人姓名"></asp:Label></asp:TableCell>
  61.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  62.                         <asp:TextBox ID="TxtEmpName" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox></asp:TableCell>
  63.                     <asp:TableCell runat="server" BorderWidth="1px">
  64.                         <asp:Label ID="Label11" runat="server" Style="position: relative" Text="出差日期止"></asp:Label></asp:TableCell>
  65.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  66.                         <asp:TextBox ID="TxtEndTime" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox></asp:TableCell>
  67.                 </asp:TableRow>
  68.                 <asp:TableRow runat="server">
  69.                     <asp:TableCell runat="server" BorderWidth="1px">
  70.                         <asp:Label ID="Label4" runat="server" Style="position: relative" Text="申請日期"></asp:Label></asp:TableCell>
  71.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  72.                         <asp:TextBox ID="TxtApplyDate" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox></asp:TableCell>
  73.                     <asp:TableCell runat="server" BorderWidth="1px">
  74.                         <asp:Label ID="Label12" runat="server" Style="position: relative" Text="去程出發地"></asp:Label></asp:TableCell>
  75.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  76.                         <asp:TextBox ID="TxtDepartPlace" runat="server" ReadOnly="true"></asp:TextBox>
  77.                     </asp:TableCell>
  78.                 </asp:TableRow>
  79.                 <asp:TableRow runat="server">
  80.                     <asp:TableCell runat="server" BorderWidth="1px">
  81.                         <asp:Label ID="Label5" runat="server" Style="position: relative" Text="申請人部門"></asp:Label></asp:TableCell>
  82.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  83.                         <asp:TextBox ID="TxtDepartment" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox></asp:TableCell>
  84.                     <asp:TableCell runat="server" BorderWidth="1px">
  85.                         <asp:Label ID="Label13" runat="server" Style="position: relative" Text="回程終地點"></asp:Label></asp:TableCell>
  86.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  87.                         <asp:TextBox ID="TxtArrivePlace" runat="server" ReadOnly="true"></asp:TextBox>
  88.                     </asp:TableCell>
  89.                 </asp:TableRow>
  90.                 <asp:TableRow runat="server">
  91.                     <asp:TableCell runat="server" BorderWidth="1px">
  92.                         <asp:Label ID="Label6" runat="server" Style="position: relative" Text="申請人職稱"></asp:Label></asp:TableCell>
  93.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  94.                         <asp:TextBox ID="TxtPosition" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox></asp:TableCell>
  95.                     <asp:TableCell runat="server" BorderWidth="1px">
  96.                         <asp:Label ID="Label14" runat="server" Style="position: relative" Text="(去程)起飛時間"></asp:Label></asp:TableCell>
  97.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  98.                         <asp:TextBox ID="TxtDepartTime" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox>
  99.                     </asp:TableCell>
  100.                 </asp:TableRow>
  101.                 <asp:TableRow runat="server">
  102.                     <asp:TableCell runat="server" BorderWidth="1px">
  103.                         <asp:Label ID="Label7" runat="server" Style="position: relative" Text="出差天數"></asp:Label></asp:TableCell>
  104.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  105.                         <asp:TextBox ID="TxtDays" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox>日</asp:TableCell>
  106.                     <asp:TableCell runat="server" BorderWidth="1px">
  107.                         <asp:Label ID="Label8" runat="server" Style="position: relative;" Text="(回程)起飛時間"></asp:Label></asp:TableCell>
  108.                     <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  109.                         <asp:TextBox ID="TxtArriveTime" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox>
  110.                     </asp:TableCell>
  111.                 </asp:TableRow>
  112.             </asp:Table>
  113.             <asp:Table ID="TblDetail" runat="server" BorderStyle="Double" Style="position: relative"
  114.                 Width="828px">
  115.                 <asp:TableHeaderRow runat="server" BackColor="Menu">
  116.                     <asp:TableHeaderCell runat="server">序號</asp:TableHeaderCell>
  117.                     <asp:TableHeaderCell runat="server">出差期間</asp:TableHeaderCell>
  118.                     <asp:TableHeaderCell runat="server">起</asp:TableHeaderCell>
  119.                     <asp:TableHeaderCell runat="server">迄</asp:TableHeaderCell>
  120.                     <asp:TableHeaderCell runat="server">交通工具</asp:TableHeaderCell>
  121.                     <asp:TableHeaderCell runat="server">業務內容(含訪問團體)</asp:TableHeaderCell>
  122.                     <asp:TableHeaderCell runat="server">備註</asp:TableHeaderCell>
  123.                 </asp:TableHeaderRow>
  124.             </asp:Table>
  125.             <asp:Table ID="Table3" runat="server" BorderStyle="Double" Height="119px" Style="left: 1px;
  126.                 position: relative; top: 3px" Width="656px">
  127.                 <asp:TableHeaderRow ID="TableHeaderRow2" runat="server" BackColor="Menu">
  128.                     <asp:TableHeaderCell ID="TableHeaderCell2" runat="server">序號</asp:TableHeaderCell>
  129.                     <asp:TableHeaderCell ID="TableHeaderCell4" runat="server">費用內容</asp:TableHeaderCell>
  130.                     <asp:TableHeaderCell ID="TableHeaderCell3" runat="server">申請金額</asp:TableHeaderCell>
  131.                     <asp:TableHeaderCell ID="TableHeaderCell8" runat="server">備註</asp:TableHeaderCell>
  132.                 </asp:TableHeaderRow>
  133.                 <asp:TableRow ID="TableRow5" runat="server">
  134.                     <asp:TableCell ID="TableCell29" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  135.                         <asp:Label ID="LabFNo1" runat="server" BorderStyle="None" Text="1" Width="30px"></asp:Label>
  136.                     </asp:TableCell>
  137.                     <asp:TableCell ID="TableCell38" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  138.                         <asp:Label ID="LabFContent1" runat="server" BorderStyle="None" Text="膳食費用" Width="70px"></asp:Label>
  139.                     </asp:TableCell>
  140.                     <asp:TableCell ID="TableCell30" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  141.                         <asp:TextBox ID="TxtFAmt1" runat="server" ReadOnly="true" Width="200px"></asp:TextBox>
  142.                     </asp:TableCell>
  143.                     <asp:TableCell ID="TableCell31" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  144.                         <asp:TextBox ID="TxtFRemark1" runat="server" ReadOnly="true" Width="300px"></asp:TextBox>
  145.                     </asp:TableCell>
  146.                 </asp:TableRow>
  147.                 <asp:TableRow ID="TableRow6" runat="server">
  148.                     <asp:TableCell ID="TableCell32" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  149.                         <asp:Label ID="LabFNo2" runat="server" BorderStyle="None" Text="2" Width="30px"></asp:Label>
  150.                     </asp:TableCell>
  151.                     <asp:TableCell ID="TableCell33" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  152.                         <asp:Label ID="LabFContent2" runat="server" BorderStyle="None" Text="住宿費用" Width="70px"></asp:Label>
  153.                     </asp:TableCell>
  154.                     <asp:TableCell ID="TableCell34" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  155.                         <asp:TextBox ID="TxtFAmt2" runat="server" ReadOnly="true" Width="200px"></asp:TextBox>
  156.                     </asp:TableCell>
  157.                     <asp:TableCell ID="TableCell39" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  158.                         <asp:TextBox ID="TxtFRemark2" runat="server" ReadOnly="true" Width="300px"></asp:TextBox>
  159.                     </asp:TableCell>
  160.                 </asp:TableRow>
  161.                 <asp:TableRow ID="TableRow7" runat="server">
  162.                     <asp:TableCell ID="TableCell35" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  163.                         <asp:Label ID="LabFNo3" runat="server" BorderStyle="None" Text="3" Width="30px"></asp:Label>
  164.                     </asp:TableCell>
  165.                     <asp:TableCell ID="TableCell36" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  166.                         <asp:Label ID="LabFContent3" runat="server" BorderStyle="None" Text="交通費用" Width="70px"></asp:Label>
  167.                     </asp:TableCell>
  168.                     <asp:TableCell ID="TableCell37" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  169.                         <asp:TextBox ID="TxtFAmt3" runat="server" ReadOnly="true" Width="200px"></asp:TextBox>
  170.                     </asp:TableCell>
  171.                     <asp:TableCell ID="TableCell40" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  172.                         <asp:TextBox ID="TxtFRemark3" runat="server" ReadOnly="true" Width="300px"></asp:TextBox>
  173.                     </asp:TableCell>
  174.                 </asp:TableRow>
  175.                 <asp:TableRow ID="TableRow8" runat="server">
  176.                     <asp:TableCell ID="TableCell41" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  177.                         <asp:Label ID="LabFNo4" runat="server" BorderStyle="None" Text="4" Width="30px"></asp:Label>
  178.                     </asp:TableCell>
  179.                     <asp:TableCell ID="TableCell42" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  180.                         <asp:Label ID="LabFContent4" runat="server" BorderStyle="None" Text="其他費用" Width="70px"></asp:Label>
  181.                     </asp:TableCell>
  182.                     <asp:TableCell ID="TableCell43" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  183.                         <asp:TextBox ID="TxtFAmt4" runat="server" ReadOnly="true" Width="200px"></asp:TextBox>
  184.                     </asp:TableCell>
  185.                     <asp:TableCell ID="TableCell44" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  186.                         <asp:TextBox ID="TxtFRemark4" runat="server" ReadOnly="true" Width="300px"></asp:TextBox>
  187.                     </asp:TableCell>
  188.                 </asp:TableRow>
  189.                 <asp:TableRow ID="TableRow9" runat="server">
  190.                     <asp:TableCell ID="TableCell45" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  191.                         <asp:Label ID="LabFNo5" runat="server" BorderStyle="None" Text="5" Width="30px"></asp:Label>
  192.                     </asp:TableCell>
  193.                     <asp:TableCell ID="TableCell46" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  194.                         <asp:Label ID="LabFContent5" runat="server" BorderStyle="None" Text="合計" Width="70px"></asp:Label>
  195.                     </asp:TableCell>
  196.                     <asp:TableCell ID="TableCell47" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  197.                         <asp:TextBox ID="TxtFAmt5" runat="server" ReadOnly="true" Width="200px"></asp:TextBox>
  198.                     </asp:TableCell>
  199.                     <asp:TableCell ID="TableCell48" runat="server" BorderWidth="1px" HorizontalAlign="Center">
  200.                         <asp:TextBox ID="TxtFRemark5" runat="server" ReadOnly="true" Width="300px"></asp:TextBox>
  201.                     </asp:TableCell>
  202.                 </asp:TableRow>
  203.             </asp:Table>
  204.             </asp:Panel>
  205.         </center>
  206.         <center>
  207.             <asp:Panel ID="PnlFlow" runat="server" Style="left: 4px; position: relative; top: 20px"
  208.                 Visible="False" Width="595px" Height="1px">
  209.                 <asp:GridView ID="FlowList" runat="server" AutoGenerateColumns="False" BackColor="White"
  210.                     BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource2"
  211.                     OnRowCreated="FlowList_RowCreated" Style="position: relative; left: 5px; top: 8px;" Width="580px">
  212.                     <FooterStyle BackColor="White" ForeColor="#000066" />
  213.                     <RowStyle ForeColor="Black" />
  214.                     <Columns>
  215.                         <asp:BoundField DataField="step" HeaderText="步驟" SortExpression="step" />
  216.                         <asp:BoundField DataField="emp_name" HeaderText="辦理人" SortExpression="emp_name" />
  217.                         <asp:TemplateField HeaderText="簽核類別">
  218.                             <ItemTemplate>
  219.                                 <asp:Label ID="LblApplyType" runat="server" Style="position: relative"></asp:Label>
  220.                             </ItemTemplate>
  221.                         </asp:TemplateField>
  222.                         <asp:TemplateField HeaderText="處理狀態">
  223.                             <ItemTemplate>
  224.                                 <asp:Label ID="LblIsCheck" runat="server" Style="position: relative"></asp:Label>
  225.                             </ItemTemplate>
  226.                         </asp:TemplateField>
  227.                         <asp:TemplateField HeaderText="是否同意">
  228.                             <ItemTemplate>
  229.                                 <asp:Label ID="LblIsAgree" runat="server" Style="position: relative"></asp:Label>
  230.                             </ItemTemplate>
  231.                         </asp:TemplateField>
  232.                         <asp:TemplateField HeaderText="處理意見">
  233.                             <ItemTemplate>
  234.                                 <asp:Label ID="LblComment" runat="server" Style="position: relative"></asp:Label>
  235.                             </ItemTemplate>
  236.                         </asp:TemplateField>
  237.                         <asp:BoundField DataField="check_date" HeaderText="辦理日期" SortExpression="check_date" />
  238.                     </Columns>
  239.                     <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Left" />
  240.                     <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
  241.                     <HeaderStyle BackColor="Menu" Font-Bold="True" ForeColor="Black" />
  242.                 </asp:GridView>
  243.                 &nbsp;
  244.                 <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  245.                     SelectCommand="SELECT f.id, f.step, e.emp_name, f.comment, f.check_date FROM dbo.OA_CH_APPROVEL_FORM_FLOW AS f INNER JOIN dbo.OA_EMPLOYEE AS e ON e.id = f.operator_id WHERE (f.form_id = @form_id) and (is_business='Y')">
  246.                     <SelectParameters>
  247.                         <asp:QueryStringParameter DefaultValue="0" Name="form_id" QueryStringField="f_id1" />
  248.                     </SelectParameters>
  249.                 </asp:SqlDataSource>
  250.             </asp:Panel>
  251.             &nbsp; &nbsp; &nbsp; &nbsp;          
  252.                  
  253.         </center>
  254.         
  255.         <center>
  256.             <asp:Panel ID="PnlOff" runat="server" Visible="false"><asp:Table style="POSITION: relative" id="Table1" runat="server" Width="580px">
  257.                     <asp:TableHeaderRow ID="TableHeaderRow99" runat="server">
  258.                         <asp:TableHeaderCell ID="TableHeaderCell98" runat="server" BackColor="Menu" ColumnSpan="4"
  259.                             Height="20px" HorizontalAlign="Left">流通事業群中幹請假單</asp:TableHeaderCell>
  260.                     </asp:TableHeaderRow>
  261.                     <asp:TableRow ID="TableRow1" runat="server">
  262.                         <asp:TableCell ID="TableCell1" runat="server" BorderWidth="1px">
  263.                             <asp:Label ID="Label111" runat="server" Text="申請單號"></asp:Label></asp:TableCell>
  264.                         <asp:TableCell ID="TableCell2" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  265.                             <asp:TextBox ID="TxtOffFormId" runat="server" ReadOnly="true"></asp:TextBox></asp:TableCell>
  266.                         <asp:TableCell ID="TableCell3" runat="server" BorderWidth="1px">
  267.                             <asp:Label ID="Label122" runat="server" Text="假別"></asp:Label></asp:TableCell>
  268.                         <asp:TableCell ID="TableCell4" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  269.                             <asp:TextBox ID="TxtOffType2" runat="server" ReadOnly="true"></asp:TextBox>
  270.                         </asp:TableCell>
  271.                     </asp:TableRow>
  272.                     <asp:TableRow ID="TableRow2" runat="server">
  273.                         <asp:TableCell ID="TableCell5" runat="server" BorderWidth="1px">
  274.                             <asp:Label ID="Label114" runat="server" Style="position: relative" Text="申請人"></asp:Label></asp:TableCell>
  275.                         <asp:TableCell ID="TableCell6" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  276.                             <asp:TextBox ID="TxtOffEmpName" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox></asp:TableCell>
  277.                         <asp:TableCell ID="TableCell7" runat="server" BorderWidth="1px">
  278.                             <asp:Label ID="Labe1l3" runat="server" Style="position: relative" Text="開始時間"></asp:Label></asp:TableCell>
  279.                         <asp:TableCell ID="TableCell8" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  280.                             <asp:TextBox ID="TxtOffBeginTime" ReadOnly="true" runat="server" Style="position: relative"></asp:TextBox>
  281.                         </asp:TableCell>
  282.                     </asp:TableRow>
  283.                     <asp:TableRow ID="TableRow3" runat="server">
  284.                         <asp:TableCell ID="TableCell9" runat="server" BorderWidth="1px">
  285.                             <asp:Label ID="Label133" runat="server" Style="position: relative" Text="申請日期"></asp:Label></asp:TableCell>
  286.                         <asp:TableCell ID="TableCell10" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  287.                             <asp:TextBox ID="TxtOffApplyDate" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox></asp:TableCell>
  288.                         <asp:TableCell ID="TableCell11" runat="server" BorderWidth="1px">
  289.                             <asp:Label ID="Labe3l4" runat="server" Style="position: relative" Text="結束時間"></asp:Label></asp:TableCell>
  290.                         <asp:TableCell ID="TableCell12" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  291.                             <asp:TextBox ID="TxtOffEndTime" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox>
  292.                         </asp:TableCell>
  293.                     </asp:TableRow>
  294.                     <asp:TableRow ID="TableRow4" runat="server">
  295.                         <asp:TableCell ID="TableCell13" runat="server" BorderWidth="1px">
  296.                             <asp:Label ID="Label112" runat="server" Style="position: relative" Text="申請人部門"></asp:Label></asp:TableCell>
  297.                         <asp:TableCell ID="TableCell14" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  298.                             <asp:TextBox ID="TxtOffDepartment" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox></asp:TableCell>
  299.                         <asp:TableCell ID="TableCell15" runat="server" BorderWidth="1px">
  300.                             <asp:Label ID="Label15" runat="server" Style="position: relative" Text="休假時數"></asp:Label></asp:TableCell>
  301.                         <asp:TableCell ID="TableCell16" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  302.                             <asp:TextBox ID="TxtHours" runat="server" ReadOnly="true" Style="position: relative"></asp:TextBox>小時</asp:TableCell>
  303.                     </asp:TableRow>
  304.                     <asp:TableRow ID="TableRow88" runat="server">
  305.                         <asp:TableCell ID="TableCell17" runat="server" BorderWidth="1px">
  306.                             <asp:Label ID="Label121" runat="server" Style="position: relative" Text="職務代理人"></asp:Label></asp:TableCell>
  307.                         <asp:TableCell ID="TableCell18" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  308.                             <asp:TextBox ID="TxtDelegate" runat="server" ReadOnly="true"></asp:TextBox>
  309.                         </asp:TableCell>
  310.                         <asp:TableCell ID="TableCell19" runat="server" BorderWidth="1px">&nbsp;</asp:TableCell>
  311.                         <asp:TableCell ID="TableCell20" runat="server" BorderWidth="1px">&nbsp;</asp:TableCell>
  312.                     </asp:TableRow>
  313.                     <asp:TableRow ID="TableRow87" runat="server">
  314.                         <asp:TableCell ID="TableCell21" runat="server" BorderWidth="1px">
  315.                             <asp:Label ID="Label110" runat="server" Style="position: relative" Text="申請人職稱"></asp:Label></asp:TableCell>
  316.                         <asp:TableCell ID="TableCell22" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  317.                             <asp:TextBox ID="TxtOffPosition" runat="server" Style="position: relative" ReadOnly="true"></asp:TextBox></asp:TableCell>
  318.                         <asp:TableCell ID="TableCell23" runat="server" BorderWidth="1px">&nbsp;</asp:TableCell>
  319.                         <asp:TableCell ID="TableCell24" runat="server" BorderWidth="1px">&nbsp;</asp:TableCell>
  320.                     </asp:TableRow>
  321.                     <asp:TableRow ID="TableRow86" runat="server">
  322.                         <asp:TableCell ID="TableCell25" runat="server" BorderWidth="1px">
  323.                             <asp:Label ID="Label118" runat="server" Style="position: relative" Text="附帶公務"></asp:Label></asp:TableCell>
  324.                         <asp:TableCell ID="TableCell26" runat="server" BorderWidth="1px" ColumnSpan="3" HorizontalAlign="Left">
  325.                             <asp:TextBox ID="TxtParenthesis" runat="server" Rows="3" Style="position: relative"
  326.                                 TextMode="MultiLine" Width="450px" ReadOnly="true"></asp:TextBox></asp:TableCell>
  327.                     </asp:TableRow>
  328.                     <asp:TableRow ID="TableRow85" runat="server">
  329.                         <asp:TableCell ID="TableCell27" runat="server" BorderWidth="1px">
  330.                             <asp:Label ID="Label29" runat="server" Style="position: relative" Text="事由"></asp:Label></asp:TableCell>
  331.                         <asp:TableCell ID="TableCell28" runat="server" BorderWidth="1px" ColumnSpan="3" HorizontalAlign="Left">
  332.                             <asp:TextBox ID="TxtReason" runat="server" Rows="3" Style="position: relative" TextMode="MultiLine"
  333.                                 Width="450px" Enabled="False"></asp:TextBox></asp:TableCell>
  334.                     </asp:TableRow>
  335.                 </asp:Table>
  336.                 <br />
  337.             </asp:Panel>
  338.             <asp:GridView ID="OffFlowList" runat="server" AutoGenerateColumns="False" BackColor="White"
  339.                 BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource4"
  340.                 OnRowCreated="OffFlowList_RowCreated" Style="position: relative" Width="580px">
  341.                 <FooterStyle BackColor="White" ForeColor="#000066" />
  342.                 <RowStyle ForeColor="Black" />
  343.                 <Columns>
  344.                     <asp:BoundField DataField="step" HeaderText="步驟" SortExpression="step" />
  345.                     <asp:BoundField DataField="emp_name" HeaderText="辦理人" SortExpression="emp_name" />
  346.                     <asp:TemplateField HeaderText="簽核類別">
  347.                         <ItemTemplate>
  348.                             <asp:Label ID="LblApplyType" runat="server" Style="position: relative"></asp:Label>
  349.                         </ItemTemplate>
  350.                     </asp:TemplateField>
  351.                     <asp:TemplateField HeaderText="處理狀態">
  352.                         <ItemTemplate>
  353.                             <asp:Label ID="LblIsCheck" runat="server" Style="position: relative"></asp:Label>
  354.                         </ItemTemplate>
  355.                     </asp:TemplateField>
  356.                     <asp:TemplateField HeaderText="是否同意">
  357.                         <ItemTemplate>
  358.                             <asp:Label ID="LblIsAgree" runat="server" Style="position: relative"></asp:Label>
  359.                         </ItemTemplate>
  360.                     </asp:TemplateField>
  361.                     <asp:TemplateField HeaderText="處理意見">
  362.                         <ItemTemplate>
  363.                             <asp:Label ID="LblComment" runat="server" Style="position: relative"></asp:Label>
  364.                         </ItemTemplate>
  365.                     </asp:TemplateField>
  366.                     <asp:BoundField DataField="check_date" HeaderText="辦理日期" SortExpression="check_date" />
  367.                 </Columns>
  368.                 <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Left" />
  369.                 <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
  370.                 <HeaderStyle BackColor="Menu" Font-Bold="True" ForeColor="Black" />
  371.             </asp:GridView>
  372.             <asp:SqlDataSource ID="SqlDataSource4" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  373.                 SelectCommand="SELECT f.id, f.step, e.emp_name, f.comment, f.check_date FROM dbo.OA_CH_APPROVEL_FORM_FLOW AS f INNER JOIN dbo.OA_EMPLOYEE AS e ON e.id = f.operator_id WHERE (f.form_id = @form_id) and (is_business='N')">
  374.                 <SelectParameters>
  375.                     <asp:QueryStringParameter DefaultValue="0" Name="form_id" QueryStringField="o_id1" />
  376.                 </SelectParameters>
  377.             </asp:SqlDataSource>
  378.             &nbsp;</center>
  379.         <center>
  380.             &nbsp;</center>
  381.         <center>
  382.             &nbsp;</center>
  383.         <center>
  384.         </center>
  385.         <center>
  386.             <asp:Panel ID="PnlDeal" runat="server" Style="position: relative; left: 17px; top: -51px;" Visible="false" Height="184px" Width="626px">
  387.                 <table border="1" style="position: relative; left: -5px; top: 10px;" width="580">
  388.                     <tr>
  389.                         <td align="center" style="width: 56px">
  390.                         </td>
  391.                         <td align="left">
  392.                             <asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" BorderStyle="None"
  393.                                 OnSelectedIndexChanged="RbAgree_SelectedIndexChanged" RepeatDirection="Horizontal"
  394.                                 Style="position: relative" Width="163px">
  395.                                 <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
  396.                                 <asp:ListItem Value="N">不同意</asp:ListItem>
  397.                             </asp:RadioButtonList></td>
  398.                     </tr>
  399.                     <tr>
  400.                         <td align="center" style="width: 56px">
  401.                             意見:
  402.                         </td>
  403.                         <td align="left">
  404.                             <asp:TextBox ID="TxtComment" runat="server" BorderStyle="None" Rows="5" Style="position: relative"
  405.                                 TextMode="MultiLine" Width="500px">已同意</asp:TextBox></td>
  406.                     </tr>
  407.                     <tr>
  408.                         <td align="center" colspan="2" style="height: 28px">
  409.                             <asp:Button ID="BtnOk" runat="server" OnClick="BtnOk_Click" Style="position: relative"
  410.                                 Text="送件" /></td>
  411.                     </tr>
  412.                 </table>
  413.             </asp:Panel>
  414.             &nbsp;</center>
  415.     </div>
  416.     </form>
  417. </body>
  418. </html>