1
yangle
2023-12-18 eed31c2a449738ec359ed1bb4c1a98b9dd63673e
WebTM/views/index_QiaoYi.html
@@ -12,7 +12,13 @@
    <link rel="stylesheet" href="../layuiadmin/style/admin.css" media="all">
    <script src="../layuiadmin/zgqCustom/zgqCustom.js"></script>
    <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>
@@ -831,15 +837,15 @@
                    icon: 4, skin: 'layui-layer-lan', title: "温馨提示", closeBtn: 0, btn: ['重新登录']
                }, function () { window.location.href = "user/login.html"; });
            }
            //判断用户是移动端还是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_QiaoYi.html'
            }
            ////判断用户是移动端还是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_QiaoYi.html'
            //}
            /* $("#LAY_app_flexible").click();*/
        });