1
duhe
2023-12-15 1a3ef899e4758365f5ae6a725b13c35db2ce5afb
WebTM/views/indexMenu.html
@@ -11,7 +11,12 @@
    <link rel="stylesheet" href="../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all">
    <script src="../layuiadmin/Scripts/jquery-3.5.1.min.js"></script>
    <script language="JavaScript">//屏蔽后退按钮
        history.pushState(null, null, document.URL);
        window.addEventListener('popstate', function () {
            history.pushState(null, null, document.URL);
        });
    </script>
    <script>
        /^http(s*):\/\//.test(location.href) || alert('请先部署到 localhost 下再访问');
    </script>
@@ -201,14 +206,14 @@
            //显示侧边菜单
            function set_sideMenuDisPlay() {
                //判断用户是移动端还是PC端
                var judgeMorPCflag = judgeMorPC();
                if (!judgeMorPCflag) {//移动端
                    var dd = '<dd><a href="车间管理/工序流转/MES_StationInBill_PDA.html">工序进站接收单PDA</a ></dd > <dd><a href="车间管理/工序流转/MES_StationOutBill_PDA.html">工序出站汇报单PDA</a></dd>';
                    $("#append").prepend(dd);
                }
                if (!judgeMorPCflag) {//移动端
                    window.location.href = 'index_Mobile.html'
                }
                //var judgeMorPCflag = judgeMorPC();
                //if (!judgeMorPCflag) {//移动端
                //    var dd = '<dd><a href="车间管理/工序流转/MES_StationInBill_PDA.html">工序进站接收单PDA</a ></dd > <dd><a href="车间管理/工序流转/MES_StationOutBill_PDA.html">工序出站汇报单PDA</a></dd>';
                //    $("#append").prepend(dd);
                //}
                //if (!judgeMorPCflag) {//移动端
                //    window.location.href = 'index_Mobile.html'
                //}
                var ajaxLoad = layer.load();
                //获取菜单列表数据