home.html 4.05 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;">2022-10-10 更新说明 Changelog</h2>
    <br><br>
    <ul>
        <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.登录密码错误2次加验证码,错4次锁定10分钟,管理员可解锁</li>
        <li><span class="label s_c_change">修改</span>2.登录时做弱密码检查,存在弱密码在进入主页面后强制修改密码</li>
        <li><span class="label s_c_change">修改</span>3.密码规则加入连续性字符验证,如不能出现123、abc样的连续字符</li>
        <li><span class="label s_c_change">修改</span>4.记录最后登录日期</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>