77 lines
3.7 KiB
Plaintext
77 lines
3.7 KiB
Plaintext
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SystemUserSetDep.aspx.cs" Inherits="SystemManage_SystemUserSetDep" %>
|
|
<html>
|
|
<head>
|
|
<title><%=System.Configuration.ConfigurationManager.AppSettings["SYSTitle"]%></title>
|
|
<LINK href="../Style/Style.css" type="text/css" rel="STYLESHEET">
|
|
<script language="javascript">
|
|
var a;
|
|
function PrintTable()
|
|
{
|
|
document.getElementById("PrintHide") .style.visibility="hidden"
|
|
print();
|
|
document.getElementById("PrintHide") .style.visibility="visible"
|
|
}
|
|
|
|
function CheckAll(){
|
|
if(a==1)
|
|
{
|
|
for(var i=0;i<window.document.forms['form1'].elements.length;i++)
|
|
{
|
|
var e = form1.elements[i];
|
|
e.checked =false;
|
|
}
|
|
a=0;
|
|
}
|
|
else
|
|
{
|
|
for(var i=0;i<window.document.forms['form1'].elements.length;i++)
|
|
{
|
|
var e = form1.elements[i];
|
|
e.checked =true;
|
|
}
|
|
a=1;
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form id="form1" runat="server">
|
|
<div>
|
|
<table id="PrintHide" style="width: 100%" border="0" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;"> <img src="../images/BanKuaiJianTou.gif" />
|
|
<a class="hei" href="../Main/MyDesk.aspx">桌面</a> >> 系统管理 >> 设置下属员工
|
|
</td>
|
|
<td align="right" valign="middle" style="border-bottom: #006633 1px dashed; height: 30px;">
|
|
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/Button/Submit.jpg"
|
|
OnClick="ImageButton1_Click" />
|
|
<img src="../images/Button/JianGe.jpg" />
|
|
<img class="HerCss" onclick="javascript:window.history.go(-1)" src="../images/Button/BtnExit.jpg" />
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td height="3px" colspan="2" style="background-color: #ffffff"></td>
|
|
</tr>
|
|
</table>
|
|
<table style="width: 100%" bgcolor="#999999" border="0" cellpadding="2" cellspacing="1">
|
|
|
|
<tr>
|
|
<td align="right" style="width: 170px; background-color: #D6E2F3; height: 25px;" >
|
|
用户名:</td>
|
|
<td style="background-color: #ffffff; height: 25px; padding-left:5px;" >
|
|
<asp:Label ID="Label1" runat="server"></asp:Label></td>
|
|
</tr>
|
|
<tr>
|
|
<td align="right" style="width: 170px; height: 25px; background-color: #D6E2F3">
|
|
下属员工:</td>
|
|
<td style="padding-left: 5px; height: 25px; background-color: #ffffff">
|
|
<asp:TextBox ID="TextBox1" runat="server" Height="150px" TextMode="MultiLine" Width="400px"></asp:TextBox>
|
|
<img id="IMG1" runat="server" class="HerCss" onclick="var wName;var RadNum=Math.random();wName=window.showModalDialog('../Main/SelectUser.aspx?TableName=ERPUser&LieName=UserName&Radstr='+RadNum,'','dialogWidth:350px;DialogHeight=400px;status:no;help:no;resizable:yes;');if(wName==null){}else{document.getElementById('TextBox1').value=wName;}"
|
|
src="../images/Button/search.gif" />
|
|
设置为:【 <a href="javascript:void(0);" onclick="document.getElementById('TextBox1').value='全部'">
|
|
全部用户</a> 】</td>
|
|
</tr>
|
|
</table></div>
|
|
</form>
|
|
</body>
|
|
</html> |