hjg
2023-11-17 3780c5e65b05bf23020810798babc6d20311fa79
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
<?xml version="1.0" encoding="UTF-8"?>
<!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"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<ui:composition template="/template/nit/tmp_brief.xhtml">
    <ui:define name="acss">
        <style>
        .form-body span.text {
            line-height: 34px
        }
        </style>
    </ui:define>
    <ui:define name="acontent">
         <div class="row main-content">
     <div class="col-md-12 main-content-header">
      <div class="row">
          <div class="col-md-12 form-horizontal">
         
        </div>
      </div>
      </div>
    
          <table class="table table-striped table-bordered table-condensed table-hover">
                  <thead>
                    <tr>
                      <th>序号</th>
                      <th>模块</th>
                      <th>选择操作</th>
                    </tr>
                  </thead>
                  <tbody data-bind="foreach:rolemodules">
                    <tr>
                      <td data-bind="text:$index()+1">序号</td>
                      <td data-bind="text:$data.name"></td>
                      <td >
                        <!-- ko foreach:ops -->
                            <label><input type="checkbox" class="form-control" data-bind="checked:check,click:$root.opcheck"/><span data-bind="text:title"></span></label>
                        <!-- /ko-->
                      </td>
                    </tr>
                  </tbody>
                  <tfoot>
                    <tr>
                      <td colspan="6">
                        <div id="pagdiv"></div>
                      </td>
                    </tr>
                  </tfoot>
          </table>
      </div>
      <input type="hidden" name="role" id="role" value="#{jrole.role.id}"/>
    </ui:define>
    <ui:define name="myscript">
    <script type="text/javascript" src="#{request.contextPath}/system/permission/js/rolemodules.js"></script>
    </ui:define>
</ui:composition>
</html>