pang.jiabao
2024-07-28 ee6863dd561415cebed005d51e8c15ec8c2f5004
src/main/webapp/views/console.html
@@ -20,9 +20,9 @@
                <h1>自动仓库WCS监控图</h1>
                <h6>AUTOMATIC WAREHOUSE WCS MONITORING DIAGRAM</h6>
            </div>
            <div class="head-right">
                <img src="../static/images/zy-logo.png" alt="中扬" height="44" width="80">
            </div>
<!--            <div class="head-right">-->
<!--                <img src="../static/images/zy-logo.png" alt="中扬" height="44" width="80">-->
<!--            </div>-->
        </div>
        <!-- 货架 + 堆垛机 + 入库站点 -->
        <div class="main-part">
@@ -568,7 +568,7 @@
                            siteEl.html(sites[i].siteId);
                        }
                        if (sites[i].siteId === '1' || sites[i].siteId === '2') {
                        if (sites[i].siteId === '1' || sites[i].siteId === '2' || sites[i].siteId === '3') {
                            carAnimate(Number(sites[i].siteId), Number(sites[i].nearbySta));
                        }
@@ -715,7 +715,7 @@
    function carAnimate(id, target) {
        // debugger
        var targetTop = 0;
        if (id === 1 || id === '1' || id === '2' || id === 2) {
        if (id === 1 || id === '1' || id === '2' || id === 2 || id === '3' || id === 3) {
            switch (target) {
                case 1:
                    targetTop += 792;