12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <!--#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");
- var num = sessionStorage.getItem('old')
- tabSelect.jiXieSheBei(num);
- };
- $(function() {
- var modules = JSON.parse(window.sessionStorage.getItem("modules"));
- renderHeader(window.treemap[10]); //器材设备管理ID 10
- $('.tool-wrap,.logo-wrap,.nav-wrap,.bottom-wrap,.bif-nav').hide()
- })
- var getGrainData = {};
- $.ajax({
- type: "get",
- dataType: 'json',
- async: false,
- url: config.baseUrl + config.organization.getAllGrainList,
- success: function(e) {
- getGrainData = e.data.data;
- },
- error: function(e) {
- console.log(e);
- }
- });
- </script>
- <div class="con-wrap">
- <div class="bif-nav">
- <ul id="bif-nav-ul">
- </ul>
- </div>
- <div id="con-main main6">
- <div id="con-map" class="main3 main6">
- </div>
- </div>
- </div>
- <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/equipmentDevice.js"></script>
|