自动化立体仓库 - WCS系统
#
whycq
2022-08-13 8b6c03b3f14f1e140c2ab694f1e2a3bbc123d7f4
#
2个文件已修改
38 ■■■■ 已修改文件
src/main/webapp/static/css/render.css 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/views/console.html 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/css/render.css
@@ -459,11 +459,11 @@
    width: 291px;
    height: 365px;
    background-image: url(../images/Popup-yellow.png);
    position: fixed;
    position: absolute;
    color:white;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    /*left: 50%;*/
    /*top: 50%;*/
    /*transform: translate(-50%,-50%);*/
    z-index: 101;
}
/* 输送设备弹窗 */
@@ -471,11 +471,11 @@
    width: 291px;
    height: 336px;
    background-image: url(../images/Popup-green.png);
    position: fixed;
    position: absolute;
    color:white;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    /*left: 50%;*/
    /*top: 50%;*/
    /*transform: translate(-50%,-50%);*/
    z-index: 101;
}
#siteWindow-head {
@@ -530,15 +530,11 @@
/*库位弹窗*/
#locWindow {
    width: 292px;
    height: 170px;
    background-color: rgba(0,0,0,0.7);
    height: 175px;
    background-color: rgba(0,0,0,0.85);
    border-radius: 20px;
    /*background-image: url(../images/Popup-yellow.png);*/
    position: fixed;
    position: absolute;
    color:white;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 101;
}
#locWindow-head {
src/main/webapp/views/console.html
@@ -599,9 +599,11 @@
</script>
<script type="text/javascript">
    // 弹窗站点信息
    $('.site').on('click', function () {
    $('.site').on('click', function (e) {
        var id = this.id.split("-")[1];
        $("#siteWindow").attr("style", "display:block;");//显示div
        $("#siteWindow").css('left', e.pageX);
        $("#siteWindow").css('top', e.pageY);
        $("#crnWindow").attr("style", "display:none;");
        $("#locWindow").attr("style", "display:none;");
        $(".detailed").empty();
@@ -630,9 +632,11 @@
    });
    // 堆垛机信息
    $('.machine').on('click', function () {
    $('.machine').on('click', function (e) {
        var id = this.id.split("-")[1];
        $("#crnWindow").attr('style', 'display:block;');
        $("#crnWindow").css('left', e.pageX);
        $("#crnWindow").css('top', e.pageY);
        $("#siteWindow").attr("style", "display:none;");
        $("#locWindow").attr("style", "display:none;");
        $('.detailed').empty();
@@ -661,7 +665,7 @@
    })
    // 堆垛机信息
    $('.loc').on('click', function () {
    $('.loc').on('click', function (e) {
        var id = this.id.split("-")[1];
        $.ajax({
            url: baseUrl + "/console/loc/detail",
@@ -675,6 +679,8 @@
            success: function (res) {
                if (res.code === 200) {
                    $("#locWindow").attr('style', 'display:block;');
                    $("#locWindow").css('left', e.pageX);
                    $("#locWindow").css('top', e.pageY);
                    $("#siteWindow").attr("style", "display:none;");
                    $("#crnWindow").attr("style", "display:none;");
                    $('.detailed').empty();