peternameyakj
2025-01-06 4c82733d79b03ee1d5304398b0598d826e6fd0e9
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<%@ page language="java" pageEncoding="utf-8" isELIgnored="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
 
<%@ include file="include/pagetop.jsp"%>
 
<!DOCTYPE html>
<html>
 
<head>
<%@ include file="include/head.jsp"%>
</head>
 
<body>
 
    <%@ include file="include/loading.jsp"%>
<%--     <%@ include file="include/top.jsp"%> --%>
<%--     <%@ include file="include/menu_left.jsp"%> --%>
 
    <!-- //////////////////////////////////////////////////////////////////////////// -->
    <!-- START CONTENT -->
    <div class="ifr-dody">
 
        <!-- //////////////////////////////////////////////////////////////////////////// -->
        <!-- START CONTAINER -->
        <div class="ifr-con">
            <h3>角色管理</h3>
            
            <%@ include file="include/alert.jsp"%>
            
            <!-- //////////////////////////////////////////////////////////////////////////// -->
            <!-- START queryForm -->
            <form action="<%=basePath%>normal/adminRoleAuthorityAction!list.action"
                method="post" id="queryForm">
                <!-- <s:hidden name="pageNo" id="pageNo"></s:hidden> -->
                <input type="hidden" id="pageNo" name="pageNo" value="${pageNo}"/>
                <!-- <s:hidden name="username_para" id="username_para"></s:hidden> -->
                <input type="hidden" id="username_para" name="username_para" value="${username_para}"/>
            </form>
            <!-- END queryForm -->
            <!-- //////////////////////////////////////////////////////////////////////////// -->
            
            <div class="row">
                <div class="col-md-12 col-lg-12">
                    <div class="panel panel-default">
 
                        <div class="panel-title">
                            新增角色
                            <ul class="panel-tools">
                                <li><a class="icon minimise-tool"><i
                                        class="fa fa-minus"></i></a></li>
                                <li><a class="icon expand-tool"><i class="fa fa-expand"></i></a></li>
                            </ul>
                        </div>
 
                        <div class="panel-body">
                        
                            <form class="form-horizontal"
                                action="<%=basePath%>normal/adminRoleAuthorityAction!add.action" method="post"
                                name="mainForm" id="mainForm">
                                
                                <!-- <s:hidden name="username_para" id="username_para"></s:hidden> -->
                                <input type="hidden" id="username_para" name="username_para" value="${username_para}"/>
 
                                <div class="form-group">
                                    <label class="col-sm-2 control-label form-label">角色</label>
                                    <div class="col-sm-5">
                                        <!-- <s:textfield id="roleName" name="roleName"
                                            cssClass="form-control " placeholder="请输入大写英文" /> -->
                                        <input id="roleName" name="roleName"
                                            class="form-control " placeholder="请输入大写英文" value="${roleName}" />
                                    </div>
                                </div>
 
                                <div class="form-group">
                                    <div class="col-sm-offset-2 col-sm-10">
                                        <a href="javascript:goUrl(${pageNo})"
                                            class="btn">取消</a> <a href="javascript:submit()"
                                            class="btn btn-default">保存</a>
                                    </div>
                                </div>
 
                            </form>
 
                        </div>
 
                    </div>
                </div>
            </div>
 
        </div>
        <!-- END CONTAINER -->
        <!-- //////////////////////////////////////////////////////////////////////////// -->
 
        <%@ include file="include/footer.jsp"%>
 
    </div>
    <!-- End Content -->
    <!-- //////////////////////////////////////////////////////////////////////////// -->
 
    <%@ include file="include/js.jsp"%>
 
    <script type="text/javascript">
        function submit() {
            swal({
                title : "是否保存?",
                text : "",
                type : "warning",
                showCancelButton : true,
                confirmButtonColor : "#DD6B55",
                confirmButtonText : "确认",
                closeOnConfirm : false
            }, function() {
                document.getElementById("mainForm").submit();
            });
 
        }
    </script>
    
</body>
 
</html>