📄 role.asp
字号:
<!-- #include file = "../../../include/asphead.asp" -->
<!-- #include file = "../../../include/function.asp" -->
<%CheckUser()%>
<link href="../../../include/main.css" rel="stylesheet" type="text/css">
<script src="../../../include/function.js" type="text/javascript"></script>
<script ID="clientEventHandlersJS" LANGUAGE="javascript">
<!--
var HasChanged;
function GoToUser()
{
var discard;
discard=true;
if(HasChanged==true)
{
discard=confirm("您已经输入了一些信息,但尚未保存。放弃您所作的输入吗?");
}
if(discard==true)
{
document.frmData.target ="_self";
document.frmData.action="edit.asp?RowID=" + frmData.RowID.value ;
document.frmData.submit();
}
}
function GoToAdmin()
{
var discard;
discard=true;
if(HasChanged==true)
{
discard=confirm("您已经输入了一些信息,但尚未保存。放弃您所作的输入吗?");
}
if(discard==true)
{
document.frmData.target ="_self";
document.frmData.action="admin.asp?RowID=" + frmData.RowID.value ;
document.frmData.submit();
}
}
function GoToInfo()
{
var discard;
discard=true;
if(HasChanged==true)
{
discard=confirm("您已经输入了一些信息,但尚未保存。放弃您所作的输入吗?");
}
if(discard==true)
{
document.frmData.target ="_self";
document.frmData.action="info.asp?RowID=" + frmData.RowID.value ;
document.frmData.submit();
}
}
//数据合法性检查
function LocalDC()
{
return true;
}
function SavePrompt()
{
frmData.btnSave.disabled =true;
frmData.btnCancel.disabled =true;
}
function EnableButton()
{
frmData.btnSave.disabled =false;
frmData.btnCancel.disabled =false;
}
//-->
</script>
<%
dim WExcel
set WExcel=server.CreateObject("WExcel.System")
dim RowID
dim strBody,strScript
RowID=Request.QueryString("RowID")
WExcel.GetRoleSelectPage cint(UserID),cint(RowID),strBody,strScript
CheckErr
Response.Write strScript
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form METHOD="post" name="frmData">
<table width="100%" border=0 CELLSPACING=0 CELLPADDING="0">
<tr height="35">
<td colspan=5>
<table width="100%" border=0 CELLSPACING=0 CELLPADDING="0">
<tr>
<td height=1 rowspan="3" valign="bottom" width="10%"><IMG height=1 src="../../../images/promptline.gif" width="100%"></td>
<td height=1 rowspan="3" width="1%"><IMG height=22 src="../../../images/leftoff.gif" width=11></td>
<td height=1 valign="center" width="12%"><IMG height=1 src="../../../images/promptline.gif" width="100%"></td>
<td height=1 rowspan="3" width="1%"><IMG height=22 src="../../../images/rightoff.gif" width=11></td>
<td height=1 rowspan="3" width="1%"><IMG height=22 src="../../../images/lefton.gif" width=11></td>
<td height=1 valign="center" width="21%"><IMG height=1 src="../../../images/promptline.gif" width="100%"></td>
<td height=1 rowspan="3" width="1%"><IMG height=22 src="../../../images/righton.gif" width=11></td>
<td height=1 rowspan="3" width="1%"><IMG height=22 src="../../../images/leftoff.gif" width=11></td>
<td height=1 valign="center" width="21%"><IMG height=1 src="../../../images/promptline.gif" width="100%"></td>
<td height=1 rowspan="3" width="1%"><IMG height=22 src="../../../images/rightoff.gif" width=11></td>
<td height=1 rowspan="3" width="1%"><IMG height=22 src="../../../images/leftoff.gif" width=11></td>
<td height=1 valign="center" width="15%"><IMG height=1 src="../../../images/promptline.gif" width="100%"></td>
<td height=1 rowspan="3" width="1%"><IMG height=22 src="../../../images/rightoff.gif" width=11></td>
<td height=1 rowspan="3" valign="bottom" width="30%"><IMG height=1 src="../../../images/promptline.gif" width="100%"></td>
</tr>
<tr>
<td height=20 valign=bottom bgcolor="#E0E0E0" style="cursor:hand" onclick="return GoToUser();">修改</td>
<td height=20 valign=bottom>数据表操作权限</td>
<td height=20 valign=bottom bgcolor="#E0E0E0" style="cursor:hand" onclick="return GoToAdmin();">系统管理权限</td>
<td height=20 valign=bottom bgcolor="#E0E0E0" style="cursor:hand" onclick="return GoToInfo();">相关数据</td>
</tr>
<tr>
<td height=1 rowspan="3" valign="bottom"><IMG height=1 src="../../../images/promptline.gif" width="100%"></td>
<td></td>
<td height=1 rowspan="3" valign="bottom"><IMG height=1 src="../../../images/promptline.gif" width="100%"></td>
<td height=1 rowspan="3" valign="bottom"><IMG height=1 src="../../../images/promptline.gif" width="100%"></td>
</tr>
</table>
</td>
</tr>
<tr height=25>
<td colspan=5>
<p align=left> * 用户对数据表的操作权限(增删改等),由其所属的角色确定,请从下表勾选:</p>
</td>
</tr>
<tr>
<td colspan=5>
<table width=100% cellspacing=1 bgcolor=999999>
<tr>
<td width="8%" bgcolor=white>选择</td>
<td width="25%" bgcolor=white>数据表名称</td>
<td width="15%" bgcolor=white>角色名称</td>
<td width="52%" bgcolor=white>说明</td>
</tr>
</table>
</td>
</tr>
<tr height=160 valign="top">
<td colspan=5>
<table width="95%" border=0 CELLSPACING="1" CELLPADDING="0">
<%=strBody%>
</table>
</td>
</tr>
<tr height=40 valign=bottom>
<td colspan="5">
<table width="100%">
<tr>
<td width="25%"></td>
<td width="25%"><input id="btnSave" type="button" value="确定" name="btnSave" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Save('saverole.asp')"></td>
<td width="25%"><input id="btnCancel" type="button" value="取消" name="btnCancel" style="cursor:hand; WIDTH: 50px; HEIGHT: 24px" LANGUAGE="javascript" onclick="return Cancel()"></td>
<td width="25%"></td>
</tr>
</table>
</td>
</tr>
</table>
<input TYPE="hidden" NAME="RowID" value="<%=RowID%>">
<iframe id="SaveArea" name="SaveArea" style="visibility:hidden" width="0" height="0" frameborder="0" src="">
</iframe>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -