songxingwei 4 years ago
parent
commit
f024a0c352
1 changed files with 4 additions and 47 deletions
  1. 4 47
      app/admin/view/school/info.html

+ 4 - 47
app/admin/view/school/info.html

@@ -6,9 +6,9 @@
     <li>
         <a href="index.html" id="firstNode" class="cur" target="menuFrame"><i class="fa fa-bar-chart-o fa-fw"></i><b>统计报表</b></a>
         <ul class="nav nav-second-level">
-            <li><a href="import.html" target="menuFrame">进货报表</a></li>
-            <li><a href="export.html" target="menuFrame">出货报表</a></li>
-            <li><a href="check.html" target="menuFrame">毛利报表</a></li>
+            <li><a href="admin.html#/admin/school/info.html?id=5581&spm=m-67-95-96" target="menuFrame">进货报表</a></li>
+            <li><a href="admin.html#/admin/school/info.html?id=5581&spm=m-67-95-96" target="menuFrame">出货报表</a></li>
+            <li><a href="admin.html#/admin/school/index.html?spm=m-67-95-96" target="menuFrame">毛利报表</a></li>
         </ul>
     </li>
     <li>
@@ -35,59 +35,16 @@
         </ul>
 
     </li>
-    <li>
-        <a href="rewritepwd.html" target="menuFrame"><i class="glyphicon glyphicon-pencil"></i><b>修改密码</b></a>
-    </li>
 
 </ul>
 <div id="page_content">
-    <iframe id="menuFrame" name="menuFrame" src="index.html" style="overflow:visible;" scrolling="yes" frameborder="no" width="100%" height="100%; float:left">
+    <iframe id="menuFrame" name="menuFrame" src="" style="overflow:visible;" scrolling="yes" frameborder="no" width="100%" height="100%; float:left">
     </iframe>
 </div>
 {/block}
 
 {block name='script'}
 <script>
-    layui.use('element', function(){
-        var $ = layui.jquery
-            ,element = layui.element; //Tab的切换功能,切换事件监听等,需要依赖element模块
-
-        //触发事件
-        var active = {
-            tabAdd: function(){
-                //新增一个Tab项
-                element.tabAdd('demo', {
-                    title: '新选项'+ (Math.random()*1000|0) //用于演示
-                    ,content: '内容'+ (Math.random()*1000|0)
-                    ,id: new Date().getTime() //实际使用一般是规定好的id,这里以时间戳模拟下
-                })
-            }
-            ,tabDelete: function(othis){
-                //删除指定Tab项
-                element.tabDelete('demo', '44'); //删除:“商品管理”
-
-
-                othis.addClass('layui-btn-disabled');
-            }
-            ,tabChange: function(){
-                //切换到指定Tab项
-                element.tabChange('demo', '22'); //切换到:用户管理
-            }
-        };
-
-        $('.site-demo-active').on('click', function(){
-            var othis = $(this), type = othis.data('type');
-            active[type] ? active[type].call(this, othis) : '';
-        });
-
-        //Hash地址的定位
-        var layid = location.hash.replace(/^#test=/, '');
-        element.tabChange('test', layid);
-
-        element.on('tab(test)', function(elem){
-            location.hash = 'test='+ $(this).attr('lay-id');
-        });
 
-    });
 </script>
 {/block}