home.html 3.94 KB
<style>
    .system_change_log{
        background: #fff;
        color: #666;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        height: calc(100% + 10px);
        margin-top: -10px;
        font-size: 14px;
        padding: 10px 0 0 15px;
        overflow: auto;
    }
    .system_change_log>ul{
        margin:0px;
        list-style:none;
    }

    .system_change_log>ul>li.sub_title{
        text-indent: 0;
    }

    .system_change_log>ul>li.sub_title>h6{
        font-size: 12px;
        font-family: 微软雅黑;
        color: #000;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .system_change_log>ul>li{
        margin: 5px 0;
        text-indent: 25px;
    }

    .system_change_log .label{
        width: 55px;
        display: inline-block;
        padding: 0 10px;
        line-height: 1.5;
        font-size: 12px;
        color: #fff;
        vertical-align: middle;
        white-space: nowrap;
        border-radius: 2px !important;
        text-transform: uppercase;
        text-align: center;
        text-indent: 3px;
        margin-right: 15px;
    }
    .system_change_log .label.s_c_add{
        background-color: #32d296;
    }

    .system_change_log .label.s_c_change{
        background-color: #1e87f0;
    }

    .system_change_log .label.s_c_remove{
        background-color: #faa05a;
    }
</style>
<div class="system_change_log">
    <h2 style="text-indent: 35px;margin: 10px 0 5px;">2023-03-06 更新说明 Changelog</h2>
    <br><br>
    <ul>
        <li class="sub_title"><h6>线调</h6></li>
        <li><span class="label s_c_change">修改</span>1."无发有到"提示色在某些情况下显示异常修正</li>
        <li><span class="label s_c_change">修改</span>2."设备管理"中按GPS时间排序异常修正</li>
        <li class="sub_title"><h6>报表</h6></li>
        <li><span class="label s_c_change">修改</span>1."(班次)到离站"报表,查询速度优化</li>
        <li class="sub_title"><h6>系统安全</h6></li>
        <li><span class="label s_c_change">修改</span>1.对系统中错误信息提示做调整,避免披露过多信息被攻击</li>
        <li><span class="label s_c_change">修改</span>2.使用CA签发的电子证书,浏览器可以保存用户密码信息</li>
    </ul>

</div>

<script type="text/javascript">
    $.ajax({
        url: '/eci/validate_get_destroy_info',
        dataType: "json",
        success: function(rs) {
            if (rs && rs.status === "SUCCESS") {
                if (rs.data && rs.data.length && rs.data.length > 0) {
                    var htmlText = "";
                    var wrapData = [];
                    if (rs.data.length > 8) {
                        htmlText = "<span style='font-weight: bold; font-style: italic; '>部分停用信息如下:</span></br>";
                        wrapData = rs.data.slice(0, 8);
                    } else {
                        htmlText = "<span style='font-weight: bold; font-style: italic; '>所有停用信息如下:</span></br>";
                        wrapData = rs.data;
                    }
                    $.each(wrapData, function(index, value) {
                        wrapData[index] = "<span style='font-size: 14px;'>" + value + "</span>";
                    });

                    htmlText += wrapData.join("</br>");

                    swal({
                        title: "排班人员停用信息",
                        text: htmlText,
                        html: true,
                        type: "warning",
                        showCancelButton: true,
                        cancelButtonText: "关闭",
                        confirmButtonColor: "#3598dc",
                        confirmButtonText: "下载所有停用信息",
                        closeOnConfirm: false

                    }, function() {
                        window.location.href = "/eci/validate_get_destroy_info/download";
                    });
                }
            }
        }
    });

</script>