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

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="finish_list.aspx.cs" Inherits="web_data_repair_finish_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. </head>
  7. <body>
  8.     <form id="form1" runat="server">
  9.     <center>
  10.     <div>
  11.         <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
  12.             <asp:View ID="View1" runat="server">
  13.                 <asp:Label ID="Label1" runat="server" Text="已簽核表單"></asp:Label><br />
  14.                 <asp:GridView ID="GridView1" runat="server" CellPadding="4" Style="position: relative" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" Width="668px" OnRowDataBound="GridView1_RowDataBound" PageSize="8" ForeColor="#333333" GridLines="None">
  15.                     <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
  16.                     <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
  17.                     <EditRowStyle BackColor="#999999" />
  18.                     <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
  19.                     <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
  20.                     <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
  21.                     <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
  22.                     <Columns>
  23.                         <asp:BoundField DataField="form_id" HeaderText="报修单号" SortExpression="form_id" />
  24.                         <asp:BoundField DataField="emp_name" HeaderText="报修人" SortExpression="emp_name" />
  25.                         <asp:BoundField DataField="check_time" HeaderText="审核时间" SortExpression="check_time" />
  26.                         <asp:BoundField DataField="stuse" HeaderText="状态" ReadOnly="True" SortExpression="stuse" />
  27.                     </Columns>
  28.                 </asp:GridView>
  29.                 <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:oa1ConnectionString %>"
  30.                     SelectCommand="SELECT DISTINCT f.form_id, g.emp_name, f.check_time, CASE f.is_agree WHEN 'N' THEN '不同意' WHEN 'Y' THEN '已同意' END AS stuse FROM OA_REPAIR_FORM AS e INNER JOIN OA_EMPLOYEE AS g ON e.emp_id = g.id INNER JOIN OA_REPAIR_FLOW AS f ON e.form_id = f.form_id WHERE (f.is_check = 'Y') AND (f.operator_id = @operator_id) ORDER BY f.form_id DESC">
  31.                     <SelectParameters>
  32.                         <asp:SessionParameter Name="operator_id" SessionField="user_id" Type="Int32" />
  33.                     </SelectParameters>
  34.                 </asp:SqlDataSource>
  35.             </asp:View>
  36.         </asp:MultiView>&nbsp;<asp:MultiView ID="MultiView2" runat="server">
  37.             <asp:View ID="View2" runat="server">
  38.                 &nbsp;<asp:Table ID="FormTable" runat="server" GridLines="Both" Height="152px" Width="672px">
  39.                     <asp:TableRow runat="server" BackColor="#E0E0E0" HorizontalAlign="Left">
  40.                         <asp:TableCell runat="server" ColumnSpan="4" Font-Bold="True">单据明细</asp:TableCell>
  41.                     </asp:TableRow>
  42.                     <asp:TableRow runat="server">
  43.                         <asp:TableCell runat="server" Width="2cm">维修单号</asp:TableCell>
  44.                         <asp:TableCell runat="server">
  45.                             <asp:Label ID="lb_no" runat="server" ForeColor="Black" Width="4cm"></asp:Label>
  46.                         </asp:TableCell>
  47.                         <asp:TableCell runat="server" Width="2cm">申请人</asp:TableCell>
  48.                         <asp:TableCell runat="server">
  49.                             <asp:Label ID="lb_person" runat="server" BorderStyle="None" Width="4cm"></asp:Label>
  50.                         </asp:TableCell>
  51.                     </asp:TableRow>
  52.                     <asp:TableRow runat="server">
  53.                         <asp:TableCell runat="server" Width="2cm">门店</asp:TableCell>
  54.                         <asp:TableCell runat="server">
  55.                             <asp:Label ID="lb_department" runat="server" BorderStyle="None" ForeColor="Black"
  56.                                 Width="4cm"></asp:Label>
  57.                         </asp:TableCell>
  58.                         <asp:TableCell runat="server" Width="2cm">店内电话</asp:TableCell>
  59.                         <asp:TableCell runat="server">
  60.                             <asp:Label ID="lb_tel" runat="server" BorderStyle="None" ForeColor="Black" Width="4cm"></asp:Label>
  61.                         </asp:TableCell>
  62.                     </asp:TableRow>
  63.                     <asp:TableRow runat="server">
  64.                         <asp:TableCell runat="server" Width="2cm">设备类型</asp:TableCell>
  65.                         <asp:TableCell runat="server">
  66.                             <asp:Label ID="lb_type" runat="server" BorderStyle="None" ForeColor="Black" Width="4cm"></asp:Label>
  67.                         </asp:TableCell>
  68.                         <asp:TableCell runat="server" Width="2cm">设备名称</asp:TableCell>
  69.                         <asp:TableCell runat="server">
  70.                             <asp:Label ID="lb_equipment" runat="server" BorderStyle="None" ForeColor="Black"
  71.                                 Width="4cm"></asp:Label>
  72.                         </asp:TableCell>
  73.                     </asp:TableRow>
  74.                     <asp:TableRow runat="server">
  75.                         <asp:TableCell runat="server" Width="2cm">反映问题</asp:TableCell>
  76.                         <asp:TableCell runat="server" ColumnSpan="3">
  77.                             <asp:Label ID="comment" runat="server" Width="10cm"></asp:Label>
  78.                         </asp:TableCell>
  79.                     </asp:TableRow>
  80.                     <asp:TableRow runat="server">
  81.                         <asp:TableCell runat="server" Width="2cm">维修厂商</asp:TableCell>
  82.                         <asp:TableCell runat="server" ColumnSpan="3">
  83.                             <asp:Label ID="company" runat="server" BorderStyle="None" Width="10cm"></asp:Label>
  84.                         </asp:TableCell>
  85.                     </asp:TableRow>
  86.                 </asp:Table>
  87.                 <asp:Table ID="FlowTable" runat="server" GridLines="Both" Style="width: 680px" Visible="true"
  88.                     Width="636px">
  89.                     <asp:TableRow runat="server" BackColor="#E0E0E0" HorizontalAlign="Left">
  90.                         <asp:TableCell runat="server" ColumnSpan="7" Font-Bold="True">单据流程</asp:TableCell>
  91.                     </asp:TableRow>
  92.                     <asp:TableRow runat="server">
  93.                         <asp:TableCell runat="server">步驟</asp:TableCell>
  94.                         <asp:TableCell runat="server">辦理人</asp:TableCell>
  95.                         <asp:TableCell runat="server">簽核類別</asp:TableCell>
  96.                         <asp:TableCell runat="server">處理狀態</asp:TableCell>
  97.                         <asp:TableCell runat="server">是否完工</asp:TableCell>
  98.                         <asp:TableCell runat="server">處理意見</asp:TableCell>
  99.                         <asp:TableCell runat="server">辦理日期</asp:TableCell>
  100.                     </asp:TableRow>
  101.                 </asp:Table>
  102.             </asp:View>
  103.         </asp:MultiView>
  104.         </div>
  105.        </center>
  106.     </form>
  107. </body>
  108. </html>