<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PermissionsSqgl.aspx.cs" Inherits="Web.cg.admin.permissions.PermissionsSqgl" %>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>OA标题页</title>
<link href="/css/admincss/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/css/popcalendar.js"></script>
</head>
<body>
    <form id="form1" runat="server" >
<div>  
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
        <td   class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; height :31px"  border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">系统设置</div></td>
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  <tr>
    <td style ="background :url(/css/admincss/images/mail_leftbg.gif); vertical-align :middle " >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >

<!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <div style =" text-align :right ;">
              <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="PermissionsCg.aspx">采购人员设置</asp:HyperLink>&nbsp; 
              <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="PermissionsSq.aspx" >采购申请审核人设置</asp:HyperLink>&nbsp; 
              <asp:HyperLink ID="HyperLink3" runat="server" NavigateUrl="PermissionsZb.aspx">竞争性采购审核人设置</asp:HyperLink>&nbsp; 
              <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="PermissionsHt.aspx">合同审核人设置</asp:HyperLink>&nbsp; 
              <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="PermissionsCw.aspx">财务人员设置</asp:HyperLink>&nbsp; 
              <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="PermissionsCwgl.aspx" >财务管理人员设置</asp:HyperLink>&nbsp; 
              <asp:HyperLink ID="HyperLink10" runat="server" NavigateUrl="PermissionsHtgl.aspx">合同管理人员设置</asp:HyperLink>&nbsp; 
              <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="PermissionsZbgl.aspx" >竞争性采购管理人员设置</asp:HyperLink>&nbsp; 
              <asp:HyperLink ID="HyperLink9" runat="server" NavigateUrl="PermissionsSqgl.aspx" ForeColor="#339966">申请管理人员设置</asp:HyperLink>&nbsp; 
              <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="PermissionsGl.aspx">管理人员设置</asp:HyperLink>&nbsp; 
           </div>
        </td>
      </tr>
        <tr><td>
            &nbsp;<asp:TextBox ID="tbAdd" runat="server" Width ="160px"  placeholder="人员编号"></asp:TextBox> &nbsp;额度：
             <asp:TextBox ID="tbQuotaApp" runat="server" Width ="80px">0</asp:TextBox> &nbsp; 
            <asp:Button ID="btAdd" runat="server" Text="添加采购申请管理人员" OnClick="btAdd_Click" ValidationGroup="Add" 
                     /> 
            &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tbAdd" Display="Dynamic" ErrorMessage="请填写人员编号。" ForeColor="Red" ValidationGroup="Add"></asp:RequiredFieldValidator>
                    
    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                                ControlToValidate="tbQuotaApp" Display="Dynamic" ErrorMessage="请输入整数。" 
                                                ValidationExpression="^\+?[0-9]*$" 
                                                ValidationGroup="Add" ForeColor="Red"></asp:RegularExpressionValidator>
            </td></tr>
      <tr>
        <td>

<asp:GridView ID="gv" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" 
                onrowdeleting="gv_RowDeleting" onrowcreated="gv_RowCreated" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                    <asp:BoundField DataField="staffid" HeaderText="管理人员编号" ReadOnly="True" />
                    <asp:BoundField DataField="staff" HeaderText="姓名" ReadOnly="True" />
                     <asp:BoundField DataField="role" HeaderText="权限类别" ReadOnly="True" />
                          <asp:BoundField DataField="managedepartment" HeaderText="管理的下属机构" ReadOnly="True" />
                      <asp:BoundField DataField="quota" HeaderText="审批限额" ReadOnly="True" />
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />

                    
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
            <div runat ="server" id ="divEdit" visible ="false" >修改审批额度：<asp:TextBox ID="tbQuotaEdit" runat="server" Width ="80px">0</asp:TextBox> &nbsp;<asp:Button ID="btQuotaEdit" runat="server" Text="提交" OnClick="btQuotaEdit_Click" ValidationGroup="Edit" 
                     /> 
                    
    <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
                                                ControlToValidate="tbQuotaEdit" Display="Dynamic" ErrorMessage="请输入整数。" 
                                                ValidationExpression="^\+?[0-9]*$" 
                                                ValidationGroup="Edit" ForeColor="Red"></asp:RegularExpressionValidator>
            </div>
</td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->


    </td>
    <td  style =" background-image:url(/css/admincss/images/mail_rightbg.gif )" >
    </td>
  </tr>
  <tr>
<td  class ="buttom_bg_left "></td>
  <td   class ="buttom_bg_center " ></td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>