#
vincent
2020-06-02 0a48088be18e19f20cdfdfd5eb3553585bc87cfb
#
1个文件已修改
20 ■■■■■ 已修改文件
src/main/webapp/views/console.html 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/console.html
@@ -416,7 +416,7 @@
    setInterval(function () {
        getSitesInfo();
        getCrnInfo();
    }, 1000);
    }, 500);
    // 输送设备实时数据获取
    function getSitesInfo(){
@@ -461,6 +461,24 @@
        });
    }
    // 扫码器实时数据获取
    function getBarcodeInfo(){
        $.ajax({
            url: baseUrl+ "/console/latest/data/barcode",
            headers: {'token': localStorage.getItem('token')},
            method: 'POST',
            success: function (res) {
                if (res.code === 200){
                } else if (res.code === 403){
                    top.location.href = baseUrl+"/login";
                }  else {
                    alert(res.msg);
                }
            }
        });
    }
    // 堆垛机偏移动画
    function crnAnimate(id, leftVal) {
        switch (id) {