123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <!--#include file="/inc/header.html"-->
- <script type="text/javascript">
- window.renderHeader=function(e)
- {
- var template="{{#childenList}}<li class=\"bif-nav-item\" data-type=\"{{moduleType}}\">{{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.grainChemicalTree(e.childenList);
- };
- $(function(){
- var modules=JSON.parse(window.sessionStorage.getItem("modules"));
- if(window.treemap){
- renderHeader(window.treemap[11]); //储粮化学药剂管理ID 11
- }else if(modules){
- renderHeader(modules.treemap[11]);
- }
- })
- </script>
- <div class="con-wrap">
- <div class="tree-breadcrumb">
- <span class="nav-prov">首页</span>>
- <span class="nav-prov"><a href="/pages/grainChemical/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">
- </ul>
- </div>
- <div id="con-main">
- <div id="con-map" class="main3">
- </div>
- </div>
- </div>
- <!--#include file="/inc/footer.html"-->
- <style>
- #con-map{
- height:400px;
- min-height: 400px;
- }
- #con-main{
- min-height:420px;
- }
- .bif-nav-item{
- width: 150px;
- text-align: center;
- }
- </style>
- <script type="text/javascript" src="/src/sub/grainChemical.js"></script>
- </body>
- </html>
|