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

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:TableHeaderCell runat="server"></asp:TableHeaderCell>
  24.             </asp:TableHeaderRow>
  25.         </asp:Table>
  26.             &nbsp;&nbsp;
  27.             <asp:Panel ID="PnlApprovel" runat="server" Style="position: relative; left: 3px; top: -11px;" Visible="false" Height="263px" Width="554px">
  28.                 <br />
  29.                 &nbsp;<asp:Table ID="TblForm" runat="server" Height="300" Width="574px">
  30.                     <asp:TableHeaderRow runat="server">
  31.                         <asp:TableHeaderCell runat="server" BackColor="Menu" ColumnSpan="4" Height="20px"
  32.                             HorizontalAlign="Left">流通事業群POS來客數統計單</asp:TableHeaderCell>
  33.                     </asp:TableHeaderRow>
  34.                     <asp:TableRow runat="server">
  35.                         <asp:TableCell runat="server" BorderWidth="1px">
  36.                             <asp:Label ID="LblFormNo" runat="server" BorderStyle="None" Text="申請單號"></asp:Label>
  37.                         </asp:TableCell>
  38.                         <asp:TableCell runat="server" BorderWidth="1px" HorizontalAlign="Left">
  39.                             <asp:TextBox ID="TxtFormNo" runat="server" Enabled="False"></asp:TextBox>
  40.                         </asp:TableCell>
  41.                         <asp:TableCell ID="TableCell3" runat="server" BorderWidth="1px">
  42.                             <asp:Label ID="Label1" runat="server" BorderStyle="None" Text="申請人工號"></asp:Label>
  43.                         </asp:TableCell>
  44.                         <asp:TableCell ID="TableCell4" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  45.                             <asp:TextBox ID="TxtEmpNo" runat="server" Enabled="False"></asp:TextBox>
  46.                         </asp:TableCell>
  47.                     </asp:TableRow>
  48.                     <asp:TableRow runat="server">
  49.                         <asp:TableCell ID="TableCell5" runat="server" BorderWidth="1px">
  50.                             <asp:Label ID="Label2" runat="server" BorderStyle="None" Text="申請人姓名"></asp:Label>
  51.                         </asp:TableCell>
  52.                         <asp:TableCell ID="TableCell6" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  53.                             <asp:TextBox ID="TxtEmpName" runat="server" Enabled="False"></asp:TextBox>
  54.                         </asp:TableCell>
  55.                         <asp:TableCell ID="TableCell7" runat="server" BorderWidth="1px">
  56.                             <asp:Label ID="Label3" runat="server" BorderStyle="None" Text="申請日期"></asp:Label>
  57.                         </asp:TableCell>
  58.                         <asp:TableCell ID="TableCell8" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  59.                             <asp:TextBox ID="TxtApplyDate" runat="server" Enabled="False"></asp:TextBox>
  60.                         </asp:TableCell>
  61.                     </asp:TableRow>
  62.                     <asp:TableRow runat="server">
  63.                         <asp:TableCell ID="TableCell9" runat="server" BorderWidth="1px">
  64.                             <asp:Label ID="Label4" runat="server" BorderStyle="None" Text="申請人部門"></asp:Label>
  65.                         </asp:TableCell>
  66.                         <asp:TableCell ID="TableCell10" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  67.                             <asp:TextBox ID="TxtDepartment" runat="server" Enabled="False"></asp:TextBox>
  68.                         </asp:TableCell>
  69.                         <asp:TableCell ID="TableCell11" runat="server" BorderWidth="1px">
  70.                             <asp:Label ID="Label5" runat="server" BorderStyle="None" Text="申請人職稱"></asp:Label>
  71.                         </asp:TableCell>
  72.                         <asp:TableCell ID="TableCell12" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  73.                             <asp:TextBox ID="TxtPosition" runat="server" Enabled="False"></asp:TextBox>
  74.                         </asp:TableCell>
  75.                     </asp:TableRow>
  76.                     <asp:TableRow ID="TableRow1" runat="server">
  77.                         <asp:TableCell ID="TableCell1" runat="server" BorderWidth="1px">
  78.                             <asp:Label ID="Label6" runat="server" BorderStyle="None" Text="來客數"></asp:Label>
  79.                         </asp:TableCell>
  80.                         <asp:TableCell ID="TableCell2" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  81.                             <asp:TextBox ID="TextCount" runat="server" Enabled="False"></asp:TextBox>
  82.                         </asp:TableCell>
  83.                         <asp:TableCell ID="TableCell13" runat="server" BorderWidth="1px">
  84.                             <asp:Label ID="Label7" runat="server" BorderStyle="None" Text="提袋數"></asp:Label>
  85.                         </asp:TableCell>
  86.                         <asp:TableCell ID="TableCell14" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  87.                             <asp:TextBox ID="TextCount1" runat="server" Enabled="False"></asp:TextBox>
  88.                         </asp:TableCell>
  89.                     </asp:TableRow>
  90.                     <asp:TableRow ID="TableRow2" runat="server">
  91.                         <asp:TableCell ID="TableCell15" runat="server" BorderWidth="1px">
  92.                             <asp:Label ID="Label8" runat="server" BorderStyle="None" Text="提袋率"></asp:Label>
  93.                         </asp:TableCell>
  94.                         <asp:TableCell ID="TableCell16" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  95.                             <asp:TextBox ID="TextLv" runat="server" Enabled="False"></asp:TextBox>
  96.                         </asp:TableCell>
  97.                         <asp:TableCell ID="TableCell17" runat="server" BorderWidth="1px">
  98.                             <asp:Label ID="Label9" runat="server" BorderStyle="None" Text="提袋日期"></asp:Label>
  99.                         </asp:TableCell>
  100.                         <asp:TableCell ID="TableCell18" runat="server" BorderWidth="1px" HorizontalAlign="Left">
  101.                             <asp:TextBox ID="TextDate" runat="server" Enabled="False"></asp:TextBox>
  102.                         </asp:TableCell>
  103.                     </asp:TableRow>
  104.                     <asp:TableRow ID="TableRow3" runat="server">
  105.                         <asp:TableCell ID="TableCell19" runat="server" BorderWidth="1px">
  106.                             <asp:Label ID="LblReason" runat="server" BorderStyle="None" Text="備注"></asp:Label>
  107.                         </asp:TableCell>
  108.                         <asp:TableCell ID="TableCell20" runat="server" BorderWidth="1px" ColumnSpan="3" HorizontalAlign="Left">
  109.                             <asp:TextBox ID="TxtRemark" runat="server" Enabled="False" Rows="3" TextMode="MultiLine"
  110.                                 Width="450px"></asp:TextBox>
  111.                         </asp:TableCell>
  112.                     </asp:TableRow>
  113.                     <asp:TableRow runat="server" BorderWidth="1px">
  114.                         <asp:TableCell runat="server" BorderWidth="1px" ColumnSpan="4">
  115.                             <asp:Button ID="BtnOk" runat="server" OnClick="BtnOk_Click" Text="送件" />&nbsp;
  116.                             <asp:Button ID="BtnSave" runat="server" OnClick="BtnSave_Click" Text="存储" />
  117.                         </asp:TableCell>
  118.                     </asp:TableRow>
  119.                 </asp:Table>
  120.             </asp:Panel>
  121.             <asp:HiddenField ID="flg" runat="server" />
  122.         </center>
  123.         <center>
  124.             <asp:Panel ID="PnlFlow" runat="server" Style="left: 0px; position: relative; top: 0px"
  125.                 Visible="False" Width="580px">
  126.                 <asp:GridView ID="FlowList" runat="server" AutoGenerateColumns="False" BackColor="White"
  127.                     BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource2"
  128.                     OnRowCreated="FlowList_RowCreated" Style="position: relative" Width="580px">
  129.                     <FooterStyle BackColor="White" ForeColor="#000066" />
  130.                     <RowStyle ForeColor="Black" />
  131.                     <Columns>
  132.                         <asp:BoundField DataField="step" HeaderText="步驟" SortExpression="step" />
  133.                         <asp:BoundField DataField="emp_name" HeaderText="辦理人" SortExpression="emp_name" />
  134.                         <asp:TemplateField HeaderText="簽核類別">
  135.                             <ItemTemplate>
  136.                                 <asp:Label ID="LblApplyType" runat="server" Style="position: relative"></asp:Label>
  137.                             </ItemTemplate>
  138.                         </asp:TemplateField>
  139.                         <asp:TemplateField HeaderText="處理狀態">
  140.                             <ItemTemplate>
  141.                                 <asp:Label ID="LblIsCheck" runat="server" Style="position: relative"></asp:Label>
  142.                             </ItemTemplate>
  143.                         </asp:TemplateField>
  144.                         <asp:TemplateField HeaderText="是否同意">
  145.                             <ItemTemplate>
  146.                                 <asp:Label ID="LblIsAgree" runat="server" Style="position: relative"></asp:Label>
  147.                             </ItemTemplate>
  148.                         </asp:TemplateField>
  149.                         <asp:TemplateField HeaderText="處理意見">
  150.                             <ItemTemplate>
  151.                                 <asp:Label ID="LblComment" runat="server" Style="position: relative"></asp:Label>
  152.                             </ItemTemplate>
  153.                         </asp:TemplateField>
  154.                         <asp:BoundField DataField="check_date" HeaderText="辦理日期" SortExpression="check_date" />
  155.                     </Columns>
  156.                     <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Left" />
  157.                     <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
  158.                     <HeaderStyle BackColor="Menu" Font-Bold="True" ForeColor="Black" />
  159.                 </asp:GridView>
  160.                 <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  161.                     SelectCommand="select f.id, f.step,e.emp_name, f.comment, f.check_date from OA_TW_APPROVEL_FORM_FLOW f inner join OA_EMPLOYEE e on e.id=f.operator_id where f.form_id=@form_id">
  162.                     <SelectParameters>
  163.                         <asp:QueryStringParameter DefaultValue="0" Name="form_id" QueryStringField="f_id1" />
  164.                     </SelectParameters>
  165.                 </asp:SqlDataSource>
  166.             </asp:Panel>
  167.         </center>
  168.         <center>
  169.             &nbsp;
  170.             <br />
  171.             <asp:Panel ID="PnlDeal" runat="server" Style="position: relative" Visible="false">
  172.                 <table style="position: relative" width="580" border="1">
  173.                     <tr>
  174.                         <td style="width: 56px" align="center">
  175.                         </td>
  176.                         <td align="left"><asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" RepeatDirection="Horizontal"
  177.                             Style="position: relative" Width="163px" OnSelectedIndexChanged="RbAgree_SelectedIndexChanged" BorderStyle="None">
  178.                             <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
  179.                             <asp:ListItem Value="N">不同意</asp:ListItem>
  180.                         </asp:RadioButtonList></td>
  181.                     </tr>
  182.                     <tr>
  183.                         <td style="width: 56px" align="center">意見:
  184.                         </td>
  185.                         <td align="left">
  186.                             <asp:TextBox ID="TxtComment" runat="server" Rows="5" Style="position: relative" TextMode="MultiLine"
  187.                                 Width="500px" BorderStyle="None">已同意</asp:TextBox></td>
  188.                     </tr>
  189.                     <tr>
  190.                         <td colspan="2" align="center">
  191.                             <asp:Button ID="BtnOk" runat="server" OnClick="BtnOk_Click" Style="position: relative"
  192.                                 Text="送件" /></td>
  193.                     </tr>
  194.                 </table>
  195.             </asp:Panel>
  196.         </center>
  197.     </div>
  198.     </form>
  199. </body>
  200. </html>