You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
116 lines
6.2 KiB
Plaintext
116 lines
6.2 KiB
Plaintext
2 years ago
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserAuthorityRangeSet.aspx.cs" Inherits="DSWeb.ParameterSet.UserAuthorityRangeSet" %>
|
||
|
|
||
|
<!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 id="Head1" runat="server">
|
||
|
<title>用户权限设置</title>
|
||
|
<link href="../theme/tab.css" type="text/css" rel="stylesheet" />
|
||
|
<link href="../theme/page.css" type="text/css" rel="stylesheet" />
|
||
|
<link rel="STYLESHEET" type="text/css" href="../theme/button/default/Fee.css"/>
|
||
|
<link href="../theme/style.css" type="text/css" rel="Stylesheet" media="screen"/>
|
||
|
<!--按钮条-->
|
||
|
<style type="text/css">
|
||
|
.btn-content0{
|
||
|
width:100%;
|
||
|
height:30px;
|
||
|
background:url("../images/content-header.gif");
|
||
|
cursor:default;
|
||
|
}
|
||
|
</style>
|
||
|
<script type="text/javascript" language="JavaScript">
//回车键控制
document.onkeypress=function()
|
||
|
{
|
||
|
if(event.keyCode==13)
|
||
|
{
|
||
|
if(event.srcElement.tagName== 'TEXTAREA')
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
//window.event.keyCode=9;
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<style type="text/css">
|
||
|
*{ margin:0; padding:0;}
|
||
|
html,body{ width:100%; height:100%; overflow:hidden;}
|
||
|
.container{ position:relative; width:100%; height:100%; overflow-y:scroll; overflow-x:auto;}
|
||
|
.topcss{ width:100%; position:absolute; top:0; left:0;}
|
||
|
.boxcss{ height:500px;}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body style="background-color: #ECF2FF">
|
||
|
<form id="formTSysTemplateSet" runat="server">
|
||
|
<div>
|
||
|
<p class="topcss">
|
||
|
<div style="width:100%;vertical-align:text-bottom;" class="btn-content0">
|
||
|
<div class="btn-blank"></div>
|
||
|
<div class="xbtn-img">
|
||
|
<asp:ImageButton ID="ibEnter" runat="server" OnClick="btnEnter_Click" ToolTip="保存" ImageUrl="~/images/icons/save.gif" CssClass="btnimg"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
</p>
|
||
|
<div style="float:left;">
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td width=122px style="font-weight: bold; font-size: 12px;"><asp:Label ID="Label1" runat="server" Text="用户代码+姓名" CssClass="cssfont"></asp:Label></td>
|
||
|
<td width=210px style="font-weight: bold; font-size: 12px;"><asp:Label ID="Label2" runat="server" Text="权限模块" CssClass="cssfont"></asp:Label></td>
|
||
|
<td width=250px style="font-weight: bold; font-size: 12px;"><asp:Label ID="Label3" runat="server" Text="可视范围 (必须大于等于)" CssClass="cssfont"></asp:Label></td>
|
||
|
<td width=250px style="font-weight: bold; font-size: 12px;"><asp:Label ID="Label4" runat="server" Text="可操作范围" CssClass="cssfont"></asp:Label></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign=top>
|
||
|
<asp:ListBox ID="ListBox1" runat="server" Width=130px Height=400px AutoPostBack="True" onselectedindexchanged="ListBox1_SelectedIndexChanged" CssClass="cssfont"></asp:ListBox>
|
||
|
</td>
|
||
|
<td colspan=3 valign=top>
|
||
|
<div class="container" style="float:left; width:680px;height:400px; overflow-x:hidden;">
|
||
|
<asp:DataList ID="dllist" DataKeyField ="GID" runat="server" CssClass="cssfont"
|
||
|
RepeatColumns="1" Width="100%" onitemdatabound="dllist_ItemDataBound">
|
||
|
<ItemTemplate>
|
||
|
<table>
|
||
|
<tr>
|
||
|
<td align=left width=180px>
|
||
|
<%#DataBinder.Eval(Container.DataItem, "DESCRIPTION").ToString()%>
|
||
|
</td>
|
||
|
<td>
|
||
|
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" Width="257px" SelectedIndex=<%#DataBinder.Eval(Container.DataItem, "VISIBLERANGE2")%> CssClass="cssfont">
|
||
|
<asp:ListItem Value="0">全部</asp:ListItem>
|
||
|
<asp:ListItem Value="1">分公司</asp:ListItem>
|
||
|
<asp:ListItem Value="2">部门</asp:ListItem>
|
||
|
<asp:ListItem Value="3">个人</asp:ListItem>
|
||
|
<asp:ListItem Value="4">无</asp:ListItem>
|
||
|
</asp:RadioButtonList>
|
||
|
</td>
|
||
|
<td></td>
|
||
|
<td>
|
||
|
<asp:RadioButtonList ID="RadioButtonList2" runat="server" RepeatDirection="Horizontal" Width="257px" SelectedIndex=<%#DataBinder.Eval(Container.DataItem, "OPERATERANGE2")%> CssClass="cssfont">
|
||
|
<asp:ListItem Value="0">全部</asp:ListItem>
|
||
|
<asp:ListItem Value="1">分公司</asp:ListItem>
|
||
|
<asp:ListItem Value="2">部门</asp:ListItem>
|
||
|
<asp:ListItem Value="3">个人</asp:ListItem>
|
||
|
<asp:ListItem Value="4">无</asp:ListItem>
|
||
|
</asp:RadioButtonList>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</ItemTemplate>
|
||
|
</asp:DataList>
|
||
|
</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td colspan="4" align="center" height="10"><hr color="#96B3DD" /></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</body>
|
||
|
</html>
|