finish.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:11k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="finish.aspx.cs" Inherits="web_computer_finish" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <title>无标题页</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <center>
- <div>
- <center>
- <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="Medium" Style="position: relative"
- Text="已簽核表單"></asp:Label></center>
- <center>
- </center>
- <center>
- <asp:GridView ID="ApprovelList" runat="server" AllowPaging="True" AllowSorting="True"
- AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None"
- BorderWidth="1px" CellPadding="3" DataSourceID="SqlDataSource1" OnRowCreated="ApprovelList_RowCreated"
- OnRowDataBound="ApprovelList_RowDataBound" Style="position: relative" Width="580px">
- <FooterStyle BackColor="White" ForeColor="#000066" />
- <RowStyle ForeColor="Black" />
- <Columns>
- <asp:BoundField DataField="emp_name" HeaderText="寄件者" SortExpression="emp_name" />
- <asp:TemplateField HeaderText="主旨">
- <ItemTemplate>
- <asp:Label ID="LblSubject" runat="server" Style="position: relative"></asp:Label>
- </ItemTemplate>
- </asp:TemplateField>
- <asp:BoundField DataField="date1" HeaderText="接收日期" SortExpression="date1" />
- <asp:TemplateField>
- <ItemTemplate>
- <asp:LinkButton ID="LbRevoke" Text="撤銷" runat="server" Style="position: relative" OnClientClick="return confirm('確定要撤銷嗎?')"></asp:LinkButton>
- </ItemTemplate>
- </asp:TemplateField>
- </Columns>
- <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Left" />
- <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
- <HeaderStyle BackColor="Menu" Font-Bold="True" ForeColor="Black" />
- </asp:GridView>
- <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oaConnection %>"
- 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">
- <SelectParameters>
- <asp:SessionParameter DefaultValue="0" Name="user_id" SessionField="user_id" />
- </SelectParameters>
- </asp:SqlDataSource>
- </center>
- <center>
- <asp:Panel ID="Panform" runat="server" Visible="False" Width="574px" >
- <table border="1" style="width: 565px; height: 425px" >
- <tr align="left">
- <td colspan="4" style="height: 2px">
- <span class="STYLE1" style="font-weight: bold">電腦設備報修單</span></td>
- </tr>
- <tr align="left">
- <td >
- <span >申請單號</span></td>
- <td >
- <span >
- <asp:TextBox ID="form_no" runat="server" Enabled="false"></asp:TextBox></span></td>
- <td >
- <span>申請人工號</span></td>
- <td style="width: 205px" >
- <span >
- <asp:TextBox ID="emp_no" runat="server" Enabled="false"></asp:TextBox></span></td>
- </tr>
- <tr align="left">
- <td >
- <span >申請人姓名</span></td>
- <td >
- <span>
- <asp:TextBox ID="emp_name" runat="server" Enabled="false"></asp:TextBox></span></td>
- <td >
- <span >申請日期</span></td>
- <td style="width: 205px" >
- <span >
- <asp:TextBox ID="date1" runat="server" Enabled="false"></asp:TextBox></span></td>
- </tr>
- <tr >
- <td>
- <span >申請人部門</span></td>
- <td>
- <span>
- <asp:TextBox ID="emp_dept" runat="server" Enabled="false"></asp:TextBox></span></td>
- <td>
- <span>申請人職稱</span></td>
- <td style="width: 205px" align="left" >
- <span >
- <asp:TextBox ID="emp_position" runat="server" Enabled="false"></asp:TextBox></span></td>
- </tr>
- <tr align="left">
- <td >
- <span >聯繫電話</span></td>
- <td >
- <span>
- <asp:TextBox ID="f_item" runat="server" Width="145px" Enabled="false"></asp:TextBox></span></td>
- <td >
- <span >截止時間</span></td>
- <td style="width: 205px" >
- <span >
- <asp:TextBox ID="Enddate" runat="server" Enabled="false"></asp:TextBox>
- <asp:ImageButton ID="ImageButton1" runat="server" Enabled="true" ImageUrl="~/images/calbtn.gif" /><br />
- <asp:Calendar ID="CalEnddate" runat="server" BackColor="White" BorderColor="#999999"
- CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt"
- ForeColor="Black" Height="180px"
- Visible="False" Width="200px">
- <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
- <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
- <OtherMonthDayStyle ForeColor="#808080" />
- <NextPrevStyle VerticalAlign="Bottom" />
- <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" />
- <TitleStyle BackColor="#999999" BorderColor="Black" Font-Bold="True" />
- <SelectorStyle BackColor="#CCCCCC" />
- <WeekendDayStyle BackColor="#FFFFCC" />
- </asp:Calendar>
- </span>
- </td>
- </tr>
- <tr align="left">
- <td >
- <span >說明</span></td>
- <td colspan="3">
- <span class="STYLE1">
- <asp:TextBox ID="content" runat="server" Height="83px" Width="433px" Enabled="false"></asp:TextBox></span></td>
- </tr>
- <tr>
- <td colspan="4" style="height: 28px" >
- <asp:Button ID="btn_ok" runat="server" Text="提交" Enabled="false"/>
- <asp:Button ID="btn_save" runat="server" Text="存儲" Enabled="false"/></td>
- </tr>
- </table>
- </asp:Panel>
-
- <br />
- <asp:Panel ID="PnlDeal" runat="server" Style="position: relative" Visible="false">
- <table border="1" style="position: relative" width="580">
- <tr>
- <td align="center" style="width: 59px">
- </td>
- <td align="left" style="width: 511px">
- <asp:RadioButtonList ID="RbAgree" runat="server" AutoPostBack="True" BorderStyle="None"
- Enabled="False" RepeatDirection="Horizontal" Style="position: relative" Width="163px">
- <asp:ListItem Selected="True" Value="Y">同意</asp:ListItem>
- <asp:ListItem Value="N">不同意</asp:ListItem>
- </asp:RadioButtonList></td>
- </tr>
- <tr>
- <td align="center" style="width: 59px">
- 意見:
- </td>
- <td align="left" style="width: 511px">
- <asp:TextBox ID="TxtComment" runat="server" BorderStyle="None" Enabled="False" Rows="5"
- Style="position: relative" TextMode="MultiLine" Width="500px">已同意</asp:TextBox></td>
- </tr>
- <tr>
- <td align="center" style="width: 59px">處理日期:</td>
- <td align="left" style="width: 511px">
- <asp:TextBox ID="TxtCheckDate" runat="server" BorderStyle="None" Enabled="false"></asp:TextBox>
- </td>
- </tr>
- </table>
- </asp:Panel>
- </center>
- </div>
- </center>
- </div>
- </form>
- </body>
- </html>