admin_user_role.aspx
上传用户:szhf331
上传日期:2022-06-22
资源大小:1032k
文件大小:10k
- <%@ page language="C#" autoeventwireup="true" inherits="Admin_admin_user_role, App_Web_p9n__skl" %>
- <!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">
- <title>学生系统后台管理</title>
- <meta name="Generator" content="EditPlus">
- <meta name="Author" content="hayden">
- <meta name="Keywords" content="">
- <meta name="Description" content="">
- <script src="inc/admin.js" type="text/javascript"></script>
- <script src="inc/showpage.js" type="text/javascript"></script>
- <script src="../Admin/js/jquery-1.3.2.min.js" type="text/javascript"></script>
- <link href="images/css.css" type="text/css" rel="stylesheet" />
- <link href="images/admin_file_css.css" type="text/css" rel="stylesheet" />
- <style type="text/css">
- .power_ul { width:90%;}
- .power_ul li {float:left; width:120px;font-weight: normal;padding-top:3px;padding-bottom:3px;}
- .power_ul fir {clear:left;font-weight: bold;border-bottom:1px dotted #CCCCCC;}
- .power_ul li .button {width:120px;text-align:left;padding-top:3px; text-indent:15px;}
- </style>
- </head>
- <body>
- <form id="form1" runat="server">
- <h1>
- 管理员权限信息添加</h1>
- <h4>
- <b>相关操作:</b> <a href="admin_user_Add.aspx">添加新管理员</a> |
- </h4>
- <div style="height: 3px; width: 100%; background: #fff;">
- </div>
- <table width="100%" cellspacing="1" cellpadding="0" class="info_tab">
- <tr>
- <td class="art_info2 zq">
- <asp:HiddenField ID="hfcheck" runat="server" />
- 帐号:bbb</td>
- </tr>
- <tr>
- <td class="art_info2 zq">
- 姓名:bbb</td>
- </tr>
- <tr>
- <td class="art_info2 zq">
- <ul class="power_ul" id="power_id_1">
- <li style="clear: left">
- <input type="button" value="数据管理" onclick="power_chkll('power_id_1')" class="button"></li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox1" value="1031" style="border: 0px;">数据库备份</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox2" value="1032" style="border: 0px;">数据库恢复</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox3" value="1033" style="border: 0px;">数据库压缩</li>
- </ul>
- <ul class="power_ul" id="power_id_2">
- <li style="clear: left">
- <input type="button" value="管理员管理" onclick="power_chkll('power_id_2')" class="button"></li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox4" value="1041" style="border: 0px;">管理员查看</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox5" value="1042" style="border: 0px;">管理员添加</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox6" value="1043" style="border: 0px;">管理员修改</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox7" value="1044" style="border: 0px;">管理员删除</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox8" value="1045" style="border: 0px;">权限配制</li>
- </ul>
- <ul class="power_ul" id="power_id_3">
- <li style="clear: left">
- <input type="button" value="年届管理" onclick="power_chkll('power_id_3')" class="button"></li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox9" value="1201" style="border: 0px;">查看</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox10" value="1202" style="border: 0px;">添加</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox11" value="1203" style="border: 0px;">修改</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox12" value="1204" style="border: 0px;">删除</li>
- </ul>
- <ul class="power_ul" id="power_id_4">
- <li style="clear: left">
- <input type="button" value="系所管理" onclick="power_chkll('power_id_4')" class="button"></li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox13" value="1211" style="border: 0px;">查看</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox14" value="1212" style="border: 0px;">添加</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox15" value="1213" style="border: 0px;">修改</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox16" value="1214" style="border: 0px;">删除</li>
- </ul>
- <ul class="power_ul" id="power_id_5">
- <li style="clear: left">
- <input type="button" value="专业管理" onclick="power_chkll('power_id_5')" class="button"></li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox17" value="1221" style="border: 0px;">查看</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox18" value="1222" style="border: 0px;">添加</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox19" value="1223" style="border: 0px;">修改</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox20" value="1224" style="border: 0px;">删除</li>
- </ul>
- <ul class="power_ul" id="power_id_6">
- <li style="clear: left">
- <input type="button" value="班级管理" onclick="power_chkll('power_id_6')" class="button"></li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox21" value="1231" style="border: 0px;">查看</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox22" value="1232" style="border: 0px;">添加</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox23" value="1233" style="border: 0px;">修改</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox24" value="1234" style="border: 0px;">删除</li>
- </ul>
- <ul class="power_ul" id="power_id_7">
- <li style="clear: left">
- <input type="button" value="学生档案" onclick="power_chkll('power_id_7')" class="button"></li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox25" value="1281" style="border: 0px;">查看</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox26" value="1282" style="border: 0px;">添加</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox27" value="1283" style="border: 0px;">修改</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox28" value="1284" style="border: 0px;">删除</li>
- <li>
- <input name='pID' type='checkbox' class="chek" id="Checkbox29" value="1285" style="border: 0px;">上传导入</li>
- </ul>
- <ul class="power_ul">
- <li>
- <input id="power_chkllAll" class="button" type="button" value="全选/取消"></li></ul>
- </td>
- </tr>
- <tr>
- <td class="art_info2">
- <input runat="Server" type="submit" style="margin-left: 20px;" value="确定" id="Submit1" onserverclick="Submit1_ServerClick"><input
- type="reset"></td>
- </tr>
- <input type="hidden" name="id" value="7">
- </table>
- <h1>
- </h1>
- </form>
- <script type="text/javascript">
- $(function () {
- $("#power_chkllAll").toggle(function () {
- $("input[type='checkbox']").each(function (index, domEle) {
- // domEle == this
- $(domEle).attr("checked", "true");
- } );
- },function () {
- $("input[type='checkbox']").each(function (index, domEle) {
- // domEle == this
- $(domEle).attr("checked", "");
- } );
- });
-
- //检查用户权限
- $("input[type='checkbox']").each(function (index, domEle) {
- // domEle == this
- var aa=$("#hfcheck").val();
- if (aa!="") {
- var checkValue=","+ $(domEle).val()+",";
- if (aa.indexOf(checkValue)!=-1) {
- $(domEle).attr("checked","true");
- }
- }
- } );
- });
-
-
-
-
-
- </script>
- </body>
- </html>