123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <!--#include file="/inc/header.html"-->
- <script type="text/javascript">
- window.renderHeader=function(e)
- {
- var template="{{#childenList}}<li class=\"bif-nav-item\" title=\"{{moduleUrl}}\" data-fun=\"{{moduleUrl}}\" data-href=\"{{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");
- //tabSelect.basedataTree(e.childenList);
- };
- $(function(){
- var treemap = {
- moduleName:'参数管理',
- moduleType:'pages/basedata/index.html',
- moduleUrl:'pages/basedata/index.html',
- childenList:[
- {
- moduleName:'基础参数管理',
- moduleType:'',
- moduleUrl:'/pages/basedata/jichu.html',
- },{
- moduleName:'阀值参数管理',
- moduleType:'',
- moduleUrl:'/pages/basedata/threshold.html',
- },
- // {
- // moduleName:'考核类参数管理',
- // moduleType:'',
- // moduleUrl:'/pages/basedata/checkRule.html',
- // },
- // {
- // moduleName:'规则生成',
- // moduleType:'',
- // moduleUrl:'/pages/basedata/checkRule.html',
- // },
- // {
- // moduleName:'巡查点管理',
- // moduleType:'',
- // moduleUrl:'/pages/basedata/checkpoint.html',
- // }
- ]
- }
- renderHeader(treemap);
- })
- </script>
- <div class="con-wrap" style="min-height: 400px;" >
- <!-- <div class="tree-breadcrumb">
- <span class="nav-prov">首页</span>>
- <span class="nav-prov"><a id="cansgl" href="/pages/basedata/index.html">参数管理</a></span>>
- <span class="nav-prov"><a href="javascript:;" id="nav-item-a"></a></span>
- </div> -->
- <div id="con-map" class="main3" style="margin-top: 0px;overflow:hidden">
- <div class="bif-nav">
- <ul id="bif-nav-ul" >
- </ul>
- </div>
- <div class="bif-container" id="bif-container">
- <div class="author-nav-tree">
- <ul id="tree-tt" style="height:500px;">
- </ul>
- </div>
- <div class="bif-con panel-noscroll" style="height: auto;">
- <div id="bd-toolbar" style="margin-top: 0;padding: 10px 5px;">
- 类型:<input id="bd-type" class="easyui-combobox search-typeName bd-w-type" editable="true" name="bd-s-type"> 
- 名称:<input class="easyui-textbox easyui-validatebox search-name bd-w-name" name="bd-s-name" data-options="validType:'length[0,20]'"> 
- <a href="#" class="easyui-linkbutton bd-add-s bd-search">查找</a>
- <a href="#" class="easyui-linkbutton bd-add-s bd-add-bt">新增</a>
- <a href="#" class="easyui-linkbutton bd-add-s clear-btn1" plain="true">清空</a>
- </div>
- <div id="base-table" style="height:500px;">
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="bd-w" style="padding-left: 10px"></div>
- <!--#include file="/inc/footer.html"-->
- <style>
- .author-nav-tree {
- display: inline-block;
- width: 200px;
- min-height: 400px;
- border: 1px solid lightgrey;
- float: left;
- overflow-x: hidden;
- overflow-y: auto;
- margin-top: 10px;
- }
- #con-map {
- min-height: 400px;
- display: inline-block;
- margin-top: 10px;
- }
- .bif-con {
- width: 980px;
- height: 404px;
- margin-top: 10px;
- margin-left: 14px;
- float: left;
- }
- .bif-nav-item{
- /* width: 150px; */
- text-align: center;
- }
- </style>
- <script type="text/javascript">
- // $(function() {
- // $('#bif-nav').tabs({
- // border:false,
- // onSelect:function(title){
- // alert(title+' is selected');
- // }
- // });
- baseData.init();
- // });
- </script>
- </body>
- </html>
|