deptresult.html 5.77 KB
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('上报统计')" />
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">

        <div class="row">
            <div class="col-sm-12">
                <div class="ibox-title">
                    本部门累计上报
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-3">
                <div class="ibox" style="margin-bottom: 0px;">
                    <div class="ibox-content">
                        <h5>双公示</h5>
                        <h2 id="total_publicity"></h2>
                    </div>
                </div>
            </div>

            <div class="col-sm-3">
                <div class="ibox" style="margin-bottom: 0px;">
                    <div class="ibox-content">
                        <h5>信用承诺</h5>
                        <h2 id="total_commit"></h2>
                    </div>
                </div>
            </div>
        </div>

<!--            <div class="col-sm-3">-->
<!--                <div class="ibox">-->
<!--                    <div class="ibox-content">-->
<!--                        <h5>红名单</h5>-->
<!--                        <h2 id="total_red"></h2>-->
<!--                    </div>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="col-sm-3">-->
<!--                <div class="ibox">-->
<!--                    <div class="ibox-content">-->
<!--                        <h5>黑名单</h5>-->
<!--                        <h2 id="total_black"></h2>-->
<!--                    </div>-->
<!--                </div>-->
<!--            </div>-->
        </div>

        <div class="row">
            <div class="col-sm-12">
                <div class="ibox-title">
                    本月本部门累计上报
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-3">
                <div class="ibox" style="margin-bottom: 0px;">
                    <div class="ibox-content">
                        <h5>双公示</h5>
                        <h2 id="month_publicity"></h2>
                    </div>
                </div>
            </div>

            <div class="col-sm-3">
                <div class="ibox" style="margin-bottom: 0px;">
                    <div class="ibox-content">
                        <h5>信用承诺</h5>
                        <h2 id="month_commit"></h2>
                    </div>
                </div>
            </div>
        </div>

<!--            <div class="col-sm-3">-->
<!--                <div class="ibox">-->
<!--                    <div class="ibox-content">-->
<!--                        <h5>红名单</h5>-->
<!--                        <h2 id="month_red"></h2>-->
<!--                    </div>-->
<!--                </div>-->
<!--            </div>-->
<!--            <div class="col-sm-3">-->
<!--                <div class="ibox">-->
<!--                    <div class="ibox-content">-->
<!--                        <h5>黑名单</h5>-->
<!--                        <h2 id="month_black"></h2>-->
<!--                    </div>-->
<!--                </div>-->
<!--            </div>-->
        </div>



        <div class="row">
            <div class="col-sm-12">
                <div class="ibox-title">
                    本部门累计统计
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-4">
                <div class="ibox">
                    <div class="ibox-content">
                        <h5>本月本部门双公示迟报量</h5>
                        <h2 id="month_publicity_late"></h2>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "business/credit/work";

        $(function() {

            $.ajax({
                cache : true,
                type : "GET",
                url : prefix + "/dept/data",
                async : false,
                error : function(request) {
                },
                success : function(data) {
                    if (data.code == 0) {
                        var result = data.data;
                        $("#total_publicity").html(result.publicityTotal);
                        $("#total_admin").html(result.adminTotal);
                        $("#total_monitor").html(result.monitorTotal);
                        $("#total_commit").html(result.commitTotal);

                        $("#total_integrity").html(result.integrityTotal);
                        $("#total_city").html(result.cityTotal);
                        $("#total_red").html(result.redTotal);
                        $("#total_black").html(result.blackTotal);



                        $("#month_publicity").html(result.publicityMonth);
                        $("#month_admin").html(result.adminMonth);
                        $("#month_monitor").html(result.monitorMonth);
                        $("#month_commit").html(result.commitMonth);

                        $("#month_integrity").html(result.integrityMonth);
                        $("#month_city").html(result.cityMonth);
                        $("#month_red").html(result.redMonth);
                        $("#month_black").html(result.blackMonth);



                        $("#total_apply").html(result.applyTotal);
                        $("#total_audit").html(result.auditTotal);
                        $("#month_publicity_late").html(result.publicityLateMonth);
                    }
                }
            });

        });
    </script>
</body>
</html>