<?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 form-horizontal main-content-header">
|
<div class="col-md-6">
|
<div class="input-group">
|
<input type="text" class="form-control" placeholder="请输入过滤内容" aria-describedby="basic-addon2" data-bind="value:filter" />
|
<a href="javascript:;" id="searcha" class="input-group-addon"><span class="fa fa-search"></span></a>
|
</div>
|
</div>
|
<div class="col-md-6">
|
<div class="form-group">
|
<label for="TARGET" class="col-sm-2 control-label">资源分类</label>
|
<div class="col-sm-8">
|
<select class="form-control" data-bind="value:type,event:{change:change}">
|
<option value="">-选择类型-</option>
|
<option value="system">system</option>
|
<option value="module">module</option>
|
<option value="page">page</option>
|
<option value="dom">dom</option>
|
<option value="others">others</option>
|
</select>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
<table class="table table-striped table-bordered table-condensed table-hover">
|
<thead>
|
<tr>
|
<th>序号</th>
|
<th>资源名</th>
|
<th>权限</th>
|
<th>操作值</th>
|
<th>操作</th>
|
</tr>
|
</thead>
|
<tbody data-bind="foreach:ress1">
|
<tr>
|
<td data-bind="text:$index()+1">序号</td>
|
<td data-bind="text:$data.url">登陆名</td>
|
<td><input type="checkbox" data-bind="checked:$data.perm,click:$parent.ressel" /></td>
|
<td data-bind="text:$data.ov"></td>
|
<td><a href="javascript:void(0);"><span class="fa fa-fire" data-bind="click:$parent.opsel1"></span></a></td>
|
</tr>
|
</tbody>
|
<tfoot>
|
<tr>
|
<td colspan="5">
|
<div id="pagdiv"></div>
|
</td>
|
</tr>
|
</tfoot>
|
</table>
|
</div>
|
<input type="hidden" name="groupid" id="groupid" value="#{jgroup.group.id}"/>
|
|
<div class="modal fade" id="modal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
<div class="modal-dialog">
|
<div class="modal-content">
|
<div class="modal-header">
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
<span aria-hidden="true">×</span>
|
</button>
|
<h4 class="modal-title" >操作</h4>
|
</div>
|
<div class="modal-body">
|
<div class="row">
|
<div class="col-md-12 form-horizontal">
|
<div class="form-group">
|
<label for="TARGET" class="col-sm-2 control-label">资源url</label>
|
<div class="col-sm-8">
|
<span class="form-control" data-bind="text:res().url"></span>
|
</div>
|
</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:ops">
|
<tr>
|
<td data-bind="text:$index()+1">序号</td>
|
<td data-bind="text:$data.title">操作</td>
|
<td><input type="checkbox" data-bind="checked:$data.check" /></td>
|
</tr>
|
</tbody>
|
</table>
|
</div>
|
<div id="errmsg"></div>
|
<div class="modal-footer">
|
<button type="button" class="btn btn-primary" data-loading-text="保存中..." id="tjbtn">更改</button>
|
</div>
|
</div>
|
</div>
|
</div>
|
</ui:define>
|
<ui:define name="myscript">
|
<script type="text/javascript" src="#{request.contextPath}/system/permission/js/groupperms.js"></script>
|
</ui:define>
|
</ui:composition>
|
</html>
|