hjg
2023-10-08 a966b5abe5fb804464fe1cd09053a03fe94877fd
提交 | 用户 | 时间
58d006 1 <?xml version="1.0" encoding="UTF-8"?>
A 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"
4 xmlns:c="http://java.sun.com/jsp/jstl/core"
5 xmlns:h="http://java.sun.com/jsf/html"
6 xmlns:f="http://java.sun.com/jsf/core"
7 xmlns:ui="http://java.sun.com/jsf/facelets">
8 <ui:composition template="/template/nit/tmp_brief.xhtml">
9     <ui:define name="acss">
10         <style>
11         .form-body span.text {
12             line-height: 34px
13         }
14         </style>
15     </ui:define>
16     <ui:define name="acontent">
17          <div class="row main-content">
18           <div class="col-md-12 form-horizontal main-content-header">
19           <div class="col-md-6">
20             <div class="input-group">
21                <input type="text" class="form-control" placeholder="请输入过滤内容" aria-describedby="basic-addon2" data-bind="value:filter" />
22                 <a href="javascript:;" id="searcha" class="input-group-addon"><span class="fa fa-search"></span></a> 
23             </div>
24           </div>
25           <div class="col-md-6">
26         <div class="form-group">
27           <label for="TARGET" class="col-sm-2 control-label">资源分类</label>
28           <div class="col-sm-8">
29               <select class="form-control"  data-bind="value:type,event:{change:change}">
30                 <option value="">-选择类型-</option>
31                 <option value="system">system</option>
32                 <option value="module">module</option>
33                 <option value="page">page</option>
34                 <option value="dom">dom</option>
35                 <option value="others">others</option>
36               </select>
37           </div>
38         </div>
39           </div>
40         </div>
41     
42           <table class="table table-striped table-bordered table-condensed table-hover">
43                   <thead>
44                     <tr>
45                       <th>序号</th>
46                       <th>资源名</th>
47                       <th>权限</th>
48                       <th>操作值</th>
49                       <th>操作</th>
50                     </tr>
51                   </thead>
52                   <tbody data-bind="foreach:ress1">
53                     <tr>
54                       <td data-bind="text:$index()+1">序号</td>
55                       <td data-bind="text:$data.url">登陆名</td>
56                       <td><input type="checkbox" data-bind="checked:$data.perm,click:$parent.ressel" /></td>
57                       <td data-bind="text:$data.ov"></td>
58                       <td><a href="javascript:void(0);"><span class="fa fa-fire" data-bind="click:$parent.opsel1"></span></a></td>
59                     </tr>
60                   </tbody>
61                   <tfoot>
62                     <tr>
63                       <td colspan="5">
64                         <div id="pagdiv"></div>
65                       </td>
66                     </tr>
67                   </tfoot>
68           </table>
69       </div>
70       <input type="hidden" name="groupid" id="groupid" value="#{jgroup.group.id}"/>
71
72 <div class="modal fade" id="modal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
73   <div class="modal-dialog">
74     <div class="modal-content">
75       <div class="modal-header">
76         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
77           <span aria-hidden="true">&times;</span>
78         </button>
79         <h4 class="modal-title" >操作</h4>
80       </div>
81       <div class="modal-body">
82         <div class="row">
83           <div class="col-md-12 form-horizontal">
84         <div class="form-group">
85           <label for="TARGET" class="col-sm-2 control-label">资源url</label>
86           <div class="col-sm-8">
87             <span class="form-control" data-bind="text:res().url"></span>
88           </div>
89         </div>
90           </div>
91         </div>
92         <table class="table table-striped table-bordered table-condensed table-hover">
93             <thead>
94               <tr>
95                 <th>序号</th>
96                 <th>操作</th>
97                 <th>选中</th>
98               </tr>
99             </thead>
100             <tbody data-bind="foreach:ops">
101               <tr>
102                 <td data-bind="text:$index()+1">序号</td>
103                 <td data-bind="text:$data.title">操作</td>
104                 <td><input type="checkbox" data-bind="checked:$data.check" /></td>
105               </tr>
106             </tbody>
107         </table>
108       </div>
109       <div id="errmsg"></div>
110       <div class="modal-footer">
111         <button type="button" class="btn btn-primary" data-loading-text="保存中..." id="tjbtn">更改</button>
112       </div>
113     </div>
114   </div>
115 </div>
116     </ui:define>
117     <ui:define name="myscript">
118     <script type="text/javascript" src="#{request.contextPath}/system/permission/js/groupperms.js"></script>
119     </ui:define>
120 </ui:composition>
121 </html>