fei.wang
2024-04-16 70223b3ef4df02622869425fed4ba9b290e1aa74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<%--
  Created by IntelliJ IDEA.
  User: Dell
  Date: 2023/12/25
  Time: 15:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="../../CSS/layui2.css">
    <link rel="stylesheet" href="../../CSS/layer.css">
</head>
<body style="overflow: hidden;display: none">
<div class="layui-container" style="width: 100%;margin: 0px;padding: 0px;position: relative">
    <div class="layui-row">
        <div class="layui-col-xs12 layui-col-md12">
            <table class="layui-hide" id="Log" lay-filter="Log"></table>
        </div>
    </div>
</div>
</body>
<script src="/hxzkuwb/HouTai/Js/jquery-3.5.1.js"></script>
<script src="../../JS/layui.js"></script>
<script src="../../JS/layer.js"></script>
<script src="XiTongJs/LoginLog.js"></script>
<script>
    var name = sessionStorage.getItem("username")
    var data = "username="+name
    $.get("/hxzkuwb/findUserRole",data,function (data){
        if (data.juese !="超级管理员"){
            $("body").empty();
            $("body").show();
            $("body").append('<div style="width: 100%;margin: auto;text-align: center;margin-top: 10%"><img src="../../Icon/NoRole.jpg"></div>')
            $("body").append('<h2 style="text-align: center;">你没有执行当前操作的权限......</h2>')
            layer.alert('当前没有权限查看此管理页面!请联系管理员')
        }else{
            $("body").show();
        }
    })
</script>
</html>