123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <!--#include file="/inc/header.html"-->
- <script type="text/javascript">
- window.renderHeader=function(e)
- {
- var template="{{#childenList}}<li class=\"bif-nav-item\" data-type=\"{{moduleUrl}}\">{{moduleName}}</li>{{/childenList}}";
- var views = Mustache.render(template, e);
- $("#bif-nav-ul").html(views);
- $(".tree-breadcrumb #nav-item-a").html($("#bif-nav-ul li:first-child").html());
- $("#bif-nav-ul li:first-child").addClass("active");
- };
- $(function(){
- var modules=JSON.parse(window.sessionStorage.getItem("modules"));
- if(window.treemap){
- renderHeader(window.treemap[12]);//用户管理ID 6
- }else if(modules){
- renderHeader(modules.treemap[12]);
- }
- })
- </script>
- <div class="con-wrap">
- <div class="tree-breadcrumb">
- <span class="nav-prov">首页</span>>
- <span class="nav-prov"><a href="/pages/usermanage/index.html">用户管理</a></span>>
- <span class="nav-item"><a href="javascript:;" id="nav-item-a"></a></span>
- </div>
- <div class="bif-nav">
- <ul id="bif-nav-ul">
- <!-- <li class="bif-nav-item active" data-type='userManage'>用户管理</li>
- <li class="bif-nav-item" data-type='storemanInfo' >保管人员信息</li>
- <li class="bif-nav-item" data-type='roleGroupManage' >角色组管理</li>
- <li class="bif-nav-item " data-type="organizationMaintence" >组织架构维护</li>
- -->
- </ul>
- </div>
- <div id="con-map" class="main3">
- <div class="bif-container">
- </div>
- </div>
- </div>
- <div class="easyui-window rgm-w role-manage-addedit" id="role-manage-addedit" data-options="closed:true" style="padding: 10px;width:700px;height: 500px;">
- <form class="role-form">
- <input type="easyui-textbox" style="display: none;" name="id">  
- 角色组名:<input type="easyui-textbox easyui-validatebox name" name="name" id="role-name" data-options="validType:'length[0,20]'">  
- 备注: <input type="easyui-textbox easyui-validatebox remark" name="remark" id="role-remark" data-options="validType:'length[0,20]'">
- </form>
- <br />
- <ul id="rgm-tree" class="easyui-tree" style="margin: 10px 0;"></ul>
- <button type="button" href="#" class="easyui-linkbutton bd-add-s bd-win-y " plain="true">确定</button>
- </div>
- <!--#include file="/inc/footer.html"-->
- <style>
- .hide {
- display: none;
- }
- .pic {
- width: 300px;
- }
- .bif-nav-item {
- width: 100px;
- text-align: center;
- }
- .form-left {
- width: 500px;
- float: left;
- }
- .form-right {
- width: 200px;
- min-height: 150px;
- float: left;
- }
- .form-right .pic {
- border: 1px solid #ccc;
- float: left;
- width: 100%;
- min-height: 150px;
- background: #ccc;
- }
- #file {
- border-color: #ffa8a8;
- background-color: #F30000;
- color: #000;
- width: 100%;
- height: 20px;
- margin-top: 10px;
- }
- .pf-pitem-li {
- min-width: 100px;
- }
- </style>
- <script>
- $(function() {
- userManage.init();
- // base.renderwindow('#role-manage-addedit',
- // {
- // title: '更新角色组',
- // width: 700,
- // height: 500,
- // close:false
- // });
- });
- </script>
- </body>
- </html>
|