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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="finish.aspx.cs" Inherits="web_computer_finish" %>
  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. </head>
  7. <body>
  8.     <form id="form1" runat="server">
  9.     <div>
  10.     <center>
  11.         <div>
  12.             <center>
  13.                 <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Medium" Style="position: relative"
  14.                     Text="已簽核表單"></asp:Label></center>
  15.             <center>
  16.                 &nbsp;</center>
  17.             <center>
  18.                 <asp:GridView ID="ApprovelList" runat="server" AllowPaging="True" AllowSorting="True"
  19.                     AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None"
  20.                     BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource1" OnRowCreated="ApprovelList_RowCreated"
  21.                     OnRowDataBound="ApprovelList_RowDataBound" Style="position: relative" Width="580px">
  22.                     <FooterStyle BackColor="White" ForeColor="#000066" />
  23.                     <RowStyle ForeColor="Black" />
  24.                     <Columns>
  25.                         <asp:BoundField DataField="emp_name" HeaderText="寄件者" SortExpression="emp_name" />
  26.                         <asp:TemplateField HeaderText="主旨">
  27.                             <ItemTemplate>
  28.                                 <asp:Label ID="LblSubject" runat="server" Style="position: relative"></asp:Label>
  29.                             </ItemTemplate>
  30.                         </asp:TemplateField>
  31.                         <asp:BoundField DataField="date1" HeaderText="接收日期" SortExpression="date1" />
  32.                         <asp:TemplateField>
  33.                             <ItemTemplate>
  34.                                 <asp:LinkButton ID="LbRevoke" Text="撤銷" runat="server" Style="position: relative" OnClientClick="return confirm('確定要撤銷嗎?')"></asp:LinkButton>
  35.                             </ItemTemplate>
  36.                         </asp:TemplateField>
  37.                     </Columns>
  38.                     <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Left" />
  39.                     <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
  40.                     <HeaderStyle BackColor="Menu" Font-Bold="True" ForeColor="Black" />
  41.                 </asp:GridView>
  42.                 <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
  43.                     SelectCommand="SELECT f.id, e.emp_name, a.date1,a.form_id FROM oa_computer_form_flow AS f INNER JOIN oa_computer_form AS a ON f.form_id = a.form_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.date1 desc">
  44.                     <SelectParameters>
  45.                         <asp:SessionParameter DefaultValue="0" Name="user_id" SessionField="user_id" />
  46.                     </SelectParameters>
  47.                 </asp:SqlDataSource>
  48.             </center>
  49.             <center>
  50.                 <asp:Panel ID="Panform" runat="server" Visible="False" Width="574px" >
  51.                     <table border="1" style="width: 565px; height: 425px" >
  52.                         <tr align="left">
  53.                             <td colspan="4" style="height: 2px">
  54.                                 <span class="STYLE1" style="font-weight: bold">電腦設備報修單</span></td>
  55.                         </tr>
  56.                         <tr align="left">
  57.                             <td >
  58.                                 <span >申請單號</span></td>
  59.                             <td  >
  60.                                 <span >
  61.                                     <asp:TextBox ID="form_no" runat="server" Enabled="false"></asp:TextBox></span></td>
  62.                             <td >
  63.                                 <span>申請人工號</span></td>
  64.                             <td style="width: 205px"  >
  65.                                 <span >
  66.                                     <asp:TextBox ID="emp_no" runat="server" Enabled="false"></asp:TextBox></span></td>
  67.                         </tr>
  68.                         <tr align="left">
  69.                             <td >
  70.                                 <span >申請人姓名</span></td>
  71.                             <td >
  72.                                 <span>
  73.                                     <asp:TextBox ID="emp_name" runat="server" Enabled="false"></asp:TextBox></span></td>
  74.                             <td >
  75.                                 <span >申請日期</span></td>
  76.                             <td style="width: 205px"  >
  77.                                 <span >
  78.                                     <asp:TextBox ID="date1" runat="server" Enabled="false"></asp:TextBox></span></td>
  79.                         </tr>
  80.                         <tr >
  81.                             <td>
  82.                                 <span >申請人部門</span></td>
  83.                             <td>
  84.                                 <span>
  85.                                     <asp:TextBox ID="emp_dept" runat="server" Enabled="false"></asp:TextBox></span></td>
  86.                             <td>
  87.                                 <span>申請人職稱</span></td>
  88.                             <td style="width: 205px" align="left" >
  89.                                 <span >
  90.                                     <asp:TextBox ID="emp_position" runat="server" Enabled="false"></asp:TextBox></span></td>
  91.                         </tr>
  92.                         <tr align="left">
  93.                             <td >
  94.                                 <span >聯繫電話</span></td>
  95.                             <td  >
  96.                                 <span>
  97.                                     <asp:TextBox ID="f_item" runat="server" Width="145px" Enabled="false"></asp:TextBox></span></td>
  98.                             <td >
  99.                                 <span >截止時間</span></td>
  100.                             <td style="width: 205px" >
  101.                                 <span >
  102.                                     <asp:TextBox ID="Enddate" runat="server" Enabled="false"></asp:TextBox>
  103.                                     <asp:ImageButton ID="ImageButton1" runat="server" Enabled="true" ImageUrl="~/images/calbtn.gif"  /><br />
  104.                                     <asp:Calendar ID="CalEnddate" runat="server" BackColor="White" BorderColor="#999999"
  105.                                         CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
  106.                                         ForeColor="Black" Height="180px" 
  107.                                         Visible="False" Width="200px">
  108.                                         <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
  109.                                         <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
  110.                                         <OtherMonthDayStyle ForeColor="#808080" />
  111.                                         <NextPrevStyle VerticalAlign="Bottom" />
  112.                                         <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
  113.                                         <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
  114.                                         <SelectorStyle BackColor="#CCCCCC" />
  115.                                         <WeekendDayStyle BackColor="#FFFFCC" />
  116.                                     </asp:Calendar>
  117.                                 </span>
  118.                             </td>
  119.                         </tr>
  120.                         <tr align="left">
  121.                             <td >
  122.                                 <span >說明</span></td>
  123.                             <td colspan="3">
  124.                                 <span class="STYLE1">
  125.                                     <asp:TextBox ID="content" runat="server" Height="83px" Width="433px"  Enabled="false"></asp:TextBox></span></td>
  126.                         </tr>
  127.                         <tr>
  128.                             <td colspan="4" style="height: 28px" >
  129.                                 &nbsp;<asp:Button ID="btn_ok" runat="server"  Text="提交" Enabled="false"/>
  130.                                 <asp:Button ID="btn_save" runat="server" Text="存儲"  Enabled="false"/></td>
  131.                         </tr>
  132.                     </table>
  133.                 </asp:Panel>
  134.                 &nbsp;
  135.                 &nbsp;&nbsp;<br />
  136.                 <asp:Panel ID="PnlDeal" runat="server" Style="position: relative" Visible="false">
  137.                     <table border="1" style="position: relative" width="580">
  138.                         <tr>
  139.                             <td align="center" style="width: 59px">
  140.                             </td>
  141.                             <td align="left" style="width: 511px">
  142.                                 <asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" BorderStyle="None"
  143.                                     Enabled="False" RepeatDirection="Horizontal" Style="position: relative" Width="163px">
  144.                                     <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
  145.                                     <asp:ListItem Value="N">不同意</asp:ListItem>
  146.                                 </asp:RadioButtonList></td>
  147.                         </tr>
  148.                         <tr>
  149.                             <td align="center" style="width: 59px">
  150.                                 意見:
  151.                             </td>
  152.                             <td align="left" style="width: 511px">
  153.                                 <asp:TextBox ID="TxtComment" runat="server" BorderStyle="None" Enabled="False" Rows="5"
  154.                                     Style="position: relative" TextMode="MultiLine" Width="500px">已同意</asp:TextBox></td>
  155.                         </tr>
  156.                         <tr>
  157.                             <td align="center" style="width: 59px">處理日期:</td>
  158.                             <td align="left" style="width: 511px">
  159.                                 <asp:TextBox ID="TxtCheckDate" runat="server" BorderStyle="None" Enabled="false"></asp:TextBox>
  160.                             </td>
  161.                         </tr>
  162.                     </table>
  163.                 </asp:Panel>
  164.             </center>
  165.         </div>
  166.         
  167.     </center>
  168.     
  169.     </div>
  170.     </form>
  171. </body>
  172. </html>