- <%@ page language="C#" autoeventwireup="true" inherits="SysManage_UserAdd, App_Web_bkcmmamz" theme="Normal" %>
- <!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">
- <base target="_self" ></base>
- <title>增加用户</title>
- <script>
- function modelesswin(url,mwidth,mheight)
- {
- var a=new Array(2);
- if (document.all&&window.print)
- {
- var re=window.showModalDialog(url,"","help:0;dialogWidth=350px;dialogHeight=400px,status=no;scroll=no;");
- if (re!=undefined)
- {
- a= re.split(',');
- document.getElementById("TB_employe").innerText=a[1];
- document.getElementById("txt_employeid").innerText=a[0];
- }
- }
- }
- </script>
- </head>
- <body bgcolor="#f7f7f7">
- <form id="form1" runat="server" >
- <TABLE width="100%" border="0" cellPadding="0" cellSpacing="0" >
- <tr valign="middle">
- <td height="25px" width="17%" >
- <img src="../Images/assignuser.ico" height="30" >
- </td>
- <td align="left" width="83%" style="font-size:15px">
- <strong> 增加用户 </strong>
- </td>
- </tr>
- <tr>
- <td background="../Images/Menu_bg.jpg" height="20px">
- <img src="../Images/assignuser.ico" height="15px">
- </td>
- <td background="../Images/Menu_bg.jpg" align="left">
- </td>
- </tr>
- </TABLE>
- <TABLE width="100%" border="0" cellPadding="0" cellSpacing="0" >
- <tr>
- <td > 账 号: </td>
- <td >
- <asp:TextBox ID="TB_Account" runat="server" Width="120px"></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="必填" ControlToValidate="TB_Account" ValidationGroup="SaveButton" Display="Dynamic"></asp:RequiredFieldValidator>
- </td>
- <td> 描 述: </td>
- <td align="left" rowspan="2">
- <asp:TextBox ID="TB_Decs" runat="server" TextMode="MultiLine"></asp:TextBox>
- </td>
- </tr>
- <tr>
- <td>
- 职 工:
- </td>
- <td>
- <asp:TextBox ID="TB_employe" runat="server" Width="120px" Enabled="false"></asp:TextBox>
- <input type="hidden" id="txt_employeid" name="txt_employeid" runat="server">
- <a href="javascript: modelesswin('EmpTree.aspx',100,100)" ID="A1" title="选择职工"><img src="image/user.gif" border="0"></a>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="必填" ControlToValidate="TB_employe" ValidationGroup="SaveButton" Display="Dynamic"></asp:RequiredFieldValidator>
- </td>
- <td> </td>
- </tr>
- <tr height="2px">
- <td colspan="4" background="image/header_bg.gif"> </td>
- </tr>
- <tr height="10px" >
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td>
- <asp:CheckBox ID="CB_isLock" runat="server" Text="禁用"/></td>
- <td>
- <asp:CheckBox ID="CB_isIPbound" runat="server" Text="绑定IP地址"/> </td>
- <td> IP地址: </td>
- <td> <asp:TextBox ID="TB_address" runat="server" Width="150px"></asp:TextBox> </td>
- </tr>
- <tr height="20px">
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr height="2px">
- <td colspan="4" background="image/header_bg.gif"> </td>
- </tr>
- <%-- <tr>
- <td> </td>
- <td> </td>
- <td>
- <asp:Button ID="BT_Confirm" runat="server" Text="确 定" OnClick="BT_Confirm_Click" ValidationGroup="SaveButton"/>
- <button onclick="javascript: if(confirm('确认离开此页面吗?')){window.close();}" id="BT_Cancel"> 取 消</button>
- </td>
- <td> </td>
- </tr> --%>
- <tr>
- <td colspan="4" align="center">
- <asp:ImageButton ID="BT_Confirm" runat="server" ImageUrl="image/queding.gif" OnClick="BT_Confirm_Click" ValidationGroup="SaveButton"/>
- <asp:ImageButton ID="BT_Cancel" runat="server" ImageUrl="image/quxiao.gif" />
- </td>
- </tr>
- </TABLE>
- </form>
- </body>
- </html>