jichu.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!--#include file="/inc/header.html"-->
  2. <script type="text/javascript">
  3. window.renderHeader=function(e)
  4. {
  5. var template="{{#childenList}}<li class=\"bif-nav-item\" title=\"{{moduleUrl}}\" data-fun=\"{{moduleUrl}}\" data-href=\"{{moduleUrl}}\">{{moduleName}}</li>{{/childenList}}";
  6. var views = Mustache.render(template, e);
  7. $("#bif-nav-ul").html(views);
  8. $(".tree-breadcrumb #nav-item-a").html($("#bif-nav-ul li:first-child").html());
  9. $("#bif-nav-ul li:first-child").addClass("active");
  10. //tabSelect.basedataTree(e.childenList);
  11. };
  12. $(function(){
  13. var treemap = {
  14. moduleName:'参数管理',
  15. moduleType:'pages/basedata/index.html',
  16. moduleUrl:'pages/basedata/index.html',
  17. childenList:[
  18. {
  19. moduleName:'基础参数管理',
  20. moduleType:'',
  21. moduleUrl:'/pages/basedata/jichu.html',
  22. },{
  23. moduleName:'阀值参数管理',
  24. moduleType:'',
  25. moduleUrl:'/pages/basedata/threshold.html',
  26. },
  27. // {
  28. // moduleName:'考核类参数管理',
  29. // moduleType:'',
  30. // moduleUrl:'/pages/basedata/checkRule.html',
  31. // },
  32. // {
  33. // moduleName:'规则生成',
  34. // moduleType:'',
  35. // moduleUrl:'/pages/basedata/checkRule.html',
  36. // },
  37. // {
  38. // moduleName:'巡查点管理',
  39. // moduleType:'',
  40. // moduleUrl:'/pages/basedata/checkpoint.html',
  41. // }
  42. ]
  43. }
  44. renderHeader(treemap);
  45. })
  46. </script>
  47. <div class="con-wrap" style="min-height: 400px;" >
  48. <!-- <div class="tree-breadcrumb">
  49. <span class="nav-prov">首页</span>&gt;
  50. <span class="nav-prov"><a id="cansgl" href="/pages/basedata/index.html">参数管理</a></span>&gt;
  51. <span class="nav-prov"><a href="javascript:;" id="nav-item-a"></a></span>
  52. </div> -->
  53. <div id="con-map" class="main3" style="margin-top: 0px;overflow:hidden">
  54. <div class="bif-nav">
  55. <ul id="bif-nav-ul" >
  56. </ul>
  57. </div>
  58. <div class="bif-container" id="bif-container">
  59. <div class="author-nav-tree">
  60. <ul id="tree-tt" style="height:500px;">
  61. </ul>
  62. </div>
  63. <div class="bif-con panel-noscroll" style="height: auto;">
  64. <div id="bd-toolbar" style="margin-top: 0;padding: 10px 5px;">
  65. 类型:<input id="bd-type" class="easyui-combobox search-typeName bd-w-type" editable="true" name="bd-s-type">&emsp;
  66. 名称:<input class="easyui-textbox easyui-validatebox search-name bd-w-name" name="bd-s-name" data-options="validType:'length[0,20]'">&emsp;
  67. <a href="#" class="easyui-linkbutton bd-add-s bd-search">查找</a>
  68. <a href="#" class="easyui-linkbutton bd-add-s bd-add-bt">新增</a>
  69. <a href="#" class="easyui-linkbutton bd-add-s clear-btn1" plain="true">清空</a>
  70. </div>
  71. <div id="base-table" style="height:500px;">
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <div class="bd-w" style="padding-left: 10px"></div>
  78. <!--#include file="/inc/footer.html"-->
  79. <style>
  80. .author-nav-tree {
  81. display: inline-block;
  82. width: 200px;
  83. min-height: 400px;
  84. border: 1px solid lightgrey;
  85. float: left;
  86. overflow-x: hidden;
  87. overflow-y: auto;
  88. margin-top: 10px;
  89. }
  90. #con-map {
  91. min-height: 400px;
  92. display: inline-block;
  93. margin-top: 10px;
  94. }
  95. .bif-con {
  96. width: 980px;
  97. height: 404px;
  98. margin-top: 10px;
  99. margin-left: 14px;
  100. float: left;
  101. }
  102. .bif-nav-item{
  103. /* width: 150px; */
  104. text-align: center;
  105. }
  106. </style>
  107. <script type="text/javascript">
  108. // $(function() {
  109. // $('#bif-nav').tabs({
  110. // border:false,
  111. // onSelect:function(title){
  112. // alert(title+' is selected');
  113. // }
  114. // });
  115. baseData.init();
  116. // });
  117. </script>
  118. </body>
  119. </html>