index.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!--#include file="/inc/header.html"-->
  2. <script type="text/javascript">
  3. window.renderHeader=function(e){
  4. var template="{{#childenList}}<li class=\"bif-nav-item\" data-type=\"{{moduleUrl}}\">{{moduleName}}</li>{{/childenList}}";
  5. var views = Mustache.render(template, e);
  6. $("#bif-nav-ul").html(views);
  7. $(".tree-breadcrumb #nav-item-a").html($("#bif-nav-ul li:first-child").html());
  8. $("#bif-nav-ul li:first-child").addClass("active");
  9. tabSelect.performanceAppraisalTree(e.childenList);
  10. };
  11. $(function(){
  12. var modules=JSON.parse(window.sessionStorage.getItem("modules"));
  13. if(window.treemap){
  14. renderHeader(window.treemap[203]);
  15. }else if(modules){
  16. renderHeader(modules.treemap[203]);
  17. }
  18. })
  19. </script>
  20. <style type="text/css">.hide{display: none;}</style>
  21. <div class="con-wrap">
  22. <div class="tree-breadcrumb">
  23. <span class="nav-prov">首页</span>&gt;
  24. <span class="nav-prov"><a href="/pages/performanceAppraisal/index.html">绩效考核</a></span>&gt;
  25. <span class="nav-item"><a href="javascript:;" id="nav-item-a"></a></span>
  26. </div>
  27. <div class="bif-nav">
  28. <ul id="bif-nav-ul">
  29. </ul>
  30. </div>
  31. <div id="con-map" class="main3">
  32. <div class="bif-container">
  33. </div>
  34. </div>
  35. </div>
  36. <!--#include file="/inc/footer.html"-->
  37. <style>
  38. #con-map{
  39. height:400px;
  40. min-height: 400px;
  41. }
  42. #con-main{
  43. min-height:420px;
  44. }
  45. .bif-nav-item{
  46. width: 150px;
  47. text-align: center;
  48. }
  49. </style>
  50. <script type="text/javascript">
  51. $(function() {
  52. tabSelect.performanceAppraisalTree();
  53. });
  54. </script>
  55. </body>
  56. </html>