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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="deal_list.aspx.cs" Inherits="web_fair_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.         &nbsp;</center>
  13.         <center>
  14.         <asp:Label ID="LblTitle" runat="server" Text="處理與通知" Font-Bold="True" Font-Size="Medium"></asp:Label>
  15.         </center>
  16.         <center>
  17.     <br />
  18.         <asp:Table runat="server" ID="TblFlow" Width="580px" Visible="False">
  19.             <asp:TableHeaderRow ID="TableHeaderRow1" BackColor="Menu" runat="server">
  20.                 <asp:TableHeaderCell ID="TableHeaderCell1" runat="server">寄件者</asp:TableHeaderCell>
  21.                 <asp:TableHeaderCell ID="TableHeaderCell2" runat="server">所屬部門</asp:TableHeaderCell>
  22.                 <asp:TableHeaderCell ID="TableHeaderCell3" runat="server">接收日期</asp:TableHeaderCell>
  23.                 <asp:TableHeaderCell ID="TableHeaderCell4" runat="server"></asp:TableHeaderCell>
  24.             </asp:TableHeaderRow>
  25.         </asp:Table>
  26.         <br />
  27.         <asp:Panel ID="PnlFair" runat="server" Visible="false">
  28.             <asp:Table ID="TblFair" runat="server" Width="580px">
  29.                 <asp:TableHeaderRow BackColor="menu">
  30.                     <asp:TableHeaderCell ColumnSpan="2" BorderWidth="1px" HorizontalAlign="Left">費用申請表單</asp:TableHeaderCell>
  31.                 </asp:TableHeaderRow>
  32.                 <asp:TableRow>
  33.                     <asp:TableCell BorderWidth="1px" Width="130px">單號</asp:TableCell>
  34.                     <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  35.                         <asp:TextBox ID="TxtFormNo" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  36.                     </asp:TableCell>
  37.                 </asp:TableRow>
  38.                 <asp:TableRow>
  39.                     <asp:TableCell BorderWidth="1px">申請人姓名</asp:TableCell>
  40.                     <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  41.                         <asp:TextBox ID="TxtEmpName" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  42.                     </asp:TableCell>
  43.                 </asp:TableRow>
  44.                 <asp:TableRow>
  45.                     <asp:TableCell BorderWidth="1px">申請人工號</asp:TableCell>
  46.                     <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  47.                         <asp:TextBox ID="TxtEmpNo" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  48.                     </asp:TableCell>
  49.                 </asp:TableRow>
  50.                 <asp:TableRow>
  51.                     <asp:TableCell BorderWidth="1px">申請日期</asp:TableCell>
  52.                     <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  53.                         <asp:TextBox ID="TxtApplyDate" runat="server" Enabled="false" Width="300px"></asp:TextBox>
  54.                     </asp:TableCell>
  55.                 </asp:TableRow>
  56.                 <asp:TableRow>
  57.                     <asp:TableCell BorderWidth="1px">主旨</asp:TableCell>
  58.                     <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  59.                         <asp:TextBox ID="TxtSubject" runat="server" Width="300px" Enabled="false"></asp:TextBox>
  60.                     </asp:TableCell>
  61.                 </asp:TableRow>
  62.                 <asp:TableRow>
  63.                     <asp:TableCell BorderWidth="1px">申請金額</asp:TableCell>
  64.                     <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  65.                         <asp:TextBox ID="TxtAmount" runat="server" Width="300px" Enabled="false"></asp:TextBox>
  66.                     </asp:TableCell>
  67.                 </asp:TableRow>
  68.                 <asp:TableRow Visible="false">
  69.                     <asp:TableCell BorderWidth="1px">差旅單號</asp:TableCell>
  70.                     <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  71.                         <asp:HyperLink ID="HlFormNo" runat="server"></asp:HyperLink>
  72.                     </asp:TableCell>
  73.                 </asp:TableRow>
  74.                 <asp:TableRow>
  75.                     <asp:TableCell BorderWidth="1px">備註</asp:TableCell>
  76.                     <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  77.                         <asp:TextBox ID="TxtRemark" runat="server" Width="400px" Enabled="false" TextMode="MultiLine" Rows="5"></asp:TextBox>
  78.                     </asp:TableCell>
  79.                 </asp:TableRow>
  80.                 <asp:TableRow Visible="false">
  81.                     <asp:TableCell BorderWidth="1px">圖檔</asp:TableCell>
  82.                     <asp:TableCell BorderWidth="1px" HorizontalAlign="Left">
  83.                         <asp:Panel ID="PnlPicture" runat="server" HorizontalAlign="Left">
  84.                         </asp:Panel>
  85.                     </asp:TableCell>
  86.                 </asp:TableRow>
  87.             </asp:Table>
  88.         </asp:Panel>
  89.             <asp:Panel ID="PnlFlow" runat="server" Style="left: 0px; position: relative; top: 0px"
  90.                 Visible="False" Width="580px">
  91.                 <asp:GridView ID="FlowList" runat="server" AutoGenerateColumns="False" BackColor="White"
  92.                     BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource2"
  93.                     OnRowCreated="FlowList_RowCreated" Style="position: relative" Width="580px">
  94.                     <FooterStyle BackColor="White" ForeColor="#000066" />
  95.                     <RowStyle ForeColor="Black" />
  96.                     <Columns>
  97.                         <asp:BoundField DataField="step" HeaderText="步驟" SortExpression="step" />
  98.                         <asp:BoundField DataField="emp_name" HeaderText="辦理人" SortExpression="emp_name" />
  99.                         <asp:TemplateField HeaderText="簽核類別">
  100.                             <ItemTemplate>
  101.                                 <asp:Label ID="LblApplyType" runat="server" Style="position: relative"></asp:Label>
  102.                             </ItemTemplate>
  103.                         </asp:TemplateField>
  104.                         <asp:TemplateField HeaderText="處理狀態">
  105.                             <ItemTemplate>
  106.                                 <asp:Label ID="LblIsCheck" runat="server" Style="position: relative"></asp:Label>
  107.                             </ItemTemplate>
  108.                         </asp:TemplateField>
  109.                         <asp:TemplateField HeaderText="是否同意">
  110.                             <ItemTemplate>
  111.                                 <asp:Label ID="LblIsAgree" runat="server" Style="position: relative"></asp:Label>
  112.                             </ItemTemplate>
  113.                         </asp:TemplateField>
  114.                         <asp:TemplateField HeaderText="處理意見">
  115.                             <ItemTemplate>
  116.                                 <asp:Label ID="LblComment" runat="server" Style="position: relative"></asp:Label>
  117.                             </ItemTemplate>
  118.                         </asp:TemplateField>
  119.                         <asp:BoundField DataField="check_date" HeaderText="辦理日期" SortExpression="check_date" />
  120.                     </Columns>
  121.                     <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Left" />
  122.                     <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
  123.                     <HeaderStyle BackColor="Menu" Font-Bold="True" ForeColor="Black" />
  124.                 </asp:GridView>
  125.                 <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  126.                     SelectCommand="select f.id, f.step,e.emp_name, f.comment, f.check_date from OA_FAIR_FORM_FLOW f inner join OA_EMPLOYEE e on e.id=f.operator_id where form_id=@form_id">
  127.                     <SelectParameters>
  128.                         <asp:QueryStringParameter DefaultValue="0" Name="form_id" QueryStringField="f_id1" />
  129.                     </SelectParameters>
  130.                 </asp:SqlDataSource>
  131.             </asp:Panel>
  132.         <br />
  133.         <asp:Panel ID="PnlDeal" runat="server" Style="position: relative" Visible="false">
  134.             <table border="1" style="position: relative" width="580">
  135.                 <tr>
  136.                     <td align="center" style="width: 56px">
  137.                     </td>
  138.                     <td align="left">
  139.                         <asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" BorderStyle="None"
  140.                             OnSelectedIndexChanged="RbAgree_SelectedIndexChanged" RepeatDirection="Horizontal"
  141.                             Style="position: relative" Width="163px">
  142.                             <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
  143.                             <asp:ListItem Value="N">不同意</asp:ListItem>
  144.                         </asp:RadioButtonList></td>
  145.                 </tr>
  146.                 <tr>
  147.                     <td align="center" style="width: 56px">
  148.                         意見:
  149.                     </td>
  150.                     <td align="left">
  151.                         <asp:TextBox ID="TxtComment" runat="server" BorderStyle="None" Rows="5" Style="position: relative"
  152.                             TextMode="MultiLine" Width="500px">已同意</asp:TextBox></td>
  153.                 </tr>
  154.                 <tr>
  155.                     <td align="center" colspan="2">
  156.                         <asp:Button ID="BtnOk" runat="server" OnClick="BtnOk_Click" Style="position: relative"
  157.                             Text="送件" /></td>
  158.                 </tr>
  159.             </table>
  160.         </asp:Panel>
  161.         </center>
  162.     </div>
  163.     </form>
  164. </body>
  165. </html>