123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!--#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");
- };
- $(function() {
- var modules = JSON.parse(window.sessionStorage.getItem("modules"));
- if (window.treemap) {
- renderHeader(window.treemap[3]); //资产管理ID 3
- } else if (modules) {
- renderHeader(modules.treemap[3]);
- }
- })
- </script>
- <div class="con-wrap">
- <div class="tree-breadcrumb">
- <span class="nav-prov">首页</span>>
- <span class="nav-prov"><a href="/pages/deviceDrug/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">
- <!-- <li class="bif-nav-item active" data-type="1">药品入库记录</li>
- <li class="bif-nav-item" data-type="2">药品出库记录</li>
- <li class="bif-nav-item" data-type="3">设备入库记录</li>
- <li class="bif-nav-item" data-type="4">设备出库记录</li> -->
- </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">
- $(function() {
- tabSelect.deviceDrugTree();
- });
- </script>
- <script type="text/javascript" src="/src/sub/inAndOut.js"></script>
- <script type="text/javascript" src="/src/sub/dm.js"></script>
- </body>
- </html>
|